问题
What went wrong: Execution failed for task ':CordovaLib:processDebugResources'.
com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command '/home/vishal/sw/android/build-tools/23.0.3/aapt'' finished with non-zero exit value 127
Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 3 mins 14.449 secs Error: Error code 1 for command: /var/www/html/street_delight/svn/trunk/add_merchant_app/platforms/android/gradlew with args: cdvBuildDebug,-b,/var/www/html/street_delight/svn/trunk/add_merchant_app/platforms/android/build.gradle,-Dorg.gradle.daemon=true,-Pandroid.useDeprecatedNdk=true
回答1:
Android SDK works on 32-bit env, if you are using 64-bit env then add following:
sudo apt-get install lib32stdc++6
sudo apt-get install lib32z1
Thanks to codelatte
来源:https://stackoverflow.com/questions/36259859/ionic-run-android-build-failed-with-an-exception