ionic run android: Build failed with an exception

2019-02-23 09:22发布

  • 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条回答
女痞
2楼-- · 2019-02-23 09:53

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

查看更多
登录 后发表回答