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

打包出来报错 #739

Closed
wulaizi opened this issue Nov 13, 2023 · 3 comments
Closed

打包出来报错 #739

wulaizi opened this issue Nov 13, 2023 · 3 comments

Comments

@wulaizi
Copy link

wulaizi commented Nov 13, 2023

手机1加10 pro
系统ColorOS 13.1
通过as 连着手机开发 或者在苹果模拟器都是能正常使用,
但是当打包出来 就会闪退,
把 react-native-agora的代码屏蔽掉 再打包出来,就正常了。
以下是部分报错信息
Snipaste_2023-11-13_11-25-26
Snipaste_2023-11-13_11-25-58
Snipaste_2023-11-13_11-26-28

@LichKing-2234
Copy link
Collaborator

有两个排查方向:

  1. 方便截图下最终打包的产物里有哪些.so么,需要确认是否包含了我们所有的so
  2. 检查下配置了避免混淆io.agora.*,如果没有则配置下

@wulaizi
Copy link
Author

wulaizi commented Nov 13, 2023

有两个排查方向:

  1. 方便截图下最终打包的产物里有哪些.so么,需要确认是否包含了我们所有的so
  2. 检查下配置了避免混淆io.agora.*,如果没有则配置下

确实是混淆的问题,我把这个加入了不混淆 就可以了

@wulaizi
Copy link
Author

wulaizi commented Nov 13, 2023

有两个排查方向:

  1. 方便截图下最终打包的产物里有哪些.so么,需要确认是否包含了我们所有的so
  2. 检查下配置了避免混淆io.agora.*,如果没有则配置下

确实是混淆的问题,我把这个加入了不混淆 就可以了

感谢

LichKing-2234 added a commit that referenced this issue Nov 13, 2023
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