Jump to content


Photo

[Android] KeyStore file does not exist


  • Please log in to reply
31 replies to this topic

#1 King Tetiro

King Tetiro

    King of Orenna

  • GMC Member
  • 2525 posts
  • Version:GM:Studio

Posted 04 March 2012 - 09:15 PM

Hey folks, need a hand with a problem. I've been preparing the Android running so that I can test for Android system with Legena and my 3D coursework as per usual with my GMS testing.

However in the Android preferences, I clicked the Check SDK button thing and it stated that "KeyStore file does not exist"

I have no idea what a KeyStore is. Would anyone be able to enlighten me on what KeyStore is and how to fix this problem?

Thanks to those who help
  • 0

If I have provided feedback on a game of yours, it would be epic if you do the same!
LND_Twitter_Icon.png Leon_Topic_Icon.png

Leon [PC]  | |Texture Page Calculator for GMStudio | Analog Sticks for GMStudio


#2 Mayhem Games

Mayhem Games

    Proud Kiwi

  • GMC Member
  • 959 posts
  • Version:GM:Studio

Posted 04 March 2012 - 09:24 PM

I believe a KeyStore is how you sign an application for Android, Similar to the Provisional Profile for iOS.

You can generate yourself one in the Preferences dialog, under the Android tab.

Edited by Mayhem Games, 04 March 2012 - 09:24 PM.

  • 1

For a long time it puzzled me how something so expensive, so leading edge, could be so useless, and then it occurred to me that a computer is a stupid machine with the ability to do incredibly smart things, while computer programmers are smart people with the ability to do incredibly stupid things. They are, in short, a dangerously perfect match. ~ Bill Bryson


#3 Chronic

Chronic

    Administrator

  • Global Moderators
  • 2729 posts
  • Version:GM:Studio

Posted 04 March 2012 - 09:27 PM

Go here: http://wiki.yoyogame...dio_for_Android
  • 0

My recent tutorials: [Auto-Tiling] [Text Based Menu] [Sprite Based Menu] [View more at my site]
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
R.I.P Mom (1951-2008)


#4 King Tetiro

King Tetiro

    King of Orenna

  • GMC Member
  • 2525 posts
  • Version:GM:Studio

Posted 04 March 2012 - 09:35 PM

I believe a KeyStore is how you sign an application for Android, Similar to the Provisional Profile for iOS.

You can generate yourself one in the Preferences dialog, under the Android tab.


I have tried and tried to generate it, but there's no luck at all. I searched for the .keystore file and it doesn't exist. What's going wrong?
  • 0

If I have provided feedback on a game of yours, it would be epic if you do the same!
LND_Twitter_Icon.png Leon_Topic_Icon.png

Leon [PC]  | |Texture Page Calculator for GMStudio | Analog Sticks for GMStudio


#5 Nocturne

Nocturne

    Nocturne Games

  • Administrators
  • 24914 posts
  • Version:GM:Studio

Posted 04 March 2012 - 10:30 PM

Did you follow all the instructions included in the wiki that Chronic linked to above?
  • 0

lz6lxdC.pngd7ZQQ3F.gifFlvJzyf.png

40799.png


#6 King Tetiro

King Tetiro

    King of Orenna

  • GMC Member
  • 2525 posts
  • Version:GM:Studio

Posted 04 March 2012 - 11:01 PM

Did you follow all the instructions included in the wiki that Chronic linked to above?


  • Download SDK - DONE
  • Run Installer and make sure it's "C:\Android\android-sdk" - DONE
  • Install additional tools - DONE (This took ages to solve)
  • Get to know the SDK - DONE
  • Do the Studio Basic Setup - DONE
  • Fill in the Private Keystore Details - DONE

I did all these things
  • 0

If I have provided feedback on a game of yours, it would be epic if you do the same!
LND_Twitter_Icon.png Leon_Topic_Icon.png

Leon [PC]  | |Texture Page Calculator for GMStudio | Analog Sticks for GMStudio


#7 TheMagician

TheMagician

    GMC Member

  • GMC Member
  • 622 posts

Posted 06 March 2012 - 01:40 AM

I've just had the exact same error.

Here's how I solved it (but I'm not sure whether this is how you should really do it):
I created a file called "android_keystore.keystore" somewhere on my harddrive (I placed it in the GMS subfolder in AppData).
Then, in the Android preferences in GMS I generated a new keystore file with its name also set to "android_keystore".
When you click on "generate" the field "Private KeyStore File" is filled in with a default path. I modified this path to point to the .keystore file that I had created before.

Everything works well now.
  • 0

#8 Nocturne

Nocturne

    Nocturne Games

  • Administrators
  • 24914 posts
  • Version:GM:Studio

Posted 06 March 2012 - 08:52 AM

What did you fill in for the keystore details? A known issue is when you have (for example) "Dundee, Scotland" (note the comma) as your work location, or "N/A" as not applicable for the developement unit. Ideally, you should only have one word in those sections...
  • 0

lz6lxdC.pngd7ZQQ3F.gifFlvJzyf.png

40799.png


#9 King Tetiro

King Tetiro

    King of Orenna

  • GMC Member
  • 2525 posts
  • Version:GM:Studio

Posted 06 March 2012 - 09:04 AM

What did you fill in for the keystore details? A known issue is when you have (for example) "Dundee, Scotland" (note the comma) as your work location, or "N/A" as not applicable for the developement unit. Ideally, you should only have one word in those sections...


Name : king_tetiro
Passwords...
Alias : King Tetiro (No space and Caps. Yeh. I'm that clever.)
Common Name : King Tetiro (Got lazy)
Organizational Unit : N/A
Organization : N/A
Location...
Country : GB

As you can tell, everything was filled in.
  • 0

If I have provided feedback on a game of yours, it would be epic if you do the same!
LND_Twitter_Icon.png Leon_Topic_Icon.png

Leon [PC]  | |Texture Page Calculator for GMStudio | Analog Sticks for GMStudio


#10 Nocturne

Nocturne

    Nocturne Games

  • Administrators
  • 24914 posts
  • Version:GM:Studio

Posted 06 March 2012 - 09:53 AM

Get rid of the N/A and just either leave it blank or actually write "not applicable" and then try again...
  • 0

lz6lxdC.pngd7ZQQ3F.gifFlvJzyf.png

40799.png


#11 TheMagician

TheMagician

    GMC Member

  • GMC Member
  • 622 posts

Posted 06 March 2012 - 11:14 AM

Have you tried my solution?
  • 0

#12 King Tetiro

King Tetiro

    King of Orenna

  • GMC Member
  • 2525 posts
  • Version:GM:Studio

Posted 06 March 2012 - 11:55 AM

Yup and it seems to have shut GMS up for now
  • 0

If I have provided feedback on a game of yours, it would be epic if you do the same!
LND_Twitter_Icon.png Leon_Topic_Icon.png

Leon [PC]  | |Texture Page Calculator for GMStudio | Analog Sticks for GMStudio


#13 Nocturne

Nocturne

    Nocturne Games

  • Administrators
  • 24914 posts
  • Version:GM:Studio

Posted 06 March 2012 - 12:14 PM

Yes, but only because you have fooled it into believing you have that keystore file... But what about the Android Market? Is the keystore file you create this way valid? I think it would be better to generate an actual keystore file than to fake one in this way and possibly have problems at a later date.
  • 0

lz6lxdC.pngd7ZQQ3F.gifFlvJzyf.png

40799.png


#14 King Tetiro

King Tetiro

    King of Orenna

  • GMC Member
  • 2525 posts
  • Version:GM:Studio

Posted 06 March 2012 - 12:37 PM

Yes, but only because you have fooled it into believing you have that keystore file... But what about the Android Market? Is the keystore file you create this way valid? I think it would be better to generate an actual keystore file than to fake one in this way and possibly have problems at a later date.


I completely agree, which is why I'm still going to try and fix the problem. Now I noticed that the file is automatically created in the Local/AppData. I went to the Local area and there's no AppData folder which I can publically view (But it is there apparently). Anyone know how to open the folder?
  • 0

If I have provided feedback on a game of yours, it would be epic if you do the same!
LND_Twitter_Icon.png Leon_Topic_Icon.png

Leon [PC]  | |Texture Page Calculator for GMStudio | Analog Sticks for GMStudio


#15 Nocturne

Nocturne

    Nocturne Games

  • Administrators
  • 24914 posts
  • Version:GM:Studio

Posted 06 March 2012 - 12:48 PM

Just copy the direction from the studio form and paste it into windows explorer (minus the actual file name) and windows should open the location... So, for example, I would copy this "C:\Users\Nocturne\AppData\Local\GameMaker-Studio\" and paste it into the windows explorer bar...
  • 0

lz6lxdC.pngd7ZQQ3F.gifFlvJzyf.png

40799.png


#16 King Tetiro

King Tetiro

    King of Orenna

  • GMC Member
  • 2525 posts
  • Version:GM:Studio

Posted 06 March 2012 - 05:25 PM

Just copy the direction from the studio form and paste it into windows explorer (minus the actual file name) and windows should open the location... So, for example, I would copy this "C:\Users\Nocturne\AppData\Local\GameMaker-Studio\" and paste it into the windows explorer bar...


Ok I've done that and the keystore I generated isn't there despite it being the correct directory and clicking the Generate button a ton of times
  • 0

If I have provided feedback on a game of yours, it would be epic if you do the same!
LND_Twitter_Icon.png Leon_Topic_Icon.png

Leon [PC]  | |Texture Page Calculator for GMStudio | Analog Sticks for GMStudio


#17 Nocturne

Nocturne

    Nocturne Games

  • Administrators
  • 24914 posts
  • Version:GM:Studio

Posted 06 March 2012 - 05:32 PM

Okay... Hmmm... Wait, in your checklist you fail to mention the Java Developement Kit (JDK). You DO have that installed to, don't you?
  • 0

lz6lxdC.pngd7ZQQ3F.gifFlvJzyf.png

40799.png


#18 King Tetiro

King Tetiro

    King of Orenna

  • GMC Member
  • 2525 posts
  • Version:GM:Studio

Posted 06 March 2012 - 05:48 PM

Okay... Hmmm... Wait, in your checklist you fail to mention the Java Developement Kit (JDK). You DO have that installed to, don't you?


I have installed the latest version and it's still the same problem
  • 0

If I have provided feedback on a game of yours, it would be epic if you do the same!
LND_Twitter_Icon.png Leon_Topic_Icon.png

Leon [PC]  | |Texture Page Calculator for GMStudio | Analog Sticks for GMStudio


#19 King Tetiro

King Tetiro

    King of Orenna

  • GMC Member
  • 2525 posts
  • Version:GM:Studio

Posted 09 March 2012 - 12:59 PM

I have spent the last 3 nights trying to figure this out and it has failed to provide positive results. I have no idea why a keystore isn't being created

EDIT: I think I just had a special moment, do you need to have an Android device connected to the PC/laptop to generate a keystore??

Edited by King Tetiro, 09 March 2012 - 04:04 PM.

  • 0

If I have provided feedback on a game of yours, it would be epic if you do the same!
LND_Twitter_Icon.png Leon_Topic_Icon.png

Leon [PC]  | |Texture Page Calculator for GMStudio | Analog Sticks for GMStudio


#20 rwkay

rwkay

    YoYo Games CTO

  • YoYo Games Staff
  • 2819 posts
  • Version:Unknown

Posted 09 March 2012 - 04:12 PM

No you do not need to have the device connected at all, you should just need to ensure that the Java SDK is installed correctly as the tools are contained inside that for generating the keystore, please ensure that you have the Java SDK and not just the Java Run Time Environment (JRE) as this may appear to work in some situations but it does not have all the tools that are required.

Russell
  • 0

#21 King Tetiro

King Tetiro

    King of Orenna

  • GMC Member
  • 2525 posts
  • Version:GM:Studio

Posted 09 March 2012 - 04:26 PM

No you do not need to have the device connected at all, you should just need to ensure that the Java SDK is installed correctly as the tools are contained inside that for generating the keystore, please ensure that you have the Java SDK and not just the Java Run Time Environment (JRE) as this may appear to work in some situations but it does not have all the tools that are required.

Russell


I have re-installed the Java SDK (Java SE 7u3). The problem still occurs
  • 0

If I have provided feedback on a game of yours, it would be epic if you do the same!
LND_Twitter_Icon.png Leon_Topic_Icon.png

Leon [PC]  | |Texture Page Calculator for GMStudio | Analog Sticks for GMStudio


#22 Cakefish

Cakefish

    I Shot The Sheriff

  • GMC Member
  • 1477 posts
  • Version:GM:Studio

Posted 09 March 2012 - 05:06 PM

I had this problem.

Then I renamed my 'company name' from 'N/A' to 'NA'.

It doesn't like /'s.
  • 0

 2a7ubuv.jpg


#23 King Tetiro

King Tetiro

    King of Orenna

  • GMC Member
  • 2525 posts
  • Version:GM:Studio

Posted 09 March 2012 - 05:09 PM

I had this problem.

Then I renamed my 'company name' from 'N/A' to 'NA'.

It doesn't like /'s.


Cakefish I could bloody kiss you! I removed all the " "s, "_"s and "/"s and it now works a treat!

Thanks for sorting the problem Cakefish!
  • 0

If I have provided feedback on a game of yours, it would be epic if you do the same!
LND_Twitter_Icon.png Leon_Topic_Icon.png

Leon [PC]  | |Texture Page Calculator for GMStudio | Analog Sticks for GMStudio


#24 Nocturne

Nocturne

    Nocturne Games

  • Administrators
  • 24914 posts
  • Version:GM:Studio

Posted 09 March 2012 - 05:25 PM


I had this problem.

Then I renamed my 'company name' from 'N/A' to 'NA'.

It doesn't like /'s.


Cakefish I could bloody kiss you! I removed all the " "s, "_"s and "/"s and it now works a treat!

Thanks for sorting the problem Cakefish!



Ahem... Posted Image

Get rid of the N/A and just either leave it blank or actually write "not applicable" and then try again...


  • 0

lz6lxdC.pngd7ZQQ3F.gifFlvJzyf.png

40799.png


#25 King Tetiro

King Tetiro

    King of Orenna

  • GMC Member
  • 2525 posts
  • Version:GM:Studio

Posted 09 March 2012 - 05:38 PM



I had this problem.

Then I renamed my 'company name' from 'N/A' to 'NA'.

It doesn't like /'s.


Cakefish I could bloody kiss you! I removed all the " "s, "_"s and "/"s and it now works a treat!

Thanks for sorting the problem Cakefish!



Ahem... Posted Image

Get rid of the N/A and just either leave it blank or actually write "not applicable" and then try again...


Oh yes I did that earlier. But it seems it's not just "/" that causes a virtual slap in the face.

But thanks for leading to the fix of the problem man
  • 0

If I have provided feedback on a game of yours, it would be epic if you do the same!
LND_Twitter_Icon.png Leon_Topic_Icon.png

Leon [PC]  | |Texture Page Calculator for GMStudio | Analog Sticks for GMStudio


#26 TheMagician

TheMagician

    GMC Member

  • GMC Member
  • 622 posts

Posted 10 March 2012 - 06:33 PM

Unfortunately even without the special characters like / my keystore file is still not being generated.

Could the problem be that I installed the Java SDK AFTER installing GMS?
  • 0

#27 TheMagician

TheMagician

    GMC Member

  • GMC Member
  • 622 posts

Posted 18 March 2012 - 07:58 PM

Sorry for bumping this up. I'd just like to know whether keystore generation works fine for everybody.

My keystore file is still not being generated. I have installed JDK, Android-SDK + Tools...
  • 0

#28 MewX

MewX

    GMC Member

  • New Member
  • 3 posts

Posted 21 March 2012 - 09:58 AM

Sorry for bumping this up. I'd just like to know whether keystore generation works fine for everybody.

My keystore file is still not being generated. I have installed JDK, Android-SDK + Tools...

Same here. I already installed Studio on my desktop computer just fine but I can't generate a keystore file on my laptop.

The only difference I am aware of is that I installed Studio to a custom location on my desktop, while I installed it to the default path on my laptop.

Edit: Solved it by choosing new passwords. Maybe the old ones where to short(?)...

Edited by MewX, 21 March 2012 - 10:00 AM.

  • 0

#29 TheMagician

TheMagician

    GMC Member

  • GMC Member
  • 622 posts

Posted 21 March 2012 - 01:25 PM

Edit: Solved it by choosing new passwords. Maybe the old ones where to short(?)...


Yes, that solved it for me, too! Thanks for sharing your solution.

Perhaps someone could add that to the Wiki?
  • 0

#30 Nocturne

Nocturne

    Nocturne Games

  • Administrators
  • 24914 posts
  • Version:GM:Studio

Posted 21 March 2012 - 01:30 PM


Edit: Solved it by choosing new passwords. Maybe the old ones where to short(?)...


Yes, that solved it for me, too! Thanks for sharing your solution.

Perhaps someone could add that to the Wiki?


I'll checkit out and find what the exact minimum length is and add that in ASAP.

EDIT: Okay, the wiki has been updated. Seems like there is a minimum of 6 characters for the passwords.

Edited by Nocturne, 21 March 2012 - 02:08 PM.

  • 0

lz6lxdC.pngd7ZQQ3F.gifFlvJzyf.png

40799.png


#31 Deibidy

Deibidy

    GMC Member

  • New Member
  • 1 posts
  • Version:GM:Studio

Posted 30 March 2014 - 11:59 PM

I had a problem generating a key hash and I feel like I need to let people know how I solved it.

If you have avast! anti-virus installed on your PC, disable it whilst you generate the key hash. Hopefully this will work for people who have a problem generating the file. I was trying to solve this for days and I couldn't for the life of me figure it out, until now of course. Hope this helps people.  :thumbsup:


  • 0

#32 Drewskie

Drewskie

    GMC Member

  • New Member
  • 2 posts
  • Version:GM8.1

Posted 17 August 2015 - 06:57 PM

I followed all the steps and I still cant figure out whats going on i just tested the game on my android device and now when i finally  decided to fill in the key store section it says Keystore file does not exist. I cant even test on android anymore. I just bought my module. If there's anyone out there that cal help me please I would really appreciate it. It shouldnt be anything wrong with the sdk I just ran the game on my LG3. So maybe theres something I just dont quite get. 


  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users