简体   繁体   中英

Codename One: Android release build

I'm currently having problems building a release-version for Android.
The keystore file/password/alias are correct and I've set "Generate Builds" to release, but I'm still getting the following notification:

Warning: Building for Android without a valid certificate will produce a temporary certificate that cannot be used for redistribution of applications. Its very easy and free to create an Android certificate, see: http://www.codenameone.com/signing.html

I have successfully used this certificate before, about two years ago...

I'm using NetBeans 8.1 with the CN1-plugin 3.3.2.

Is there a way to fix this?

That means Codename One didn't find the file or the password/alias are incorrect.

You can use the keytool to verify this:

keytool -list -v -keystore full_path_to_keystore -alias myalias

Make sure the alias/path are identical to what you see in NetBeans.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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