2017-03-08 33 views
0

这是错误。gradle生成错误,同时加入我的联想android设备

错误:配置项目':app'时发生问题。

Could not resolve all dependencies for configuration ':app:_debugCompile'. Could not resolve com.android.support:appcompat-v7:25.+. Required by: MyApplication2:app:unspecified Could not resolve com.android.support:appcompat-v7:25.+. Failed to list versions for com.android.support:appcompat-v7. Unable to load Maven meta-data from https://jcenter.bintray.com/com/android/support/appcompat-v7/maven-metadata.xml . Could not GET ' https://jcenter.bintray.com/com/android/support/appcompat-v7/maven-metadata.xml '. jcenter.bintray.com

请帮助...

+0

您是否更新SDK Manager? –

回答

0

我加入的依赖性选项卡此行工作室应用程序选项卡下。 compile'c​​om.android.support:support-v4:22.0.+'

然后,终于它为我工作。