Error: Execution completed for task ": app: proguardRelease". java.io.IOException: Execute the above warnings first.

I am new to Android Studio. I am trying to generate a signed apk file using android-studio.

When building a signed release APK, it gives me an error like below.
In this module I only have four library files, they are
checked in the list of dependencies in the build.gradle file.

Please clarify what dependencies or build types I missed in this process.

I found some solutions from other users, they said delete all library files and add this again, then it solves the problem. I tried so hard too, but it doesn't work for me.

But when I tried to build release apk file with release it gives me below error warning.

I have a problem with proguard. I get this on the console page. I added the line -dontworn to proguard-project.txt

enter image description here

Please clarify my doubts.

+3
android android-studio build.gradle signed apk


source to share


No one has answered this question yet

Check out similar questions:

690
"cannot resolve R character" in Android Studio
533
How to add local .jar file dependency for build.gradle file?
369
How to manually enable external aar package with new Android Build Gradle system
220
APK file does not exist on disk
139
difference between signature versions - V1 (Jar signature) and V2 (APK full signature) when creating signed apk in AndroidStudio?
116
How to import Android project as library and NOT compile as apk (Android studio 1.0)
96
How do I use ProGuard in Android Studio?
88
android studio where is the proguard mapping file
63
Error: Execution completed for task ': app: processDebugResources'. > java.io.IOException: Failed to delete folder "" in android studio
0
Execution failed for task ': app: transformClassesAndResourcesWithProguardForRelease'. > java.io.IOException: Follow the above warnings first.



All Articles
Loading...
X
Show
Funny
Dev
Pics