You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use App Center for building my React Native App for Android. I have enabled proguard. My app build is failing. Here are the logs
Printing usage to [/Users/vsts/agent/2.144.0/work/1/s/android/app/build/outputs/mapping/release/usage.txt]...
Removing unused program classes and class elements...
Original number of program classes: 11336
Final number of program classes: 7771
Inlining subroutines...
Obfuscating...
Printing mapping to [/Users/vsts/agent/2.144.0/work/1/s/android/app/build/outputs/mapping/release/mapping.txt]...
Preverifying...
Unexpected error while performing partial evaluation:
Class = [com/google/android/gms/internal/zzcih]
Method = [zza(Ljava/lang/String;[Lcom/google/android/gms/internal/zzcob;[Lcom/google/android/gms/internal/zzcog;)[Lcom/google/android/gms/internal/zzcoa;]
Exception = [java.lang.IllegalArgumentException] (Can't find common super class of [com/google/android/gms/internal/zzcob] (with 1 known super classes) and [java/lang/String] (with 2 known super classes))
Unexpected error while preverifying:
Class = [com/google/android/gms/internal/zzcih]
Method = [zza(Ljava/lang/String;[Lcom/google/android/gms/internal/zzcob;[Lcom/google/android/gms/internal/zzcog;)[Lcom/google/android/gms/internal/zzcoa;]
Exception = [java.lang.IllegalArgumentException] (Can't find common super class of [com/google/android/gms/internal/zzcob] (with 1 known super classes) and [java/lang/String] (with 2 known super classes))
Warning: Exception while processing task java.io.IOException: java.lang.IllegalArgumentException: Can't find common super class of [com/google/android/gms/internal/zzcob] (with 1 known super classes) and [java/lang/String] (with 2 known super classes)
:app:transformClassesAndResourcesWithProguardForRelease FAILED
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':app:transformClassesAndResourcesWithProguardForRelease'.
The text was updated successfully, but these errors were encountered:
Udbhav12
changed the title
Proguard issues crash
App build fails if proguard is enabled
Dec 14, 2018
Your Environment
Expected Behavior
App should build successfully
Actual Behavior
App build fails
Context
I use App Center for building my React Native App for Android. I have enabled proguard. My app build is failing. Here are the logs
Printing usage to [/Users/vsts/agent/2.144.0/work/1/s/android/app/build/outputs/mapping/release/usage.txt]...
Removing unused program classes and class elements...
Original number of program classes: 11336
Final number of program classes: 7771
Inlining subroutines...
Obfuscating...
Printing mapping to [/Users/vsts/agent/2.144.0/work/1/s/android/app/build/outputs/mapping/release/mapping.txt]...
Preverifying...
Unexpected error while performing partial evaluation:
Class = [com/google/android/gms/internal/zzcih]
Method = [zza(Ljava/lang/String;[Lcom/google/android/gms/internal/zzcob;[Lcom/google/android/gms/internal/zzcog;)[Lcom/google/android/gms/internal/zzcoa;]
Exception = [java.lang.IllegalArgumentException] (Can't find common super class of [com/google/android/gms/internal/zzcob] (with 1 known super classes) and [java/lang/String] (with 2 known super classes))
Unexpected error while preverifying:
Class = [com/google/android/gms/internal/zzcih]
Method = [zza(Ljava/lang/String;[Lcom/google/android/gms/internal/zzcob;[Lcom/google/android/gms/internal/zzcog;)[Lcom/google/android/gms/internal/zzcoa;]
Exception = [java.lang.IllegalArgumentException] (Can't find common super class of [com/google/android/gms/internal/zzcob] (with 1 known super classes) and [java/lang/String] (with 2 known super classes))
Warning: Exception while processing task java.io.IOException: java.lang.IllegalArgumentException: Can't find common super class of [com/google/android/gms/internal/zzcob] (with 1 known super classes) and [java/lang/String] (with 2 known super classes)
:app:transformClassesAndResourcesWithProguardForRelease FAILED
FAILURE: Build failed with an exception.
Execution failed for task ':app:transformClassesAndResourcesWithProguardForRelease'.
The text was updated successfully, but these errors were encountered: