zoukankan      html  css  js  c++  java
  • 解决: 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'
    

    编译,控制台红色错误消失了。

  • 相关阅读:
    PHP发红包程序限制红包的大小
    PHP函数
    HTTP Keep-Alive详解[转]
    PHP中PSR
    一级域名、二级域名和二级目录有什么区别?
    mysqli_query(“set nams utf8”)为FALSE
    Mysql中结果集(mysql_result)与Traversable
    Hbase系列(一)---- Hbase究竟是一个怎样的数据库(基础原理)
    java-快速失败与安全失败
    java-hashmap 工作原理
  • 原文地址:https://www.cnblogs.com/spring87/p/5973343.html
Copyright © 2011-2022 走看看