All packages are not available for download error in android

Smiley smile picture Smiley smile · Aug 2, 2016 · Viewed 25.5k times · Source

All packages are not available for download! The following packages are not available: - Package id sources;android-24

Am trying getting data from database by using of web services, when am running the application getting an above shown error.

How can I resolve this issue in the android studio?

Answer

muthuraj picture muthuraj · Aug 2, 2016

The popup error is not related to the exception you got on your application. Api 24 source code is not fully available. Hence you got the error. Change complieSdkVersion and targetSdkVersion to 23 and sync the gradle.