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?
Why there is Error in Parsing the Package? There could be many reasons for the error in parsing package. Few of the main causes are listed below. The app is not made compatible with your version of Android. The app is Moded or Manifested thus not executable. The app is not downloaded properly or completely.
If some of the critical assets and codes are missing from the APK then you may not be able to install the APK File. It is better to download the APK from any other source or try installing an older version of the app. Google Play Protect is Google’s built-in malware protection for Android.
These changes affect apps only if they target Android 11. For more information on these changes, view the guides about package visibility on Android. For more information about the package visibility changes in Android 11, view the following materials:
It is the package data file consisting of strings of information executable by the software. The Android OS uses these data strings to run and install the apk file. Sometimes due to some issues with the build or due to manipulation of the file error occurs in-app installation. Why there is an Error in Parsing the Package?
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.
Open SDK Manager -> SDK Platform
Check on Show Package Details
and Sources for Android ...
then download
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With