NullPointerException ( no error message). When i dumped the stacktrace i get the following. I am clueless as to why this is happening. This looks like an old ques which is not yet answered yet. I got into same problem, when my jar files could not be read by Android Studio and it gave me the above mentioned error. Taking lead from the comment by - Mikhail. You can try to uncheck test artifacts option inside: Preferences - > Build, Execution, Deployment - > Gradle - > Experimental - > Enable all test artifacts in Android projects. Android Studio clean 时产生 Error: Execution failed for task ' : app: mockableAndroidJar' > java. but google makes this stable in Android Stuido 2. 2, and I can' t this. This error comes. This is normally a gradle build problem, try updating your gradle version. Change apk ' com.
gms: play- services: 6. to compile ' com. NullPointerException ( no error message) Information: BUILD FAILED Information: Total time: 3. Information: 1 error. Information: 0 warnings. Information: See complete output in console. Error: Execution failed for task ' : app: mockableAndroidJar'. NullPointerException ( no error message) 出错的原因: clean app模块的 mockableAndroidJar 的这个task 出错( 没有参与编译) 解决办法: 1. Go to File - > Settings. Recently ran into this but is not pretty sure if we are on the same boat. However, this is how I fixed that mockableAndroid problem: - classpath ' com. build: gradle: 1. gradle folder from the project and was able to rebuild it again. Make a backup, just in case.