This is at least the third time I’m trying to setup Android build on my linux machine This time I got really far. I’ve managed to make it to compile the code and run the build process… But then I get this:
:app:processDebugResources FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:processDebugResources'.
> com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '/opt/openfl/android-sdk/build-tools/24.0.1/aapt'' finished with non-zero exit value 1
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
I’ve checked the permissions on the /opt/openfl/android-sdk/build-tools/24.0.1/aapt
executable and it seems correct (execution is allowed. In fact I’ve set 0777 on the whole android-sdk directory).
What can I do next? How to debug it? Where can I try these --stacktrace
and --debug
options?