I am trying to run Android Studio 2.1.2 on 32bit linux Mint 17.3. Android studio is freshly installed. When I rebuild a project or create a new one, I get errors like this in the Gradle Console:
AAPT err(Facade for 19314581): /home/user/Android/Sdk/build-tools/24.0.1/aapt: 2: /home/user/Android/Sdk/build-tools/24.0.1/aapt: Syntax error: Unterminated quoted string
Aapt is set as executable in build-tools directory.
I have set:
export SLAVE_AAPT_TIMEOUT=30
export ANDROID_EMULATOR_FORCE_32BIT=true
Any other idea how to fix this?
I had the same problem. I fixed it by downgrading my build tools version from 24.0.1
to 23.0.3
.
buildToolsVersion
to "23.0.3"
Hope google fixes its build-tools bug
It might be the case the newest Android Studio does not run on 32bit only system. On AndroidStudio download page the requirements for Linux are:
64-bit distribution capable of running 32-bit applications
There are also other StackOverflow questions regarding this:
The former one states:
Either one will allow you to use the 32-bit binaries,but please be aware that these will disappear in a future Android SDK release. Consider moving to a 64-bit Linux system before that happens.
So it might be the case the newest version does not support 32bit anymore. Please try suggestions mentioned in the related answers (updating kernel/system). For Linux Mint there is mentioned [1]:
But it also might be the case the newest Android Studio version does not support 32bit-only system anymore. In that case try to use an older version.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With