Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
6
Question by Richard 3 · May 03, 2011 at 11:39 AM · androidbuildlicensekeystorepublish

Create Keystore

How do I go about creating a keystore? I am trying to build my 1st Android app and am competently lost.

Thank You

Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image cregox · Aug 05, 2013 at 06:52 PM 0
Share

postum duplicate: http://answers.unity3d.com/questions/403985/building-for-android.html

5 Replies

· Add your reply
  • Sort: 
avatar image
1
Best Answer

Answer by thomasw · Feb 21, 2012 at 09:45 AM

This thread might answer your question: http://forum.unity3d.com/threads/62137-Android-Signing

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
3

Answer by JigneshKoradiya · Jul 28, 2015 at 09:44 AM

you have to visit this video to understand keystore :

https://youtu.be/iBmgCnJ_z1k

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by Rash55 · May 02, 2017 at 05:57 AM

i followed video. after filling information when i click on create key button. it shows error:

Unable to create key in keystore. Please make sure the location and password of the keystore is correct. See the Console for more details.

UnityEditor.Android.CommandInvokationFailure: Unable to create key in keystore. Please make sure the location and password of the keystore is correct. See the Console for more details. C:/Program Files (x86)/Java/jdk1.8.0_111\bin\java.exe -Xmx1024M -Dcom.android.sdkmanager.toolsdir="C:/Users/HP/AppData/Local/Android/sdk\tools" -Dfile.encoding=UTF8 -jar "C:\Program Files\Unity\Editor\Data\PlaybackEngines\AndroidPlayer/Tools\sdktools.jar" -

stderr[ Exception in thread "main" java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at SDKMain.main(SDKMain.java:129) Caused by: java.lang.IllegalArgumentException: invalid date string: Unparseable date: "glghflgfihikGMT+00:00" at org.bouncycastle.asn1.DERUTCTime.(Unknown Source) at org.bouncycastle.asn1.x509.Time.(Unknown Source) at org.bouncycastle.x509.X509V3CertificateGenerator.setNotBefore(Unknown Source) at UnityKeyToolGenKey.(UnityKeyToolGenKey.java:87) at UnityKeyToolGenKey.main(UnityKeyToolGenKey.java:29) ... 5 more ] stdout[

] at UnityEditor.Android.Command.Run (System.Diagnostics.ProcessStartInfo psi, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) [0x00000] in :0 at UnityEditor.Android.AndroidSDKTools.RunCommandInternal (System.String javaExe, System.String sdkToolsDir, System.String[] sdkToolCommand, Int32 memoryMB, System.String workingdir, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) [0x00000] in :0 at UnityEditor.Android.AndroidSDKTools.RunCommandSafe (System.String javaExe, System.String sdkToolsDir, System.String[] sdkToolCommand, Int32 memoryMB, System.String workingdir, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) [0x00000] in :0 UnityEditor.HostView:OnGUI()

how to solve this. please help.

@JigneshKoradiya

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image aditya · May 02, 2017 at 06:58 AM 0
Share

Either the location you are trying to save your keystore file in is not accessible to unity (Try running unity as Admnistrator) or your passwords are not matching or your password contains less then 8 characters

avatar image Bunny83 · May 02, 2017 at 09:23 AM 0
Share

This seems to be the exact same issue as this question. Somehow Java tries to parse the string:

 "glghflgfihikG$$anonymous$$T+00:00"

as date which of course results in the thrown "IllegalArgumentException: invalid date string: Unparseable date". However it's not clear what causes this strange problem. $$anonymous$$aybe you use a strange Java version (at least it's the same as in the other question), or it's something else specific to your setup (hardware, OS, Unity version, ...).

So you should try updating your Java installation and make sure your Android SD$$anonymous$$ is up-to-date as well.

You posted this as answer to this question which is already 6 years old. Answers should answer the question and not asking another different question. If you have a question you should **Ask a Question**

avatar image
0

Answer by Bryan1598 · Jul 25, 2018 at 12:09 PM

Click Build (ALT+B) > Generate Signed APK... Click Create new..(ALT+C) Browse Key store path (SHIFT+ENTER) > Select Path > Enter name > OK. Fill the detail about your .jks/keystore file. Next. Your file.

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by KingKong320 · Aug 06, 2018 at 09:45 AM

check this link.

https://answers.unity.com/questions/403985/building-for-android.html

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

7 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Do you leave the checkmark on Development Build when building your final signed apk file for upload to Android Market? 1 Answer

Does the personal version include build to android? I keep getting the message "Your license does not cover Android Publishing". If not which tier do I have to purchase to get this? 3 Answers

WHY WON'T MY GAME LOAD ON MY DEVICE? 0 Answers

Android publishing process alias 2 Answers

Android Failled to Install 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges