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'
    

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

  • 相关阅读:
    dede cms 怎样调用年月日
    织梦自定义表单提交成功后提示信息|跳转页面|跳转停留时间修改全攻略
    springmvc入门
    git全面理解
    mac os中try catch快捷键
    git与github关联
    mac下apache服务器访问DocumentRoot目录后报Forbidden错误
    分布式处理框架MapReduce
    资源调度框架YARN
    异常:failed on connection exception: java.net.ConnectException:
  • 原文地址:https://www.cnblogs.com/spring87/p/5973343.html
Copyright © 2011-2022 走看看