The SDK platform-tools version ((23)) is too old to check APIs compiled with API 23
AndroidAndroid StudioAndroid Problem Overview
I am getting this strange error on the first line of each file in my Android Studio. Everything was OK until I updated my Android Studio. Could someone explain to me what's going on and how to get rid of such error? I'd appreciate any help with it.
P.S: Despite this error, I can compile and run my code successfully.
Android Solutions
Solution 1 - Android
Update your android sdk platform-tools to the revision 23.0.1 from sdk manager. In android studio click File->Invalidate Caches/Restart...
That's it. The error must be gone now.
Solution 2 - Android
Like the error says, the Platform-tools needs to be on a newer version. To update,
- Open
SDK manager
- At the bottom of the dialog box, click on link
Launch Standalone SDK Manager
-> Rev will be 23.01 - Install the updated package
- Invalidate cache as
File -> Invalidate caches/Restart"
Solution 3 - Android
I was able to solve the problem on windows as follows:
Go to Tools -> Android -> SDK Manager -> click on Update the android Android SDK platform tools to the latest one. Once it is done updating, the error should be gone.
That is what worked for me hope it works for you too.. Cheers
Solution 4 - Android
first you should update your SDK, for update go to SDK Manager and click on install packages. if this button is not active, click on Tools->Options->Clear cache and then close SDK Manager and reopen it. now your button is active. after update SDK Manager go to android studio and click on File->Invalidate cache/Restart->Invalidate cache/Restart. now your problem is solved. enjoy!