android中的所有包都不可用于下载错误 [英] All packages are not available for download error in android

查看:16
本文介绍了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天全站免登陆