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
| 251 | at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:73) |
|---|---|
| 252 | at org.gradle.workers.internal.AbstractWorker.executeWrappedInBuildOperation(AbstractWorker.java:41) |
| 253 | at org.gradle.workers.internal.NoIsolationWorkerFactory$1.execute(NoIsolationWorkerFactory.java:59) |
| 254 | at org.gradle.workers.internal.DefaultWorkerExecutor.lambda$submitWork$0(DefaultWorkerExecutor.java:174) |
| 255 | at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) |
| 256 | at org.gradle.internal.work.DefaultConditionalExecutionQueue$ExecutionRunner.runExecution(DefaultConditionalExecutionQueue.java:187) |
| 257 | at org.gradle.internal.work.DefaultConditionalExecutionQueue$ExecutionRunner.access$700(DefaultConditionalExecutionQueue.java:120) |
| 258 | at org.gradle.internal.work.DefaultConditionalExecutionQueue$ExecutionRunner$1.run(DefaultConditionalExecutionQueue.java:162) |
| 259 | at org.gradle.internal.Factories$1.create(Factories.java:31) |
| 260 | at org.gradle.internal.work.DefaultWorkerLeaseService.withLocks(DefaultWorkerLeaseService.java:264) |
| 261 | at org.gradle.internal.work.DefaultWorkerLeaseService.runAsWorkerThread(DefaultWorkerLeaseService.java:128) |
| 262 | at org.gradle.internal.work.DefaultWorkerLeaseService.runAsWorkerThread(DefaultWorkerLeaseService.java:133) |
| 263 | at org.gradle.internal.work.DefaultConditionalExecutionQueue$ExecutionRunner.runBatch(DefaultConditionalExecutionQueue.java:157) |
| 264 | at org.gradle.internal.work.DefaultConditionalExecutionQueue$ExecutionRunner.run(DefaultConditionalExecutionQueue.java:126) |
| 265 | at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) |
| 266 | at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) |
| 267 | at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64) |
| 268 | at org.gradle.internal.concurrent.AbstractManagedExecutor$1.run(AbstractManagedExecutor.java:47) |
| 269 | at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) |
| 270 | at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) |
| 271 | at java.base/java.lang.Thread.run(Thread.java:833) |
| 272 | |
| 273 | |
| 274 | BUILD FAILED in 28s |
| 275 |
| 35 | > Task :app:checkGitpullDuplicateClasses |
|---|---|
| 36 | |
| 37 | > Task :app:stripGitpullDebugSymbols |
| 38 | Unable to strip the following libraries, packaging them as they are: libmaplibre.so. |
| 39 | |
| 40 | > Task :app:desugarGitpullFileDependencies |
| 41 | > Task :app:mergeGitpullStartupProfile UP-TO-DATE |
| 42 | > Task :app:extractGitpullNativeSymbolTables |
| 43 | > Task :app:mergeGitpullNativeDebugMetadata NO-SOURCE |
| 44 | > Task :app:mergeGitpullArtProfile |
| 45 | > Task :app:mergeGitpullShaders |
| 46 | > Task :app:compileGitpullShaders NO-SOURCE |
| 47 | > Task :app:generateGitpullAssets UP-TO-DATE |
| 48 | > Task :app:mergeGitpullAssets |
| 49 | > Task :app:compressGitpullAssets |
| 50 | > Task :app:extractGitpullVersionControlInfo |
| 51 | > Task :app:collectGitpullDependencies |
| 52 | > Task :app:sdkGitpullDependencyData |
| 53 | > Task :app:writeGitpullAppMetadata |
| 54 | > Task :app:writeGitpullSigningConfigVersions |
| 55 | > Task :app:processGitpullManifestForPackage |
| 56 | > Task :app:processGitpullResources FAILED |
| 57 | > Task :app:mergeExtDexGitpull |
| 58 | 34 actionable tasks: 33 executed, 1 up-to-date |
| 59 |
| Passed |
Clean Gradle directory to avoid nasty errors like:
| 1 | Found 8.7 via distributionUrl |
|---|---|
| 2 | Running /home/phabricator-android-builder/versions/8.7/bin/gradle clean |
| 3 | Starting a Gradle Daemon, 1 incompatible Daemon could not be reused, use --status for details |
| 4 | |
| 5 | > Configure project :app |
| 6 | WARNING: The option setting 'android.defaults.buildfeatures.buildconfig=true' is deprecated. |
| 7 | The current default is 'false'. |
| 8 | It will be removed in version 9.0 of the Android Gradle plugin. |
| 9 | To keep using this feature, add the following to your module-level build.gradle files: |
| 10 | android.buildFeatures.buildConfig = true |
| 11 | or from Android Studio, click: `Refactor` > `Migrate BuildConfig to Gradle Build Files`. |
| 12 | |
| 13 | > Task :app:clean |
| 14 | |
| 15 | BUILD SUCCESSFUL in 24s |
| 16 | 1 actionable task: 1 executed |
| 17 |
| Passed |
| Passed |