简体   繁体   English

React Native app,安装发布apk,解析错误

[英]React Native app, installing release apk, parse error

meizu m2 mini android 5.1 screenshot魅族 m2 mini 安卓 5.1 截图

I have parse error on some devices, but i cannot find reason, because for example it works on one Meizu and not working on another Meizu, and the same with android version, it work on Android 5 on one phone and not working on another phone with android 5. It not works if i build app release apk and try to install it manually, but if i try to debug with usb cabel - it works , also it works if i install app by using command react-native run-android --variant=release我在某些设备上有解析错误,但我找不到原因,因为例如它在一个魅族上工作而在另一个魅族上工作,与 android 版本相同,它在一部手机上工作在 Android 5 而在另一部手机上工作使用 android 5。如果我构建应用程序发布 apk 并尝试手动安装它,则它不起作用,但是如果我尝试使用 USB 电缆进行调试 - 它可以工作,如果我使用命令react-native run-android --variant=release安装应用程序,它也可以工作react-native run-android --variant=release

This is due to already installed debuged mode app in your device.这是由于您的设备中已经安装了调试模式应用程序。 Uninstall previously installed debug apk from your devive then install new released apk.从您的设备中卸载以前安装的调试 apk,然后安装新发布的 apk。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM