I am creating a simple android application... I ran into some kind of trouble when I updated gradle when I launched Android Studio and it prompted me too.
Upon the update completing I receive the following error:
Error:Execution failed for task ':app:compileDebugJavaWithJavac'.
Failed to create MD5 hash for file '/Users/damenTomassi/AndroidStudioProjects/AstraeaDemo/app/src/main/res/libs/gson-2.3.1.jar'.
I used to have the GSON library in my project, however I no longer needed it so I removed it...
Does anyone have any suggestions?
I could solve this issue by deselecting Instant Run. You can do this by going to
File
->settings
->build,execution,deplyment
-> deselect instant run
.
Try this
Step 1: Remove this compile files('lib/gson-2.3.1.jar') from Your build.gradle File
Step 2: Build-> Clean Project
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With