Search code examples
androidgradleaapt

aapt finished with non zero exit value 127


here is my environment:

  1. Ubuntu 14.04 x86_64
  2. Android Studio 2.2
  3. Android SDK build-tools 23.0.3

here is my question:

Gradle build failed and says that

aapt finished with non zero exit value 127

How can I solve this problem ?


Solution

  • I had found the problem that I was running SDK-32bit on Ubuntu-64bit, just install some dependencies searched from Google will solve it.