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
197 | at org.gradle.internal.Factories$1.create(Factories.java:31) |
---|---|
198 | at org.gradle.internal.work.DefaultWorkerLeaseService.withLocks(DefaultWorkerLeaseService.java:249) |
199 | at org.gradle.internal.work.DefaultWorkerLeaseService.runAsWorkerThread(DefaultWorkerLeaseService.java:109) |
200 | at org.gradle.internal.work.DefaultWorkerLeaseService.runAsWorkerThread(DefaultWorkerLeaseService.java:114) |
201 | at org.gradle.internal.work.DefaultConditionalExecutionQueue$ExecutionRunner.runBatch(DefaultConditionalExecutionQueue.java:157) |
202 | at org.gradle.internal.work.DefaultConditionalExecutionQueue$ExecutionRunner.run(DefaultConditionalExecutionQueue.java:126) |
203 | ... 2 more |
204 | Caused by: com.android.aaptcompiler.ResourceCompilationException: Failed to compile values resource file /var/drydock/workingcopy-79/repo/libre-busto/app/build/intermediates/incremental/gitpull/mergeGitpullResources/merged.dir/values-fr/values-fr.xml |
205 | at com.android.aaptcompiler.ResourceCompiler.compileTable(ResourceCompiler.kt:192) |
206 | at com.android.aaptcompiler.ResourceCompiler.access$compileTable(ResourceCompiler.kt:1) |
207 | at com.android.aaptcompiler.ResourceCompiler$getCompileMethod$1.invoke(ResourceCompiler.kt:138) |
208 | at com.android.aaptcompiler.ResourceCompiler$getCompileMethod$1.invoke(ResourceCompiler.kt:138) |
209 | at com.android.aaptcompiler.ResourceCompiler.compileResource(ResourceCompiler.kt:123) |
210 | ... 32 more |
211 | Caused by: java.lang.IllegalStateException: Can not extract resource from com.android.aaptcompiler.ParsedResource@7f773764.,Can not extract resource from com.android.aaptcompiler.ParsedResource@7b48ac52. |
212 | at com.android.aaptcompiler.TableExtractor.extractResourceValues(TableExtractor.kt:270) |
213 | at com.android.aaptcompiler.TableExtractor.extract(TableExtractor.kt:181) |
214 | at com.android.aaptcompiler.ResourceCompiler.compileTable(ResourceCompiler.kt:188) |
215 | ... 36 more |
216 | |
217 | |
218 | * Get more help at https://help.gradle.org |
219 | |
220 | BUILD FAILED in 5s |
221 |
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-79/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 2s |
6 | 1 actionable task: 1 executed |
7 |
Passed |
Passed |