Android_androidstudio_Install Repository and sync project异常
来源:互联网 发布:网络僵尸病毒 编辑:程序博客网 时间:2024/05/29 16:47
换个电脑安装android studio之后,创建个app人就差点崩溃了
在新建一个app项目的时候。R文件报错。
clean一下 提示的错误信息
Error:Failed to find: com.android.support:appcompat-v7:21.+
Install Repository and sync project
Open File
Open in Project Structure dialog
接下来打开sdk manager
build-tools 我都下载了。
咱们看最后一个Extras下的提示。在那个目录下的com.android.support:appcompat-v7版本
修改
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
compile 'com.android.support:appcompat-v7:21.0.1'
}
下的版本信息相同就好。然后clean一下。大功告成
总结:这种提示主要看看sdk manager安装目录里的Extras目录下的对应版本有没有安装。
0 0
- Android_androidstudio_Install Repository and sync project异常
- Android Studio创建app问题: Install repository and sync project等
- Android studio在真机环境下调试时遇见Install Repository and sync project的问题
- Android--Fix plugin version and sync project
- Disable offline mode and sync project错误
- Disable Gradle 'offline mode' and sync project
- redownload dependencies and sync project 解决方法
- Gradle project sync failed. Please fix your project and try
- Install missing platform(s) and sync project编译错误解决
- Install missing platform(s) and sync project编译错误解决
- Gradle3.3 Re_download deppendencies and sync project(requires network)
- Re-download dependencies and sync project (requires network)
- kotlin 编译报Disable offline mode and sync project错误
- Android StudioRe-download dependencies and sync project (requires network)问题
- Gradle project sync failed. Please fix your project and try again.错误
- Gradle project sync failed. Please fix your project and try again
- Gradle project sync failed. Please fix your project and try again.
- Gradle project sync failed. Please fix your project and try again解决方案
- s3c2440存储器地址
- UVA 11437 Triangle Fun 三角形趣题 (二维几何)
- mysql实现分页技术
- SpringMVC注解@RequestParam全面解析
- how to link billing order to fi accounting order
- Android_androidstudio_Install Repository and sync project异常
- call by value 和call by reference 转载
- (一) spring boot 之 helloworld
- mysql 日期类函数 获得当前日期
- SAP中日期时间函数总结
- js的window.onload和jquery document.ready()的区别
- 崩溃日志
- swift循环 for in 语句
- Volley实现登陆功能