Android 项目在使用compileSdkVersion 23 发生了错误,提示内容
-x :app:mockableAndroidJar
> java.lang.NullPointerException (no error message)
根据github上解答
- Go to File -> Settings -> Build, Execution, Deployment -> Compiler
- Add to "Command-line Options":
-x :app:mockableAndroidJar
- Press "OK" and try to Rebuild Project again.
github地址:
https://github.com/anggrayudi/android-hidden-api/issues/21