This step will build an .apk using Gradle.
sudo apt install openjdk-11-jre-headless
Then aliased this gradle:
https://gitlab.com/fdroid/fdroidserver/-/blob/master/gradlew-fdroid
Failed |
This step will build an .apk using Gradle.
sudo apt install openjdk-11-jre-headless
Then aliased this gradle:
https://gitlab.com/fdroid/fdroidserver/-/blob/master/gradlew-fdroid
230 | at com.android.build.gradle.internal.tasks.DexMergingTaskRunnable.run(DexMergingTask.kt:432) |
---|---|
231 | ... 25 more |
232 | Caused by: com.android.tools.r8.CompilationFailedException: Compilation failed to complete, position: null |
233 | at Version.fakeStackEntry(Version_2.1.86.java:0) |
234 | at com.android.tools.r8.utils.Y.a(SourceFile:78) |
235 | at com.android.tools.r8.D8.run(D8.java:11) |
236 | at com.android.builder.dexing.D8DexArchiveMerger.mergeDexArchives(D8DexArchiveMerger.java:117) |
237 | ... 27 more |
238 | Caused by: com.android.tools.r8.utils.b: Cannot fit requested classes in a single dex file (# methods: 80905 > 65536) |
239 | at com.android.tools.r8.utils.T0.error(SourceFile:1) |
240 | at com.android.tools.r8.utils.T0.a(SourceFile:2) |
241 | at com.android.tools.r8.dex.P.a(SourceFile:746) |
242 | at com.android.tools.r8.dex.P$h.a(SourceFile:7) |
243 | at com.android.tools.r8.dex.b.a(SourceFile:14) |
244 | at com.android.tools.r8.dex.b.b(SourceFile:25) |
245 | at com.android.tools.r8.D8.d(D8.java:133) |
246 | at com.android.tools.r8.D8.b(D8.java:1) |
247 | at com.android.tools.r8.utils.Y.a(SourceFile:36) |
248 | ... 29 more |
249 | |
250 | |
251 | * Get more help at https://help.gradle.org |
252 | |
253 | BUILD FAILED in 38s |
254 |
19 | > Task :compileDebugKotlin UP-TO-DATE |
---|---|
20 | > Task :javaPreCompileDebug UP-TO-DATE |
21 | > Task :compileDebugJavaWithJavac UP-TO-DATE |
22 | > Task :compileDebugSources UP-TO-DATE |
23 | > Task :mergeDebugNativeDebugMetadata NO-SOURCE |
24 | > Task :mergeDebugShaders |
25 | > Task :compileDebugShaders NO-SOURCE |
26 | > Task :generateDebugAssets UP-TO-DATE |
27 | > Task :mergeDebugAssets |
28 | > Task :processDebugJavaRes |
29 | > Task :compressDebugAssets |
30 | > Task :checkDebugDuplicateClasses |
31 | > Task :mergeDebugJavaResource |
32 | Daemon will be stopped at the end of the build after running out of JVM memory |
33 | > Task :dexBuilderDebug |
34 | > Task :desugarDebugFileDependencies |
35 | > Task :mergeDebugJniLibFolders |
36 | > Task :validateSigningDebug |
37 | > Task :mergeDebugNativeLibs |
38 | > Task :stripDebugDebugSymbols NO-SOURCE |
39 | > Task :mergeExtDexDebug |
40 | |
41 | > Task :mergeDexDebug FAILED |
42 | 29 actionable tasks: 13 executed, 16 up-to-date |
43 |
Passed |
1 | Note: Some input files use or override a deprecated API. |
---|---|
2 | Note: Recompile with -Xlint:deprecation for details. |
3 | Note: Some input files use or override a deprecated API. |
4 | Note: Recompile with -Xlint:deprecation for details. |
5 |
37 | |
---|---|
38 | > Task :processReleaseManifest |
39 | > Task :javaPreCompileRelease |
40 | > Task :processReleaseManifestForPackage |
41 | > Task :processReleaseResources |
42 | > Task :kaptGenerateStubsReleaseKotlin |
43 | > Task :kaptDebugKotlin |
44 | > Task :kaptReleaseKotlin |
45 | > Task :compileDebugKotlin |
46 | |
47 | > Task :compileDebugJavaWithJavac |
48 | |
49 | > Task :compileReleaseKotlin |
50 | |
51 | > Task :compileReleaseJavaWithJavac |
52 | |
53 | > Task :lint |
54 | Ran lint on variant debug: 146 issues found |
55 | Ran lint on variant release: 145 issues found |
56 | Wrote HTML report to file:///var/drydock/workingcopy-112/repo/libre-busto/build/reports/lint-results.html |
57 | Wrote XML report to file:///var/drydock/workingcopy-112/repo/libre-busto/build/reports/lint-results.xml |
58 | |
59 | BUILD SUCCESSFUL in 1m 38s |
60 | 33 actionable tasks: 33 executed |
61 |
Passed |
Clean Gradle directory to avoid nasty errors like:
1 | Found 6.5 via distributionUrl |
---|---|
2 | Running /home/phabricator-android-builder/versions/6.5/bin/gradle clean |
3 | Starting a Gradle Daemon (subsequent builds will be faster) |
4 | > Task :clean |
5 | |
6 | BUILD SUCCESSFUL in 15s |
7 | 1 actionable task: 1 executed |
8 |
Passed |
Passed |