overhangio / tutor-android

Building an Android application for your Open edX platform
GNU Affero General Public License v3.0
7 stars 10 forks source link

Execution failed for task ':OpenEdXMobile:processProdDebuggableResources'. #12

Closed sagarpatkeatl closed 3 months ago

sagarpatkeatl commented 6 months ago

The setup:

Error log:

> Task :OpenEdXMobile:compileProdDebuggableShaders NO-SOURCE
> Task :OpenEdXMobile:generateProdDebuggableAssets UP-TO-DATE
> Task :OpenEdXMobile:mergeProdDebuggableAssets
> Task :OpenEdXMobile:compressProdDebuggableAssets
> Task :OpenEdXMobile:processProdDebuggableResources FAILED
> Task :OpenEdXMobile:checkProdDebuggableDuplicateClasses

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':OpenEdXMobile:processProdDebuggableResources'.
> A failure occurred while executing com.android.build.gradle.internal.res.LinkApplicationAndroidResourcesTask$TaskAction
   > Android resource linking failed
     ERROR:/app/edx-app-android/OpenEdXMobile/build/intermediates/packaged_manifests/prodDebuggable/AndroidManifest.xml:2: AAPT: error: attribute 'package' in <manifest> tag is not a valid Android package name: 'io.nip.34_121_58_60'.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/7.2/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 1m 55s
27 actionable tasks: 23 executed, 4 up-to-date
The command '/bin/sh -c ./gradlew assembleProdDebuggable' returned a non-zero code: 1
Error: Command failed with status 1: docker build --tag=docker.io/overhangio/openedx-android-app:16.0.0 /home/sagarpatkeatl/sli-dev/env/plugins/android/build
regisb commented 5 months ago

Hi @sagarpatkeatl, we are unable to reproduce the error. Are you still facing this issue?

regisb commented 3 months ago

Closed for lack of feedback. Please comment and re-open if you are still facing this issue.