Android Studio编译时提示错误:Error:(1, 0) Plugin with id 'android' not found,是因为gradle文件中没有定义android tools的版本造成,在项目的build.gradle文件中添加定义版本的语句:

classpath 'com.android.tools.build:gradle:1.3.0'
这个问题就解决了。注意build.gradle文件是项目下的

最后这个build.gradle文件的完整内容如下:

// Top-level build file where you can add configuration options common to all sub-projects/modules.buildscript {    repositories {        jcenter()    }    dependencies {            classpath 'com.android.tools.build:gradle:1.3.0'    }}allprojects {    repositories {        jcenter()    }}



更多相关文章

  1. Android(安卓)自定义camera
  2. GraphWidget插件—简介
  3. [Accessibility] Missing contentDescription attribute on imag
  4. Android日志文件的读写工具类
  5. Android(安卓)使用Notification自定义通知栏显示
  6. Android(安卓)DownloadProvider分析
  7. ExpandableListView的使用
  8. SONY 系列手机 Android(安卓)5.1 系统 Root 方法
  9. Mac系统下利用ADB命令连接android手机并进行文件操作

随机推荐

  1. AOP编程_Android优雅权限框架(2)Demo完全
  2. popupWindow 使用
  3. Android(安卓)其他特效展示
  4. android 利用getIdentifier()获取资源
  5. android 中ids.xml资源的使用
  6. Android(安卓)进阶——Framework 核心四
  7. Android(安卓)MediaPlayer支持的音视频格
  8. Google I/O之Android(安卓)Studio使用--a
  9. Android(安卓)AlertDialog 方法setView(v
  10. EditText 笔记