4
  • 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 Answer 1

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

4
  • I used fedora 24 and try to install sudo dnf install lib32stdc++6. but it says that package not found. Sep 6, 2016 at 18:19
  • Please try: sudo yum install libstdc++.i686 && sudo yum install ncurses-libs.i686 && sudo yum install zlib.i686 Sep 8, 2016 at 6:30
  • For me too same problem: I tried to build android but got same error. FAILURE: Build failed with an exception. * What went wrong: A problem occurred configuring root project 'android'. > Could not resolve all dependencies for configuration ':_debugCompile'. > Could not find any version that matches com.android.support:support-v13:23+.
    – Ravi Ji
    Oct 21, 2016 at 10:34
  • @AshishBhosle I am using Windows and Ionic Angular Project. How do I install above 2 packages to my project? Nov 22, 2017 at 17:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.