-
Notifications
You must be signed in to change notification settings - Fork 24.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when assembling Android release with proguard #13089
Labels
Resolution: Locked
This issue was locked by the bot.
Comments
Pretty sure this is duplicate of #11891. |
我有一个一样的问题,按 #11891的方法还是没解决,你的解决了么? |
@jxr202 你猜他能看懂不 |
This issue is coming due to pro-guard enable in the release config of the app. So the solution is either remove pro-guard or put the indicated code snippet as in the link https://readyandroid.wordpress.com/errorexecution-failed-for-task-apptransformclassesandresourceswithproguardforrelease/ |
@jxr202 我也遇到这个问题了,请问你解决了吗? |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Description
After creating a new React Native project, enabling proguard per these instructions, and building a release Android build I get the following error:
The specific warning in the output is:
Reproduction
react-native init --version="0.42.0" myapp
cd myapp/android
sed -i -e 's/enableProguardInReleaseBuilds = false/enableProguardInReleaseBuilds = true/g' app/build.gradle
./gradlew --offline assembleRelease
Solution
Don't know
Additional Information
The text was updated successfully, but these errors were encountered: