I have found many many confusing answers on this one: How do I sign (release/debug) android app without Android Studio (E.g. when signing ionic/cordova/phonegap app)?
相关问题
- How can I create this custom Bottom Navigation on
- Bottom Navigation View gets Shrink Down
- How to make that the snackbar action button be sho
- Listening to outgoing sms not working android
- How to create Circular view on android wear?
相关文章
- android开发 怎么把图片放入drawable的文件夹下
- android上如何获取/storage/emulated/下的文件列表
- androidStudio有个箭头不认识
- SQLite不能创建表
- Windows - Android SDK manager not listing any plat
- Animate Recycler View grid when number of columns
- Why is the app closing suddenly without showing an
- Android OverlayItem.setMarker(): Change the marker
You can Add Key store in Gradle file.
--> use CMD for generate signed APK.
So, the right and simple answer to date is:
Create a keystore file by calling:
Follow along and fill in and passwords (write them down in a place you'll find them!)
Create two files named:
debug-signing.properties
andrelease-signing.properties
Enter the following configuration to both (you can later change the keystore to harden the security for release build...):
Run build ...
I had the same problem. The easiest solution is to come back to the fundamentals through the DOS commands keytool and jarsigner. Note that these files must be located in the jdk directory to work well.
Only two actions to do:
- to use keytool for creating your keystore and your certificate(s):the first certificate is created when you create the single keystore. Then, the other certificates will be created by calling again the keytool command with the same keystore name
- then to use jarsigner. Prefer to differentiate the jar input filename and the generated signed jar filename when you prepare your jarsigner command
Ionic team giving a great idea about this query you can follow this link and you can do this with in 10 min's
http://ionicframework.com/docs/guide/publishing.html
But You need android sdk to do this ...
To set ANDROID_HOME
Windows
Linux Based Systems
Steps to Follow
Create release app
Create keystore
Signing the APK