Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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 /
  • Help Room /
avatar image
1
Question by PerPasgaard · Feb 20, 2019 at 11:46 AM · keystore

Can not sign the application

We're having a problem creating a usable Keystore-file for publishing an App to Google Play.

We are able to create the keystore-file using Unity-->PlayerSettings-->Publishing Settings-->Keystore Manager - but whenever we try to build the APP, we get the following error.

UnityException: Can not sign the application

Unable to sign the application; keystore file not found!

KeyStore Manager: you should notice the following scenarios:

  • Whenever we create a new keystore-file, including a single new key, Unity can automatically both select and set the keystore-location and the Project Key.

  • Whenever I point to an existing keystore-file, and have to select the project key, The UI is showing a line just below, saying [Wrong Password]

The keystore-file is always located in the same location as specified in Unity3D-->Edit-->Preferences-->[Keystores Dedicated Location] - see this link:

https://answers.unity.com/questions/1586851/unable-to-create-key-in-keystore-2.html

In order to find a solution to this problem we also have tried to generate a keystore-file with at new key by commandline:

keytool.exe -genkey -v -keystore C:\got.keystore -alias got -keyalg RSA -keysize 2048 -validity 10000

And tried importing the certificat downloaded on Google Play from the new App, hoping this will solve the problem:

keytool.exe -importcert -file "C:\deployment_cert.der" -keystore "C:\got.keystore"

Both with and without the suggested migration to the standard PKCS12 format:

keytool.exe -importkeystore -srckeystore C:/got.keystore -destkeystore C:/got.keystore -deststoretype pkcs12

The verification always shows a single key as expected, with a SHA1-fingerprint: got, DD-MM-YYY, PrivateKeyEntry:

keytool.exe -list -keystore C:/got.keystore"

But in all cases above we see similar errore, which either are indicating problems with password or location of the Keystore-file.

  1. The App is already released under iOS on AppStore.

  2. It can be deployed on locale Android-devices without problems.

  3. We are using Unity version 2019.2.0a4 (I know this is alpha, but the first upload is for internal tests solely)

  4. We are running Visual Studio Community Edition version 15.9.7 on Windows 10 with most reasent updates.

What are we doing wrong here?

Comment
Add comment
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

2 Replies

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

Answer by PerPasgaard · Feb 20, 2019 at 01:17 PM

The problem is solved. We downgraded the Unity alpha-version to the latest beta version 2019.1.0b4, whick resulted in a succesfull build.

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
1

Answer by mr-mathews · Jul 09, 2019 at 09:48 PM

@PerPasgaard There is a workaround to this bug. The path Unity was putting together included the current directory by default. When I looked at what the build process was trying to access it showed as`$PWD\$Path` $PWD being the current directory the Unity process is running from - in my case the source directory for the build pipeline. The $Path was a fully qualified path to the location of the keystore. This becomes invalid when the current directory is added to the beginning.

If you're curious about this open ProcMon and watch for NAME INVALID results during the Unity build process.

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 pajamajama · Aug 29, 2019 at 01:19 AM 0
Share

@mr-mathews we're experiencing the same behavior, but only on windows. What is the workaround?

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

165 People are following this question.

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

Related Questions

Keystore Problem 0 Answers

What is a Keystore 1 Answer

Subscription Key - Keystore 0 Answers

keystore error while building after SKD update 0 Answers

Unable to create key in keystore. 2 Answers


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