在签署 Apk 之前,我使用 --prod 和 --release 标志成功地将我的 ionic 应用程序构建到了 apk 中。一切都没有错误地发生。但是,如果我尝试在手机上安装该应用程序,则会出现错误:
" App not installed."
我真的不知道该怎么办了。我的手机运行的是 Android 8.1.0,我的 ionic 信息如下所示:
Ionic:
ionic (Ionic CLI) : 4.7.1 (C:\Users\Joxeff.DESKTOP-NMC7DC1\AppData\Roaming\npm\node_modules\ionic)
Ionic Framework : @ionic/angular 4.11.10
@angular-devkit/build-angular : 0.801.3
@angular-devkit/schematics : 8.1.3
@angular/cli : 8.1.3
@ionic/angular-toolkit : 2.1.2
Cordova:
cordova (Cordova CLI) : 9.0.0 (cordova-lib@9.0.1)
Cordova Platforms : android 8.1.0
Cordova Plugins : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 4.1.3, (and 6 other plugins)
System:
Android SDK Tools : 26.1.1 (C:\Users\Joxeff.DESKTOP-NMC7DC1\AppData\Local\Android\Sdk)
NodeJS : v12.13.0 (C:\Program Files (x86)\nodejs\node.exe)
npm : 6.12.0
OS : Windows 10