All packages are not available for download error in android
Asked Answered
F

6

11

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?

Ferraro answered 2/8, 2016 at 7:23 Comment(3)
please make sure there is a jsonobject as "name" coming in your JSONNowise
I didn't get you can you please give me some more explanation...Ferraro
there is some error in your json parsing logic,Nowise
K
7

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.

Kinematograph answered 2/8, 2016 at 7:56 Comment(0)
W
7

Open SDK Manager -> SDK Platform
Check on Show Package Details and Sources for Android ... then download enter image description here

Warnke answered 26/10, 2017 at 3:2 Comment(0)
O
1

I just closed my IDE then restarted my computer. When I opened the IDE the error was no more.

Make sure you have good internet connection, as the error might be caused by a lack of internet connection preventing the IDE from reaching the site.

Ommatophore answered 17/9, 2019 at 11:50 Comment(0)
L
0

Check if the SDK version is installed on Android studio for that particular Android device. e.g. If Android Device has version 4.3 then check if SDK for this version 4.3 is installed, you can check it through Android Studio SDK manager. If not installed then install it complete.

Restart Android studio, reconnect the device, That's it

Latonia answered 28/9, 2016 at 6:34 Comment(0)
D
0

A thing I ran into, check to see if you have more than one android sdk on your box. I'm not sure if it was confusing Android studio or not, but I had one previously installed under Program Files. I ended up going into the AppData\Local\Android version used by Android studio and adding stuff I needed manually running the SDK manager as administrator.

Duck answered 5/2, 2017 at 20:12 Comment(0)
L
0

This means that you can't reach the download site, and it has many reasons one of them is that you are in a country in wich the American laws won't allow to use such technology so you have to use a proxy program and to configure the sitting in your Android studio to use the proxy gate and port.

Lipcombe answered 5/2, 2018 at 5:36 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.