简体   繁体   English

离子 android 版本(签名)APK 没有工作

[英]Ionic android release (signed) APK is not woking

I've designed a beautiful app Yes Jobs on latest ionic's android platform.我在最新的 ionic 的 android 平台上设计了一个漂亮的应用程序 Yes Jobs。

I have used HTTPS apis for secured connection.我已使用 HTTPS api 进行安全连接。

I have generated debug.apk ionic cordova build android --prod ==> working fine through side loading app through USB我已经生成了 debug.apk ionic cordova build android --prod ==> 通过 USB 侧加载应用程序工作正常

I have generated release.apk ionic cordova build android --prod --release ==> app is open but the first API of login itself doesn't work, ultimately application on working on release version我已经生成了 release.apk ionic cordova build android --prod --release ==> 应用程序已打开,但登录版本本身的第一个 API 不起作用,最终应用程序在发布

I have read some where about the generate keystore in every version of release.我在每个版本的发行版中都阅读了一些关于生成密钥库的地方。

Please tell me the reason or solution why application in debug.apk is working but not the release version请告诉我为什么 debug.apk 中的应用程序正在运行但不是发布版本的原因或解决方案

Firstly you don't have to generate keystore in every version of release you have to just once.首先,您不必在每个版本中生成密钥库,您只需一次。

Secondly you have to sign your app smoothly if you ready to publish your app.其次,如果您准备发布您的应用程序,您必须顺利签署您的应用程序。 You should你应该

use jarsigner with the JDK tool for this and get a signed apk for publish.为此使用带有 JDK 工具的jarsigner并获取签名的 apk 以进行发布。 If you如果你

don't know how do thes step you should check this link:>不知道这些步骤你应该检查这个链接:>

https://ionicframework.com/docs/v1/guide/publishing.html https://ionicframework.com/docs/v1/guide/publishing.html

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM