Android studio 2.1.2 gradle aapt Syntax error: Unterminated quoted string

前端 未结 2 522
天命终不由人
天命终不由人 2020-12-06 19:40

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 i

2条回答
  •  一整个雨季
    2020-12-06 20:19

    I had the same problem. I fixed it by downgrading my build tools version from 24.0.1 to 23.0.3.

    1. Download older build tool version from http://dl.google.com/android/repository/build-tools_r23.0.3-linux.zip
    2. Extract the downloaded file and paste it in your SDK build-tools directory( mostly /home/user/Android/Sdk/build-tools)
    3. Now in your app:gradle file change the buildToolsVersion to "23.0.3"
    4. Sync your gradle file and you should be good to go

    Hope google fixes its build-tools bug

提交回复
热议问题