Android Studio爆出某一个ID找不到
2016-05-12 11:53
381 查看
解决方法:要在project中的build.gradle中的dependencies 改成
dependencies {
classpath 'com.android.tools.build:gradle:2.0.0'
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.3'
classpath "com.jfrog.bintray.gradle:gradle-bintray-plugin:1.0"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
dependencies {
classpath 'com.android.tools.build:gradle:2.0.0'
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.3'
classpath "com.jfrog.bintray.gradle:gradle-bintray-plugin:1.0"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
相关文章推荐
- Android 开发,那些奇葩的问题
- 修改Android系统字号(一)
- 简单介绍android studio中的Logcat
- Android Studio无法创建android项目,只有java项目
- Android五种数据传递方法汇总
- Android项目开发总结(三)-- 规范篇
- Android - NavigationView 获取 head_view问题
- android EditText控制光标位置删除添加操作
- Mac OS X下搭建Android开发环境
- Android 自定义可选择范围的控件
- Android开发小知识点集锦
- Android使用MediaPlayer开发时抛IllegalStateException
- android在代码中为new出的控件设置ID及setId()异常
- In android studio,cannot load 2 facets-unknown facet type:android and android-gradle
- android检测apk及dex方法数
- Android相机实时自动对焦的完美实现
- 10. Android框架和工具之 AppMsg(消息提示)
- 设计模式之观察者模式(Observer pattern)
- android drawable中的state属性说明
- Android 数据库升级完整解决方案