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
| 194 | at org.gradle.internal.Factories$1.create(Factories.java:31) |
|---|---|
| 195 | at org.gradle.internal.work.DefaultWorkerLeaseService.withLocks(DefaultWorkerLeaseService.java:249) |
| 196 | at org.gradle.internal.work.DefaultWorkerLeaseService.runAsWorkerThread(DefaultWorkerLeaseService.java:109) |
| 197 | at org.gradle.internal.work.DefaultWorkerLeaseService.runAsWorkerThread(DefaultWorkerLeaseService.java:114) |
| 198 | at org.gradle.internal.work.DefaultConditionalExecutionQueue$ExecutionRunner.runBatch(DefaultConditionalExecutionQueue.java:157) |
| 199 | at org.gradle.internal.work.DefaultConditionalExecutionQueue$ExecutionRunner.run(DefaultConditionalExecutionQueue.java:126) |
| 200 | ... 2 more |
| 201 | Caused by: com.android.aaptcompiler.ResourceCompilationException: Failed to compile values resource file /var/drydock/workingcopy-112/repo/libre-busto/app/build/intermediates/incremental/gitpull/mergeGitpullResources/merged.dir/values-fr/values-fr.xml |
| 202 | at com.android.aaptcompiler.ResourceCompiler.compileTable(ResourceCompiler.kt:192) |
| 203 | at com.android.aaptcompiler.ResourceCompiler.access$compileTable(ResourceCompiler.kt:1) |
| 204 | at com.android.aaptcompiler.ResourceCompiler$getCompileMethod$1.invoke(ResourceCompiler.kt:138) |
| 205 | at com.android.aaptcompiler.ResourceCompiler$getCompileMethod$1.invoke(ResourceCompiler.kt:138) |
| 206 | at com.android.aaptcompiler.ResourceCompiler.compileResource(ResourceCompiler.kt:123) |
| 207 | ... 32 more |
| 208 | Caused by: java.lang.IllegalStateException: Can not extract resource from com.android.aaptcompiler.ParsedResource@14997a04. |
| 209 | at com.android.aaptcompiler.TableExtractor.extractResourceValues(TableExtractor.kt:270) |
| 210 | at com.android.aaptcompiler.TableExtractor.extract(TableExtractor.kt:181) |
| 211 | at com.android.aaptcompiler.ResourceCompiler.compileTable(ResourceCompiler.kt:188) |
| 212 | ... 36 more |
| 213 | |
| 214 | |
| 215 | * Get more help at https://help.gradle.org |
| 216 | |
| 217 | BUILD FAILED in 5s |
| 218 |
| 3 | > Task :app:preBuild UP-TO-DATE |
|---|---|
| 4 | > Task :app:preGitpullBuild UP-TO-DATE |
| 5 | > Task :app:generateGitpullBuildConfig |
| 6 | > Task :app:generateGitpullResValues |
| 7 | > Task :app:checkGitpullAarMetadata |
| 8 | > Task :app:mapGitpullSourceSetPaths |
| 9 | > Task :app:generateGitpullResources |
| 10 | > Task :app:createGitpullCompatibleScreenManifests |
| 11 | > Task :app:extractDeepLinksGitpull |
| 12 | |
| 13 | > Task :app:mergeGitpullResources |
| 14 | |
| 15 | > Task :app:processGitpullMainManifest |
| 16 | /var/drydock/workingcopy-112/repo/libre-busto/app/src/gitpull/AndroidManifest.xml Warning: |
| 17 | provider#org.acra.attachment.AcraContentProvider@android:authorities was tagged at AndroidManifest.xml:0 to replace other declarations but no other declaration present |
| 18 | |
| 19 | > Task :app:processGitpullManifest |
| 20 | > Task :app:extractProguardFiles |
| 21 | > Task :app:javaPreCompileGitpull |
| 22 | > Task :app:mergeGitpullJniLibFolders |
| 23 | > Task :app:mergeGitpullResources FAILED |
| 24 | > Task :app:mergeGitpullNativeLibs NO-SOURCE |
| 25 | > Task :app:processGitpullManifestForPackage |
| 26 | 14 actionable tasks: 14 executed |
| 27 |
| Passed |
Clean Gradle directory to avoid nasty errors like:
| 1 | Found 8.1 via distributionUrl |
|---|---|
| 2 | Running /home/phabricator-android-builder/versions/8.1/bin/gradle clean |
| 3 | > Task :app:clean |
| 4 | |
| 5 | BUILD SUCCESSFUL in 1s |
| 6 | 1 actionable task: 1 executed |
| 7 |
| Passed |
| Passed |