Software
- Android SDK Manager 25.1.7 (Stand Alone)
- Android Studio 2.13
- Oracle JDK 1.8.0_102
- Windows 10 x64
If you change/upgrade Android SDK Build-tools into latest, in my case from 24.0.1 to 24.0.2, your previous project may not compile nor run properly. The error may like this:
Error:A problem occurred configuring project ':app'.
> failed to find Build Tools revision 24.0.1
To fix it, do these:
- in 1: Project change view to Android
- Go to Grandle Scripts and open Grandle Script (Module:app)
- change buildToolsVersion "24.0.1" -> buildToolsVersion "24.0.2"
- ...
- android {
- compileSdkVersion 24
- buildToolsVersion "24.0.1"
- ...
- Sync your project
No comments:
Post a Comment