Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialVarun Bansal
6,684 PointsI am trying to build an apk for the weather app and i am getting an error:
Error:Execution failed for task ':app:packageRelease'.
Unable to compute hash of /Volumes/SecondaryHD/HomeWork/AndroidProjects/Stormy/app/build/intermediates/classes-proguard/release/classes.jar
I even tried adding these lines to progurard-rules.pro but it didn't work either
-dontwarn java.nio.file.Files -dontwarn java.nio.file.Path -dontwarn java.nio.file.OpenOption -dontwarn org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement -dontwarn android.net.http.AndroidHttpClient -dontwarn com.google.android.gms.**
Also based on your video i should have runProguard true line in my gradle file but i don't have it and adding it gives an error, i have minifyEnabled true instead
Please let me know how to fix this build error