即使在成功构建后,更改也没有反映在 Ionic 3 应用程序中 [英] Changes are not getting reflected in Ionic 3 app even after successful build

查看:13
本文介绍了即使在成功构建后,更改也没有反映在 Ionic 3 应用程序中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的应用程序 ionic 3 遇到了 3 天的问题.事实上,在 prod 和 release 模式下的 builder 之后,总是考虑到旧版本.变化没有反映.因此,当模式调试时,更改会很好.我尝试了几种解决方案可能没有任何效果.

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

  1. ionic cordova 平台 rm android
  2. ionic cordova 平台添加 android
  3. ionic cordova build android --prod --release --aot- - - - - - 没变化 - - - - - - -我已将 app-scripts 版本降级,始终相同

我已删除 www 文件夹并在运行 build commande 后运行 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.5Cordova 插件: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 分辨率: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 odejs ode.exe)npm:6.4.1操作系统:Windows 10

Android SDK Tools : 26.1.1 (C:Sdk) NodeJS : v10.15.1 (C:Program Files odejs ode.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. 移除离子插件 applflow

我选择了 1.

应用流文档https://ionicframework.com/appflow

这篇关于即使在成功构建后,更改也没有反映在 Ionic 3 应用程序中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆