-
Notifications
You must be signed in to change notification settings - Fork 324
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
debug模式正常,生产环境闪退 #762
Comments
+1 |
请问解决了吗 |
需要加混淆
|
def enableProguardInReleaseBuilds = false |
加了混淆后 不闪退了 但是页面白屏 有遇到的吗 |
在开发debug下,进入退出几次后,就会出现白屏了 |
麻烦问一下页面进入白屏问题解决了吗?我这第一次打开app 进入地图白屏,再次打开就正常了。如解决麻烦告知一下,谢谢 |
|
加了混淆还是第一次进app打不开地图,我的rn版本0.63.5 amap3d版本 3.1.3麻烦问一下你都使用哪个版本 |
设置一个定位就可以打开
来自阿里邮箱Android客户端------------------------------------------------------------------
***@***.***>
日 期:2023年10月19日 09:41:42
***@***.***>
***@***.***>; ***@***.***>
主 题:Re: [qiuxiang/react-native-amap3d] debug模式正常,生产环境闪退 (Issue #762)
麻烦问一下页面进入白屏问题解决了吗?我这第一次打开app 进入地图白屏,再次打开就正常了。如解决麻烦告知一下,谢谢
添加代码混淆解决:
-keep class com.amap.api.maps.{*;}
-keep class com.autonavi.{;}
-keep class com.amap.api.trace.**{;}
加了混淆还是第一次进app打不开地图,我的rn版本0.63.5 amap3d版本 3.1.3麻烦问一下你都使用哪个版本
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
设置定位了,没有用,这种现象只存在第一次打开app,地图打不开,往后都是正常的。 |
请问解决了吗 |
解决了,是我自己的原因,初始化之前用成定位的了,改成AMapSdk.init( |
debug模式正常,生产环境闪退
The text was updated successfully, but these errors were encountered: