Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Delete mockable android jar in Android

In my Android project in Android Studio 2.1 there is a mockable-android-23.jar that is of about 22 MB size.

Is it safe to delete it?

like image 755
mike_x_ Avatar asked Jul 21 '16 14:07

mike_x_


2 Answers

The mockable-android-23.jar file is generated by the mockableAndroidJar Gradle Task which is run as part of the test Gradle Task.

The file is useful to you if you have unit tests in your project in which you're mocking Android classes (by means of the Mockito framework). If this not the case for you, then yes it is safe for you to delete the file.

like image 159
Adil Hussain Avatar answered Oct 08 '22 20:10

Adil Hussain


If you are not using any object related to mockable-android-23.jar, delete the jar file is safe.

like image 37
Raseem Ayatt Avatar answered Oct 08 '22 20:10

Raseem Ayatt