即使成功构建,更改也不会反映在Ionic 3应用程序中 [英] Changes are not getting reflected in Ionic 3 app even after successful build
问题描述
我的ionic 3应用程序遇到了3天的问题. 实际上,在构建器处于生产和发布模式之后,始终要考虑的始终是旧版本.所做的更改不会反映出来. 因此,在进行模式调试时,所做的更改已被很好地采用. 我尝试了几种解决方案,可能什么也没有.
I met a problem for 3 days with my application ionic 3. In fact, after builder in prod and release mode, it is always the old version that is always taken into account. the changes do not reflect. So when mode debug, the changes are well taken. I tried several solutions may nothing.
离子v3
我也尝试了很多解决方案,但没有任何改变
Also i have tried many solutions but no changes
- ionic cordova平台rm android
- ionic cordova平台添加了android
- ionic cordova构建android --prod --release --aot - - - - - - 没变化 - - - - - - - 我已将应用程序脚本版本始终降级
- ionic cordova platforms rm android
- ionic cordova platforms add android
- ionic cordova build android --prod --release --aot ------------no change------------- I have downgrade the app-scripts version always same
我已经删除了www文件夹并在运行构建命令后仍然没有更改运行ionic serve --lab
i have delete the www folder and run ionic serve --lab
after i run build commande still no change
我需要帮助.
提前谢谢
离子:
离子CLI:5.2.3 离子框架:离子角3.9.2 @ ionic/app-scripts:3.1.8
Ionic CLI : 5.2.3 Ionic Framework : ionic-angular 3.9.2 @ionic/app-scripts : 3.1.8
科尔多瓦:
Cordova CLI:8.1.2(cordova-lib@8.1.1) Cordova平台:android 7.1.4,ios 4.5.5 Cordova插件:cordova-plugin-ionic 3.1.2,cordova-plugin-ionic-webview 1.2.1(和其他18个插件)
Cordova CLI : 8.1.2 (cordova-lib@8.1.1) Cordova Platforms : android 7.1.4, ios 4.5.5 Cordova Plugins : cordova-plugin-ionic 3.1.2, cordova-plugin-ionic-webview 1.2.1, (and 18 other plugins)
实用程序:
cordova-res:0.6.0 本机运行:0.2.8
cordova-res : 0.6.0 native-run : 0.2.8
系统:
Android SDK工具:26.1.1(C:\ SDK) NodeJS:v10.15.1(C:\ Program Files \ nodejs \ node.exe) npm:6.4.1 操作系统:Windows 10
Android SDK Tools : 26.1.1 (C:\Sdk) NodeJS : v10.15.1 (C:\Program Files\nodejs\node.exe) npm : 6.4.1 OS : Windows 10
成功建立通行证
推荐答案
最后,我找到了解决方案. 问题与离子插件(appflow)有关.
Finally I found the solution. The problem was related to the ionic plugin (appflow).
我有两个选择 1.使用已配置的分支从appflow平台生成apk.
I had two choices 1. Generate the apk from the appflow platform with the configured branch.
- 删除离子插件应用程序流
我选择了1.
appflow的文档 https://ionicframework.com/appflow
Documentation of appflow https://ionicframework.com/appflow
这篇关于即使成功构建,更改也不会反映在Ionic 3应用程序中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!