Skip to content
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

Android app crashing in release Apk but working fine in debug , ios also working fine in release and debug. #829

Open
PrincyVaidya opened this issue Jul 5, 2024 · 3 comments

Comments

@PrincyVaidya
Copy link

No description provided.

@perfecten
Copy link

I have the same issue.

"react-native": "0.73.8",
"react-native-amap-geolocation": "^1.2.3",
"react-native-amap3d": "^3.2.4",

@perfecten
Copy link

perfecten commented Aug 10, 2024

搞定了,release在真机上也可以了
必须在build.gradle中设置
def enableProguardInReleaseBuilds = false

@PrincyVaidya
Copy link
Author

I kept def enableProguardInReleaseBuilds = true but added proguard rule inside proguard-rules.pro for Amap

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants