Closed ufukhawk closed 5 months ago
Any update ?
https://github.com/microg/SafeParcel/blob/master/safe-parcel/proguard.txt
Those rules should fix your issue.
@llfbandit not woking.
`ERROR:R8: com.android.tools.r8.internal.XI0: Attribute InnerClasses requires EnclosingMethod attribute. Check -
keepattributes directive.
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:minifyProdReleaseWithR8'.
> com.android.tools.r8.CompilationFailedException: Compilation failed to complete
I guess there are missing pieces here. I can't reproduce the issue with the example project.
Anyway, did you add at least the directive asked?
-keepattributes EnclosingMethod
Thanks fixed.
When
minifyEnabled true shrinkResources true
, the apk cannot be created.if i remove package , i can create APK file.
app_links: ^3.5.0
Error : ERROR:R8: com.android.tools.r8.internal.XI0: Attribute InnerClasses requires EnclosingMethod attribute. Check -keepattributes directive.
FAILURE: Build failed with an exception.
What went wrong: Execution failed for task ':app:minifyProdReleaseWithR8'.
Try:
Get more help at https://help.gradle.org