-x :app:mockableAndroidJar解决办法

来源:互联网 发布:限制网速软件 编辑:程序博客网 时间:2024/05/21 22:56

Android 项目在使用compileSdkVersion 23 发生了错误,提示内容

-x :app:mockableAndroidJar
> java.lang.NullPointerException (no error message)

根据github上解答

  1. Go to File -> Settings -> Build, Execution, Deployment -> Compiler
  2. Add to "Command-line Options":
    -x :app:mockableAndroidJar
  3. Press "OK" and try to Rebuild Project again.

github地址:

https://github.com/anggrayudi/android-hidden-api/issues/21



阅读全文
0 0
原创粉丝点击