AndroidStudio 中的坑Error:(1, 0) Plugin is too old, please update to a more recent version, or set ANDROID_DAILY_OVERRID

将 build.gradle 中 的 classpath改为2.0.+

dependencies {    classpath ‘com.android.tools.build:gradle:2.0.+‘然后出现错误Warning:Gradle version 2.10 is required. Current version is 2.8. If using the gradle wrapper, try editing the distributionUrl in /home/zhangsf/AndroidStudioProjects/SMSTest/gradle/wrapper/gradle-wrapper.properties to gradle-2.10-all.zipError:(1, 1) A problem occurred evaluating project ‘:app‘.> Failed to apply plugin [id ‘com.android.application‘]   > Gradle version 2.10 is required. Current version is 2.8. If using the gradle wrapper, try editing the distributionUrl in /home/zhangsf/AndroidStudioProjects/SMSTest/gradle/wrapper/gradle-wrapper.properties to gradle-2.10-all.zip

进入file-> settings-> gradle 将use local gradle distribution gradle home :/home/zhangsf/android-studio/gradle/gradle-2.10
时间: 2024-10-17 07:33:43

AndroidStudio 中的坑Error:(1, 0) Plugin is too old, please update to a more recent version, or set ANDROID_DAILY_OVERRID的相关文章

android studio新项目时提示:Plugin is too old, please update to a more recent version

今天想写一个程序来测试一下android studo代码,但是创建好项目后,提示: Error:(1, 0) Plugin is too old, please update to a more recent version, or set ANDROID_DAILY_OVERRIDE environment variable to "8051cdccc746d532152541ee35015fd83699f14"<a href="fixGradleElements&q

Plugin is too old, please update to a more recent version, or set ANDROID_DAILY_OVERRIDE environment variable to “*****”

Plugin is too old, please update to a more recent version, or set ANDROID_DAILY_OVERRIDE environment variable to “*****” 的一种解决方案: 修改工程依赖的build.gradle文件如下: dependencies { classpath 'com.android.tools.build:gradle:+' .... } 重新编译即可 这时候控制台应该会有警告,让更新gradl

Plugin is too old, please update to a more recent version, or set ANDROID_DAILY_OVERRIDE environment

Apparently, beta releases of the Gradle for Android plugin expire. AFAIK, that is not documented behavior. Right now, the only way that I know of to find out what the latest beta release is would be by monitoring http://tools.android.com/tech-docs/ne

android 编译错误 Error:(1, 0) Plugin with id &#39;com.android.application&#39; not found.

在导入一个项目时,由于它本身的gradle版本比较高,你试用比较旧版本的gradle时就报出Plugin with id 'com.android.application' not found.的错误 如果出现如上错误,只需要在build.gradle中添加下面代码即可: (直接加在 android{ } 的外面) buildscript { repositories { jcenter() // or mavenCentral() } dependencies { classpath 'com

Error:(2, 0) Plugin with id &#39;com.github.dcendents.android-maven&#39; not found解决办法

导入开源项目的时候老是报这个错 Error:(2, 0) Plugin with id 'com.github.dcendents.android-maven' not found 解决办法: 首先在Project下那个build.grade里面添加全局依赖 buildscript { repositories { jcenter() } dependencies { classpath 'com.android.tools.build:gradle:1.5.0' //1.自动化maven打包插

关于“error at ::0 can&#39;t find referenced pointcut”错误的处理方式

最近因为公司需求问题,需要将JDK以及Tomcat升级到7.x系列版本,原JDK6.x系列.使用的框架基本类似于三大框架(公司内部框架),在升级过程中遇到:error at ::0 can't find referenced pointcut 这样的错误,导致的原因是由于aspectjrt.jar 和 aspectjweaver.jar版本太低,因此替换为更高的版本,个人建议为:1.66或者以上版本. 下载地址:http://jarfiles.pandaidea.com/search?q=asp

zookeeper环境搭建中的几个坑[Error contacting service. It is probably not running]的分析及解决

Zookeeper简介 关于zk的介绍, zk的paxos算法, 网上已经有各位大神在写了, 本文主要写我在搭建过程中的几个极有可能遇到的坑. Zookeeper部署中的坑 坑之一 Error contacting service. It is probably not running 在配置完zookeeper集群后,三个节点,分别启动三个节点如下: [[email protected] bin]# zkServer.sh start JMX enabled by default Using

Torch-RNN运行过程中的坑 [1](读取Lua非空table,size为0)

0.踩坑背景 执行Torch-RNN的时候,在LanguageModel.lua中的encode_string函数中,对start_text的各个character进行id映射编码,实现功能类似"北京天安门"-->"5 10 88 32 111",方便后面的计算. 这个函数会利用一个全局的类似HashMap的table,hashmap中的key是character(char),value是id(int),涉及到一个从hashmap中按照key取值的操作,代码如

在Ubuntu中使用MySQL错误:ERROR 1524 (HY000): Plugin &#39;msyql_native_password&#39; is not loaded

报错信息提示: 解决方式: vi /etc/mysql/my.cnf 添加如下代码 [mysqld]skip-grant-tables 重启服务 sudo service mysql restart 登录mysql服务 成功解决,记录一下 在Ubuntu中使用MySQL错误:ERROR 1524 (HY000): Plugin 'msyql_native_password' is not loaded 原文地址:https://www.cnblogs.com/bai-boy/p/12272699