Android Studio had a popup telling updates was available after i run the SDK manager and started the Android Studio again I got another popoup that toke me to Androids websi
Using Android SDK Manager, I removed my last update of Android SDK Build-Tools v.25 remaining with the previous one: v.23.0.3....
...now it's working as it should do!!!
This problem is related with your SDK, not with your JDK. You can check your version information from
Help > About > Show Details
You will get something like
Xamarin.Android Version: 6.0.2.1 (Starter Edition) Android SDK: X:\Android\android-sdk
Supported Android versions:
4.0.3 (API level 15)
4.4 (API level 19)
6.0 (API level 23)
SDK Tools Version: 24.4.1
SDK Platform Tools Version: 23.0.1
SDK Build Tools Version: 24 rc2
Java SDK: X:\Program Files (x86)\Java\jdk1.7.0_71
java version "1.7.0_71"
Java(TM) SE Runtime Environment (build 1.7.0_71-b14)
Java HotSpot(TM) Client VM (build 24.71-b01, mixed mode, sharing)
If you are using preview tools for building ,then you will get similar errors all over.
What to do now?
Tools -> SDK manager
Select all items in preview channels including Android SDK build tools
with rev 24rc2
or 24rc4
(latest)
Click on Delete 'n' packages
How to turn off preview channel
In SDK manager, select
Tools > options
Uncheck Enable preview tools
And what
Back to your code Clean all and rebuild
This problem occurs when you update to Android Studio to 2.0.
To solve this problem:
build.gradle
filebuildToolsVersion "24.0.0 rc1"
to buildToolsVersion "23.0.2"
Happy coding.
The problem is in the buildToolsVersion '24.0.0 rc1' after changing it to '23.0.2' I no longer get errors.