简体   繁体   English

使用--prod和--release会导致应用程序Ionic3不稳定

[英]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设备上,但是我得到了一个不稳定的应用程序,其行为非常奇怪,并且产生了意外的结果,例如:

  1. Input fields are cannot be focused. 输入字段无法聚焦。
  2. the tabs navigation won't work. 标签导航将不起作用。
    .
    .
    .
    .and many other issues. 。和许多其他问题。

any help will be appreciated, 任何帮助将不胜感激,
thanks. 谢谢。

当我在iMac PC上进行构建,尝试在Windows PC上进行构建时,就会发生此问题,并且它的工作原理很吸引人。

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

相关问题 ionic3 cordova构建android --prod --release效果不理想 - ionic3 cordova build android --prod --release don't get the desired effect 使用--prod和--release构建Ionic 3 Angular 4应用程序时黑屏 - Blank screen when using --prod and --release to build Ionic 3 Angular 4 app 无法使用命令 ionic build android 创建构建 ionic3 - Unable to create build ionic3 using command ionic build android 离子cordova build --prod - release失败并产生错误 - ionic cordova build --prod --release fails and generate errors 离子3部署 - 释放比--prod慢得多 - ionic 3 deployment --release build much slower than --prod Ionic3 与 Cordova 应用程序在某些 android 中随机崩溃 11 - Ionic3 with Cordova application crash randomly in some android 11 使用intellij-core-26.0.1进行Ionic 3 prod发布构建问题 - Ionic 3 prod release build issue with intellij-core-26.0.1 无法读取离子Cordova构建android --prod --release中的属性 - Cannot read property in ionic cordova build android --prod --release 离子科尔多瓦建立android --prod --release错误:app:transformDexWithDexForRelease - ionic cordova build android --prod --release Error :app:transformDexWithDexForRelease 运行ionic cordova build android --prod --release时发生错误 - An error occurred while running ionic cordova build android --prod --release
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM