解决: AGPBI: {"kind":"error","text":"indicate that it is *not* an inner class.","sources":[{}]}
关于Gradle Console输出类似这样错误信息:
- AGPBI: {"kind":"error","text":"indicate that it is *not* an inner class.","sources":[{}]}
- AGPBI: {"kind":"error","text":"indicate that it is *not* an inner class.","sources":[{}]}
- AGPBI: {"kind":"error","text":"indicate that it is *not* an inner class.","sources":[{}]}
- AGPBI: {"kind":"error","text":"indicate that it is *not* an inner class.","sources":[{}]}
- AGPBI: {"kind":"error","text":"indicate that it is *not* an inner class.","sources":[{}]}
- AGPBI: {"kind":"error","text":"indicate that it is *not* an inner class.","sources":[{}]}
- AGPBI: {"kind":"error","text":"indicate that it is *not* an inner class.","sources":[{}]}
- AGPBI: {"kind":"error","text":"indicate that it is *not* an inner class.","sources":[{}]}
- AGPBI: {"kind":"error","text":"indicate that it is *not* an inner class.","sources":[{}]}
- AGPBI: {"kind":"error","text":"indicate that it is *not* an inner class.","sources":[{}]}
- AGPBI: {"kind":"error","text":"indicate that it is *not* an inner class.","sources":[{}]}
- AGPBI: {"kind":"error","text":"indicate that it is *not* an inner class.","sources":[{}]}
- AGPBI: {"kind":"error","text":"indicate that it is *not* an inner class.","sources":[{}]}
- AGPBI: {"kind":"error","text":"indicate that it is *not* an inner class.","sources":[{}]}
- AGPBI: {"kind":"error","text":"indicate that it is *not* an inner class.","sources":[{}]}
- AGPBI: {"kind":"error","text":"indicate that it is *not* an inner class.","sources":[{}]}
- AGPBI: {"kind":"error","text":"indicate that it is *not* an inner class.","sources":[{}]}
- AGPBI: {"kind":"error","text":"indicate that it is *not* an inner class.","sources":[{}]}
虽然不影响编译,但是这样输出错误总是不舒服的,一大串红色红色错误。主要是jdk或者sdk版本引起的.
解决方案:
在build.gradle里面把这些版本改成一致,最好都是最新的.
- compileSdkVersion 24
- buildToolsVersion "24.0.0"
- targetSdkVersion 24
- compile 'com.android.support:appcompat-v7:24.0.0'
编译,控制台红色错误消失了。
解决: AGPBI: {"kind":"error","text":"indicate that it is *not* an inner class.","sources":[{}]}的更多相关文章
- 完美解决 Linux 下 Sublime Text 中文输入
首先,我参考了好几篇文章,都是蛮不错的,先列出来: sublime-text-imfix:首先推荐这个方法,最简单,但是在我的系统上有些问题.可用这个的强烈推荐用这个 完美解决 Linux 下 Sub ...
- 解决php configure: error: Cannot find ldap libraries in /usr/lib.错误
解决php configure: error: Cannot find ldap libraries in /usr/lib.错误 iitshare 分类:Linux,PHP,项目实施 | 标签:Ca ...
- PHP运行错最有效解决办法Fatal error: Out of memory (allocated 786432) (tried to allocate 98304 bytes) in H:\freehost\zhengbao2\web\includes\lib_common.php on line 744
原文 PHP运行错最有效解决办法Fatal error: Out of memory (allocated 6029312) Fatal error: Out of memory (allocated ...
- 解决Ubuntu下Sublime Text 3无法输入中文
前言 sublime很好用,但是ubuntu下不能输入中文,这是一个很大的问题.不知道为什么开发着一直也不解决,好在还是有高手在,总能找到方法.网上方法很多,但是也很乱,现在我将自己的经验总结一下. ...
- PHP如何让apache支持.htaccess 解决Internal Server Error The server …错误
TP框架 打开 www.newtp.com/index.php/Home/Index/abc出现 如下错误: Internal Server Error The server encountered ...
- 解决mariadb grant ERROR 1045 (28000): Access denied for user
下面我们一起来看一篇解决mariadb grant ERROR 1045 (28000): Access denied for user问题,希望文章能够帮助到各位朋友. 用mariadb也有一段 ...
- 解决 Ubuntu 下 Sublime Text 无法输入中文的问题
解决 Ubuntu 下 Sublime Text 无法输入中文的问题 1. 安装依赖库 sudo apt-get install build-essential sudo apt-get instal ...
- mysql安装以后无法登陆的的解决方法((ERROR 1698 (28000): Access denied for user 'root'@'localhost'))
mysql安装以后无法登陆的的解决方法((ERROR 1698 (28000): Access denied for user 'root'@'localhost')) 解决步骤: [====> ...
- Atitit. 。Jna技术与 解决 java.lang.Error: Invalid memory access
Atitit. .Jna技术与 解决 java.lang.Error: Invalid memory access 1. 原因与解决1 2. jNA (这个ms sun 的)1 3. Code1 4. ...
随机推荐
- UVA 10791 Minimum Sum LCM
唯一分解定理 把n分解为 n=a1^p1*a2^p2*...的形式,易得每个ai^pi作为一个单独的整数最优. 坑: n==1 ans=2: n因子种数只有一个 ans++: 注意溢出 ...
- linux常用命令(6)mv命令
mv命令是move的缩写,可以用来移动文件或者将文件改名(move (rename) files),是Linux系统下常用的命令,经常用来备份文件或者目录.1 命令格式:mv [选项] 原文件或目录 ...
- Power on & RESET 之前?
這是個有趣的問題 ? 當應用系統 或 ic元件模組於初始之前存在的現像為何 是個得住意的問題 ! 因為得考量 是否會對週邊或被控制端造成危害 這也是長常常會是不穩定設計 的原因!得有實務經驗及想像力才 ...
- PowerShell 中进行列表展示的排序-倒序
Order Your Output by Easily Sorting Objects in PowerShell ★★★★★ ★★★★ ★★★ ★★ ★ January 10, 2012 by Th ...
- SxsTrace工具使用方法
Windows7平台上有一个强大的SxsTrace工具,可以跟踪调试应用程序运行时需要的动态库的版本和路径. SxsTrace使用的方法: 1.首先必须以Administrator用户身份登录 ...
- WPF Image触摸移动方法
1: TouchPoint mPoint = null; 2: double mOffsetX;//水平滚动条当前位置 3: double mOffsetY;//垂直滚动条当前位置 4: bool m ...
- vb串口通信界面
界面如上: 程序如下: Dim num As Byte '申明一个全局变量为单字节型 '单击“清空接收缓冲区”按钮时,将接收缓冲区清空,此过程为“清空接收缓冲区”的单击事件 Private S ...
- Javascript构造函数学习
我们经常会用JS的构造函数实现Java语言中的继承,今天整理一下构造函数的相关属性及说明. 下面定义一个构造函数: function Person(name, sex, age) { this.nam ...
- Android 之 Eclipse 导入 Android 源码
很多人都下载过下图中的 Sources for Android SDK,但是很少人知道怎么用 下载完毕后可以再 Android SDK 根目录下看到 sources 文件夹内 有 andr ...
- 2016"百度之星" - 资格赛(Astar Round1) 1001
思路:第一个做法就是:每读入起始位置i和结束位置j,就从这位置i到位置j计算,可是TLE了,后面我想想要是我输入一个最长的字符串,且以最大次数计算开始位置1到结束位置100000,那么这计算量是很大的 ...