所有软件包都无法在android中下载错误 [英] All packages are not available for download error in android

查看:196
本文介绍了所有软件包都无法在android中下载错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所有软件包都无法下载! 以下软件包不可用: -包ID来源; android-24

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

正在尝试使用Web服务从数据库获取数据,而在运行应用程序时出现上述错误.

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

如何在android studio中解决此问题?

How can I resolve this issue in the android studio?

推荐答案

弹出错误与您在应用程序中遇到的异常无关. Api 24源代码不完全可用.因此,您得到了错误.将complieSdkVersion和targetSdkVersion更改为23并同步gradle.

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.

这篇关于所有软件包都无法在android中下载错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆