What is a key store path in Android Studio?

与世无争的帅哥 提交于 2020-12-15 07:20:43

问题


I just created my first game using Buildbox and I am trying to upload it to the Google Play Store. Apparently, I have to use Android Studio to turn the game file into an APK. So far, I know how to open it and select "Generate signed APK" or something along those lines, but then I am given a screen like this. I have virtually no prior knowledge of any of this, so am I supposed to create a new key store path? Do I already have one? How do I do it?

Any tips are appreciated :)


回答1:


Key Store Path is the location where your keystore should be created.

If you are creating an apk for first time to release in play store, you have to select 'Create New...' ketstore path, where in which you will be promoted to a new window where you can fill in the details:

KeyStore path : select a path in your system (Create a path in any drive eg: *F:\AndroidKeys*)give a name to your key(eg:game).save in here with the specific name for your project (F:\AndroidKeys\game.jks).

Password**: Give some new password and confirm it(Don't forget).

Alias : Enter an identifying name for your key.

Password : Create and confirm a secure password for your key. This should be different from the password you chose for your keystore.

Validity: select time period for validity of key.

Certificate: Enter some information about yourself or organization (like name,..). Done with new key generation.

Now on the screen you mentioned select the path, key store password,key alias,key password(will be auto filled at first key generation). click next -- select build variants(debug or release) release in your case, select the signature versions-- finish .

You can find your release apk in app\release folder of your project.

Note: Please do remember the key and the password it should be same for the future update release of your application. Refer official android developer site for any referece: https://developer.android.com/studio/publish/app-signing

Hope this helps.




回答2:


If it is your first time, create new path for example in your desktop. Then choose an arbitrary password and alias for yourself. Write somewhere your settings not to forget them.



来源:https://stackoverflow.com/questions/61023649/what-is-a-key-store-path-in-android-studio

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!