Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Execution failed for task ':adjust_sdk:compileReleaseJavaWithJavac' #153

Open
toshiossada opened this issue Dec 19, 2024 · 0 comments
Open

Comments

@toshiossada
Copy link

When I try to build for android I got this error

2024-12-19T03:19:01.5679650Z ==============================================================================
2024-12-19T03:19:01.5680020Z Task         : Flutter Command Task
2024-12-19T03:19:01.5680300Z Description  : Launch a custom Flutter command with custom arguments.
2024-12-19T03:19:01.5681040Z Version      : 0.4.1
2024-12-19T03:19:01.5681500Z Author       : Hey24sheep
2024-12-19T03:19:01.5682130Z Help         : Don't forget to insert a 'Flutter Install' task before. [More Information](https://github.com/hey24sheep/azure-flutter-tasks)
2024-12-19T03:19:01.5682860Z ==============================================================================
2024-12-19T03:19:01.9624100Z [command]/Users/runner/hostedtoolcache/Flutter/3.24.5/macos/flutter/bin/flutter build apk ./lib/main/prod_main.dart --flavor prod --release --dart-define DEBUG_MODE=true --no-tree-shake-icons
2024-12-19T03:19:06.6276230Z 
2024-12-19T03:26:34.2475040Z Running Gradle task 'assembleProdRelease'...                    
2024-12-19T03:26:34.2477460Z Checking the license for package Android SDK Platform 30 in /Users/runner/Library/Android/sdk/licenses
2024-12-19T03:26:34.2485760Z License for package Android SDK Platform 30 accepted.
2024-12-19T03:26:34.2486320Z Preparing "Install Android SDK Platform 30 (revision 3)".
2024-12-19T03:26:41.2410150Z "Install Android SDK Platform 30 (revision 3)" ready.
2024-12-19T03:26:41.2419210Z Installing Android SDK Platform 30 in /Users/runner/Library/Android/sdk/platforms/***-30
2024-12-19T03:26:41.2421720Z "Install Android SDK Platform 30 (revision 3)" complete.
2024-12-19T03:26:41.5875180Z "Install Android SDK Platform 30 (revision 3)" finished.
2024-12-19T03:26:45.3479800Z "en": 315 untranslated message(s).
2024-12-19T03:26:45.3492090Z To see a detailed report, use the untranslated-messages-file 
2024-12-19T03:26:45.3503450Z option in the l10n.yaml file:
2024-12-19T03:26:45.3504990Z untranslated-messages-file: desiredFileName.txt
2024-12-19T03:26:45.3514530Z <other option>: <other selection> 
2024-12-19T03:26:45.3520530Z 
2024-12-19T03:26:45.3521640Z 
2024-12-19T03:26:45.3523400Z This will generate a JSON format file containing all messages that 
2024-12-19T03:26:45.3524260Z need to be translated.
2024-12-19T03:31:30.8647850Z 
2024-12-19T03:31:30.8659750Z FAILURE: Build failed with an exception.
2024-12-19T03:31:30.8660140Z 
2024-12-19T03:31:30.8660700Z * What went wrong:
2024-12-19T03:31:30.8661500Z Execution failed for task ':adjust_sdk:compileReleaseJavaWithJavac'.
2024-12-19T03:31:30.8662700Z > Could not resolve all files for configuration ':adjust_sdk:releaseCompileClasspath'.
2024-12-19T03:31:30.8664480Z    > Could not resolve ***x.fragment:fragment:1.7.1.
2024-12-19T03:31:30.8665150Z      Required by:
2024-12-19T03:31:30.8665850Z          project :adjust_sdk > io.flutter:flutter_embedding_release:1.0.0-a18df97ca57a249df5d8d68cd0820600223ce262
2024-12-19T03:31:30.8666550Z       > Could not resolve ***x.fragment:fragment:1.7.1.
2024-12-19T03:31:30.8667130Z          > Could not get resource 'https://jitpack.io/***x/fragment/fragment/1.7.1/fragment-1.7.1.pom'.
2024-12-19T03:31:30.8667910Z             > Could not GET 'https://jitpack.io/***x/fragment/fragment/1.7.1/fragment-1.7.1.pom'. Received status code 522 from server: 
2024-12-19T03:31:30.8668230Z 
2024-12-19T03:31:30.8668570Z * Try:
2024-12-19T03:31:30.8669100Z > Run with --stacktrace option to get the stack trace.
2024-12-19T03:31:30.8669620Z > Run with --info or --debug option to get more log output.
2024-12-19T03:31:30.8670280Z > Run with --scan to get full insights.
2024-12-19T03:31:30.8670780Z > Get more help at https://help.gradle.org.
2024-12-19T03:31:30.8670940Z 
2024-12-19T03:31:30.8671320Z BUILD FAILED in 12m 23s
2024-12-19T03:31:33.0224140Z Running Gradle task 'assembleProdRelease'...                      746.2s
2024-12-19T03:31:33.0286550Z [!] Gradle threw an error while downloading artifacts from the network.
2024-12-19T03:31:33.0307050Z Retrying Gradle Build: #1, wait time: 100ms
2024-12-19T03:34:17.3916220Z Running Gradle task 'assembleProdRelease'...                    
2024-12-19T03:34:17.3974390Z 
2024-12-19T03:34:17.3980250Z FAILURE: Build failed with an exception.
2024-12-19T03:34:17.3995470Z 
2024-12-19T03:34:17.4009450Z * What went wrong:
2024-12-19T03:34:17.4115110Z Execution failed for task ':adjust_sdk:compileReleaseJavaWithJavac'.
2024-12-19T03:34:17.4118270Z > Could not resolve all files for configuration ':adjust_sdk:releaseCompileClasspath'.
2024-12-19T03:34:17.4132120Z    > Could not resolve ***x.fragment:fragment:1.7.1.
2024-12-19T03:34:17.4142190Z      Required by:
2024-12-19T03:34:17.4151640Z          project :adjust_sdk > io.flutter:flutter_embedding_release:1.0.0-a18df97ca57a249df5d8d68cd0820600223ce262
2024-12-19T03:34:17.4153670Z       > Could not resolve ***x.fragment:fragment:1.7.1.
2024-12-19T03:34:17.4169290Z          > Could not get resource 'https://jitpack.io/***x/fragment/fragment/1.7.1/fragment-1.7.1.pom'.
2024-12-19T03:34:17.4178470Z             > Could not GET 'https://jitpack.io/***x/fragment/fragment/1.7.1/fragment-1.7.1.pom'. Received status code 522 from server: 
2024-12-19T03:34:17.4193970Z 
2024-12-19T03:34:17.4195900Z * Try:
2024-12-19T03:34:17.4203160Z > Run with --stacktrace option to get the stack trace.
2024-12-19T03:34:17.4212260Z > Run with --info or --debug option to get more log output.
2024-12-19T03:34:17.4222540Z > Run with --scan to get full insights.
2024-12-19T03:34:17.4224960Z > Get more help at https://help.gradle.org.
2024-12-19T03:34:17.4233550Z 
2024-12-19T03:34:17.4238430Z BUILD FAILED in 2m 44s
2024-12-19T03:34:18.9909390Z Running Gradle task 'assembleProdRelease'...                      165.8s
2024-12-19T03:34:18.9938160Z [!] Gradle threw an error while downloading artifacts from the network.
2024-12-19T03:34:19.0167910Z Gradle task assembleProdRelease failed with exit code 1
2024-12-19T03:34:19.1331690Z 
2024-12-19T03:34:19.2692840Z ##[error]Error: The process '/Users/runner/hostedtoolcache/Flutter/3.24.5/macos/flutter/bin/flutter' failed with exit code 1
2024-12-19T03:34:19.2889500Z ##[section]Finishing: Run flutter prod APK build```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant