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.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64) |
|---|---|
| 195 | at org.gradle.internal.concurrent.AbstractManagedExecutor$1.run(AbstractManagedExecutor.java:48) |
| 196 | Caused by: com.android.aaptcompiler.ResourceCompilationException: Resource compilation failed (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. Cause: java.lang.IllegalStateException: Can not extract resource from com.android.aaptcompiler.ParsedResource@362f3ecb.,Can not extract resource from com.android.aaptcompiler.ParsedResource@2b16bec4.,Can not extract resource from com.android.aaptcompiler.ParsedResource@28500d72.,Can not extract resource from com.android.aaptcompiler.ParsedResource@1f4328b4.,Can not extract resource from com.android.aaptcompiler.ParsedResource@50d584f1.,Can not extract resource from com.android.aaptcompiler.ParsedResource@4eabe0b1.,Can not extract resource from com.android.aaptcompiler.ParsedResource@66b84f8b.,Can not extract resource from com.android.aaptcompiler.ParsedResource@6038cd60.). Check logs for more details. |
| 197 | at com.android.aaptcompiler.ResourceCompiler.compileResource(ResourceCompiler.kt:129) |
| 198 | at com.android.build.gradle.internal.res.ResourceCompilerRunnable$Companion.compileSingleResource(ResourceCompilerRunnable.kt:34) |
| 199 | at com.android.build.gradle.internal.res.ResourceCompilerRunnable.run(ResourceCompilerRunnable.kt:15) |
| 200 | at com.android.build.gradle.internal.profile.ProfileAwareWorkAction.execute(ProfileAwareWorkAction.kt:74) |
| 201 | at org.gradle.workers.internal.DefaultWorkerServer.execute(DefaultWorkerServer.java:63) |
| 202 | at org.gradle.workers.internal.NoIsolationWorkerFactory$1$1.create(NoIsolationWorkerFactory.java:66) |
| 203 | at org.gradle.workers.internal.NoIsolationWorkerFactory$1$1.create(NoIsolationWorkerFactory.java:62) |
| 204 | at org.gradle.internal.classloader.ClassLoaderUtils.executeInClassloader(ClassLoaderUtils.java:100) |
| 205 | at org.gradle.workers.internal.NoIsolationWorkerFactory$1.lambda$execute$0(NoIsolationWorkerFactory.java:62) |
| 206 | at org.gradle.workers.internal.AbstractWorker$1.call(AbstractWorker.java:44) |
| 207 | at org.gradle.workers.internal.AbstractWorker$1.call(AbstractWorker.java:41) |
| 208 | at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:210) |
| 209 | at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:205) |
| 210 | at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:67) |
| 211 | at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:60) |
| 212 | at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:167) |
| 213 | at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:60) |
| 214 | at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:54) |
| 215 | at org.gradle.workers.internal.AbstractWorker.executeWrappedInBuildOperation(AbstractWorker.java:41) |
| 216 | at org.gradle.workers.internal.NoIsolationWorkerFactory$1.execute(NoIsolationWorkerFactory.java:59) |
| 217 | at org.gradle.workers.internal.DefaultWorkerExecutor.lambda$submitWork$0(DefaultWorkerExecutor.java:174) |
| 218 | at org.gradle.internal.work.DefaultConditionalExecutionQueue$ExecutionRunner.runExecution(DefaultConditionalExecutionQueue.java:194) |
| 219 | at org.gradle.internal.work.DefaultConditionalExecutionQueue$ExecutionRunner.access$700(DefaultConditionalExecutionQueue.java:127) |
| 220 | at org.gradle.internal.work.DefaultConditionalExecutionQueue$ExecutionRunner$1.run(DefaultConditionalExecutionQueue.java:169) |
| 221 | at org.gradle.internal.Factories$1.create(Factories.java:31) |
| 222 | at org.gradle.internal.work.DefaultWorkerLeaseService.withLocks(DefaultWorkerLeaseService.java:263) |
| 223 | at org.gradle.internal.work.DefaultWorkerLeaseService.runAsWorkerThread(DefaultWorkerLeaseService.java:127) |
| 224 | at org.gradle.internal.work.DefaultWorkerLeaseService.runAsWorkerThread(DefaultWorkerLeaseService.java:132) |
| 225 | at org.gradle.internal.work.DefaultConditionalExecutionQueue$ExecutionRunner.runBatch(DefaultConditionalExecutionQueue.java:164) |
| 226 | at org.gradle.internal.work.DefaultConditionalExecutionQueue$ExecutionRunner.run(DefaultConditionalExecutionQueue.java:133) |
| 227 | ... 2 more |
| 228 | 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 |
| 229 | at com.android.aaptcompiler.ResourceCompiler.compileTable(ResourceCompiler.kt:192) |
| 230 | at com.android.aaptcompiler.ResourceCompiler.access$compileTable(ResourceCompiler.kt:1) |
| 231 | at com.android.aaptcompiler.ResourceCompiler$getCompileMethod$1.invoke(ResourceCompiler.kt:138) |
| 232 | at com.android.aaptcompiler.ResourceCompiler$getCompileMethod$1.invoke(ResourceCompiler.kt:138) |
| 233 | at com.android.aaptcompiler.ResourceCompiler.compileResource(ResourceCompiler.kt:123) |
| 234 | ... 31 more |
| 235 | Caused by: java.lang.IllegalStateException: Can not extract resource from com.android.aaptcompiler.ParsedResource@362f3ecb.,Can not extract resource from com.android.aaptcompiler.ParsedResource@2b16bec4.,Can not extract resource from com.android.aaptcompiler.ParsedResource@28500d72.,Can not extract resource from com.android.aaptcompiler.ParsedResource@1f4328b4.,Can not extract resource from com.android.aaptcompiler.ParsedResource@50d584f1.,Can not extract resource from com.android.aaptcompiler.ParsedResource@4eabe0b1.,Can not extract resource from com.android.aaptcompiler.ParsedResource@66b84f8b.,Can not extract resource from com.android.aaptcompiler.ParsedResource@6038cd60. |
| 236 | at com.android.aaptcompiler.TableExtractor.extractResourceValues(TableExtractor.kt:270) |
| 237 | at com.android.aaptcompiler.TableExtractor.extract(TableExtractor.kt:181) |
| 238 | at com.android.aaptcompiler.ResourceCompiler.compileTable(ResourceCompiler.kt:188) |
| 239 | ... 35 more |
| 240 | |
| 241 | |
| 242 | BUILD FAILED in 28s |
| 243 |
| 1 | Running /home/phabricator-android-builder/versions/8.13/bin/gradle -Dorg.gradle.jvmargs=-Xmx2g --stacktrace assembleGitpull |
|---|---|
| 2 | Starting a Gradle Daemon, 2 incompatible Daemons could not be reused, use --status for details |
| 3 | > Task :app:preBuild UP-TO-DATE |
| 4 | > Task :app:preGitpullBuild UP-TO-DATE |
| 5 | > Task :app:mergeGitpullJniLibFolders |
| 6 | > Task :app:mergeGitpullNativeLibs |
| 7 | > Task :app:checkGitpullDuplicateClasses |
| 8 | > Task :app:buildKotlinToolingMetadata |
| 9 | > Task :app:checkKotlinGradlePluginConfigurationErrors SKIPPED |
| 10 | > Task :app:generateGitpullBuildConfig |
| 11 | > Task :app:protobufDummy UP-TO-DATE |
| 12 | > Task :app:extractGitpullProto |
| 13 | |
| 14 | > Task :app:stripGitpullDebugSymbols |
| 15 | Unable to strip the following libraries, packaging them as they are: libmaplibre.so. Run with --info option to learn more. |
| 16 | |
| 17 | > Task :app:extractIncludeGitpullProto |
| 18 | > Task :app:extractProto |
| 19 | > Task :app:extractGitpullNativeSymbolTables |
| 20 | > Task :app:generateGitpullProto |
| 21 | > Task :app:mergeGitpullNativeDebugMetadata NO-SOURCE |
| 22 | > Task :app:generateGitpullResValues |
| 23 | > Task :app:checkGitpullAarMetadata |
| 24 | > Task :app:mapGitpullSourceSetPaths |
| 25 | > Task :app:extractGitpullSupportedLocales |
| 26 | > Task :app:generateGitpullLocaleConfig |
| 27 | > Task :app:generateGitpullResources |
| 28 | > Task :app:createGitpullCompatibleScreenManifests |
| 29 | > Task :app:extractDeepLinksGitpull |
| 30 | |
| 31 | > Task :app:mergeGitpullResources |
| 32 | |
| 33 | > Task :app:processGitpullMainManifest |
| 34 | /var/drydock/workingcopy-112/repo/libre-busto/app/src/gitpull/AndroidManifest.xml Warning: |
| 35 | service#info.mqtt.android.service.MqttService was tagged at AndroidManifest.xml:0 to replace another declaration but no other declaration present |
| 36 | /var/drydock/workingcopy-112/repo/libre-busto/app/src/gitpull/AndroidManifest.xml Warning: |
| 37 | provider#org.acra.attachment.AcraContentProvider@android:authorities was tagged at AndroidManifest.xml:0 to replace other declarations but no other declaration present |
| 38 | |
| 39 | > Task :app:mergeGitpullResources FAILED |
| 40 | > Task :app:processGitpullManifest |
| 41 | |
| 42 | [Incubating] Problems report is available at: file:///var/drydock/workingcopy-112/repo/libre-busto/build/reports/problems/problems-report.html |
| 43 | |
| 44 | Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0. |
| 45 | |
| 46 | You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins. |
| 47 | |
| 48 | For more on this, please refer to https://docs.gradle.org/8.13/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation. |
| 49 | 22 actionable tasks: 22 executed |
| 50 |
| Passed |
Clean Gradle directory to avoid nasty errors like:
| 1 | Found 8.13 via distributionUrl |
|---|---|
| 2 | Running /home/phabricator-android-builder/versions/8.13/bin/gradle clean |
| 3 | Starting a Gradle Daemon (subsequent builds will be faster) |
| 4 | > Task :app:clean |
| 5 | |
| 6 | [Incubating] Problems report is available at: file:///var/drydock/workingcopy-112/repo/libre-busto/build/reports/problems/problems-report.html |
| 7 | |
| 8 | Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0. |
| 9 | |
| 10 | You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins. |
| 11 | |
| 12 | For more on this, please refer to https://docs.gradle.org/8.13/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation. |
| 13 | |
| 14 | BUILD SUCCESSFUL in 15s |
| 15 | 1 actionable task: 1 executed |
| 16 |
| Passed |
| Passed |