[英]Using --prod and --release results unstable application Ionic3
Im building an Ionic3.9 application, during the development process, i use the command: 我在开发过程中建立了一个Ionic3.9应用程序,我使用以下命令:
Ionic cordova build android --device
离子cordova构建android --device
to run the application on real device, and it works fine. 在真实设备上运行该应用程序,效果很好。
but at the end of the development process, i tried to produce a release version in order to send an APK to other devices to test the application, i used the following commands: 但是在开发过程的最后,我试图产生一个发行版本,以便将APK发送到其他设备以测试该应用程序,我使用了以下命令:
Ionic cordova build android --prod --release
离子科尔多瓦建立android --prod --release
or:要么:
Ionic cordova run android --prod --release离子科尔多瓦运行android --prod --release
these commands produces .apk file, i tried to install this .apk file in different android devices, but i get an unstable application with very weird behaviorand unexpected results, for example: 这些命令生成.apk文件,我试图将此.apk文件安装在不同的android设备上,但是我得到了一个不稳定的应用程序,其行为非常奇怪,并且产生了意外的结果,例如:
any help will be appreciated, 任何帮助将不胜感激,
thanks. 谢谢。
当我在iMac PC上进行构建,尝试在Windows PC上进行构建时,就会发生此问题,并且它的工作原理很吸引人。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.