Mantis Bug Tracker

View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0009051GameMaker: Studio[All Projects] Compilerpublic2013-01-23 16:292013-05-09 09:41
ReporterPuh 
Assigned ToDaniel Cleaton 
PriorityHighSeverityB - MajorReproducibility100%
StatusclosedResolutionno change required 
PlatformAndroidOSWindows 8OS Version
Summary0009051: Android: Build fails becouse of the keystore file.
Description1. Please read to see how it all started:
-------------------------------------------------------------------------
http://gmc.yoyogames.com/index.php?showtopic=567884&st=0&gopid=4197714&#entry4197714 [^]



2. This is what your support let me test (read it from the bottom first):
-------------------------------------------------------------------------

Yes it is as you can see on this screenshot.
 

Ross Mills Ross Mills (YoYo Games Ltd.)

Jan 23 10:59 (GMT)

Hi,

We have checked your keystore and there is no issue here. I would suggest there is an issue with how the file is stored. Could you make sure eveything required for Android(JDK, ADK, keystore) is stored on the same drive.

Thanks,
Ross Mills
YoYo Games Customer Support Technician
 
 


Tge Boss Tge Boss

Jan 22 12:42 (GMT)

Hi Ross!

The path is C:\Users\Robert\AppData\Local\GameMaker-Studio\Robert5.keystore

And the keystore file is attached.

/Robert

Attachment(s)
Robert5.keystore

 
 


Ross Mills Ross Mills (YoYo Games Ltd.)

Jan 22 11:24 (GMT)

Hi Robert,

Can you please remove the keystore you have currently and create a new one via GameMaker, find where it is stored. Then get this file path and the keystore file and attach them to this ticket so we can check them.

Thanks,
Ross Mills
YoYo Games Customer Support Technician
 
 


Tge Boss Tge Boss

Jan 22 10:26 (GMT)

Hi!

I have changed so they match now but same result...
BUILD FAILED
C:\Users\Robert\AppData\Local\Android\android-sdk\tools\ant\build.xml:1128: The following error occurred while executing this line:
C:\Users\Robert\AppData\Local\Android\android-sdk\tools\ant\build.xml:1140: C:\Users\Robert\AppData\Local\Temp\gm_ttt_97142\gm_ttt_54361\Robert4.keystore (Det gÕr inte att hitta filen)

/Robert
 
 


Ross Mills Ross Mills (YoYo Games Ltd.)

Jan 22 10:20 (GMT)

Hi,

Can you check that the Name Password and Alias Password match as this can cause an issue with the Android SDK if they do not.

Thanks,
Ross Mills
YoYo Games Customer Support Technician
 
 


Tge Boss Tge Boss

Jan 21 14:25 (GMT)

Ok new keystore in default place but same result:

BUILD FAILED
C:\Users\Robert\AppData\Local\Android\android-sdk\tools\ant\build.xml:1128: The following error occurred while executing this line:
C:\Users\Robert\AppData\Local\Android\android-sdk\tools\ant\build.xml:1140: C:\Users\Robert\AppData\Local\Temp\gm_ttt_58480\gm_ttt_32380\Robert3.keystore (Det gÕr inte att hitta filen)

Total time: 49 seconds
 
 


Ross Mills Ross Mills (YoYo Games Ltd.)

Jan 21 14:17 (GMT)

Hi,

If you are still getting the error can you try storing the keystore on the C drive rather than the D drive or leave it in the original place it is generated.

Thanks,
Ross Mills
YoYo Games Customer Support Technician
 
 


Tge Boss Tge Boss

Jan 21 14:11 (GMT)

Yes I have done that.


and it says Keystore OK!

Attachment(s)
image[1].png

 
 


Ross Mills Ross Mills (YoYo Games Ltd.)

Jan 21 14:08 (GMT)

Hi,

If you move the file you will need to update the path to the keystore within GameMaker for it to work correctly.

Thanks,
Ross Mills
YoYo Games Customer Support Technician
 
 


Tge Boss Tge Boss

Jan 21 14:07 (GMT)

I changed the name field and pressed the generate key.
Then I moved the new keystore file to the new map.

But I still get....
BUILD FAILED
C:\Users\Robert\AppData\Local\Android\android-sdk\tools\ant\build.xml:1128: The following error occurred while executing this line:
C:\Users\Robert\AppData\Local\Android\android-sdk\tools\ant\build.xml:1140: C:\Users\Robert\AppData\Local\Temp\gm_ttt_58480\gm_ttt_55291\Robert2.keystore (Det gÕr inte att hitta filen = Can’t find the file in english)
 
 


Ross Mills Ross Mills (YoYo Games Ltd.)

Jan 21 13:31 (GMT)

Hi,

How did you create the new keystore and did you move it?

Thanks,
Ross Mills
YoYo Games Customer Support Technician
 
 


Tge Boss Tge Boss

Jan 21 12:40 (GMT)

I deleted 2 of them
C:\Users\Robert\AppData\Local\GameMaker-Studio\Robert.keystore
C:\Users\Robert\AppData\Roaming\GameMaker-Studio\Android\runner\Robert.keystore

Then I created a new one in the same place
C:\Users\Robert\AppData\Local\GameMaker-Studio\RobertH.keystore


But build failed...:
C:\Users\Robert\AppData\Local\Android\android-sdk\tools\ant\build.xml:1128: The following error occurred while executing this line:
C:\Users\Robert\AppData\Local\Android\android-sdk\tools\ant\build.xml:1140: C:\Users\Robert\AppData\Local\Temp\gm_ttt_58480\gm_ttt_73577\RobertH.keystore (Can’t find the file)
 
 


Ross Mills Ross Mills (YoYo Games Ltd.)

Jan 21 11:21 (GMT)

Hi,

Have you deleted the old keystore and created a new one via the android preferences?

Thanks,
Ross Mills
YoYo Games Customer Support Technician
 
 


Tge Boss Tge Boss

Jan 21 10:56 (GMT)

Hi Ross!

I’ve tried that but get this:

BUILD FAILED
C:\Users\Robert\AppData\Local\Android\android-sdk\tools\ant\build.xml:1128: The following error occurred while executing this line:
C:\Users\Robert\AppData\Local\Android\android-sdk\tools\ant\build.xml:1140: Keystore was tampered with, or password was incorrect: Password verification failed

Total time: 49 seconds

/Robert
 
 


Ross Mills Ross Mills (YoYo Games Ltd.)

Jan 21 10:46 (GMT)

Hi,

Can you try recreating the keystore and retrying as it seems this has been affected in some way.

Thanks,
Ross Mills
YoYo Games Customer Support Technician
 
 


Tge Boss Tge Boss

Jan 21 10:43 (GMT)

I realy hope you can help me with this problem becouse so far I like GameMaker a lot.
Yes I am a newbie on GameMaker but I have been a programmer for many years.

I have done the first tutorial and it works just fine in Windows test.
But when I compile for Android Mips I get this:

Saving IFF file... C:\Users\Robert\AppData\Local\ Temp\gm_ttt_54662\gm_ttt_34336\RHDemo1- Default-1.0.0.droid
Writing Chunk... GEN8
Writing Chunk... OPTN
Writing Chunk... EXTN
Writing Chunk... SOND
Writing Chunk... SPRT
Writing Chunk... BGND
Writing Chunk... PATH
Writing Chunk... SCPT
Writing Chunk... FONT
Writing Chunk... TMLN
Writing Chunk... OBJT
Writing Chunk... ROOM
Writing Chunk... DAFL
Writing Chunk... TPAGE
Writing Chunk... CODE
Writing Chunk... VARI
Writing Chunk... FUNC
Writing Chunk... STRG
Writing Chunk... TXTR
0 Compressing texture... writing texture texture_0.png...
Writing Chunk... AUDO
Writing Chunk... SCPT
Writing Chunk... DBGI
Writing Chunk... STRG
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.

BUILD FAILED
C:\Users\Robert\AppData\Local\ Android\android-sdk\tools\ant\build. xml:881: The following error occurred while executing this line:
C:\Users\Robert\AppData\Local\ Android\android-sdk\tools\ant\build. xml:883: The following error occurred while executing this line:
C:\Users\Robert\AppData\Local\ Android\android-sdk\tools\ant\build. xml:895: The following error occurred while executing this line:
C:\Users\Robert\AppData\Local\ Android\android-sdk\tools\ant\build. xml:290: null returned: 2

Total time: 48 seconds

--------------------------------------------------- ---------

The lines in the xml file looks like this:
<!-- Converts this project's .class files into .dex files -->
<target name="-dex" depends="-compile, -post-compile, -obfuscate">
881 <do-only-if-manifest-hasCode elseText="hasCode = false. Skipping...">
<!-- only convert to dalvik bytecode is *not* a library -->
883 <do-only-if-not-library elseText="Library project: do not convert bytecode..." >
<!-- special case for instrumented builds: need to use no-locals and need
to pass in the emma jar. -->
<if condition="${build.is.instrumented}" >
<then>
<dex-helper nolocals="true">
<external-libs>
<fileset file="${emma.dir}/emma_device.jar" />
</external-libs>
</dex-helper>
</then>
<else>
895 <dex-helper />
</else>
</if>
</do-only-if-not-library>
</do-only-if-manifest-hasCode>
</target>

--------------------------------------------------- --


Ok I tried to uninstall GameMaker and than install it again as you said in http://help.yoyogames.com/entries/21951818-my-game-has-failed-to-build [^]

But know I get this:
Saving IFF file... C:\Users\Robert\AppData\Local\Temp\gm_ttt_35463\gm_ttt_93742\Demo1-Default-1.1.1.droid
Writing Chunk... GEN8
Writing Chunk... OPTN
Writing Chunk... EXTN
Writing Chunk... SOND
Writing Chunk... SPRT
Writing Chunk... BGND
Writing Chunk... PATH
Writing Chunk... SCPT
Writing Chunk... FONT
Writing Chunk... TMLN
Writing Chunk... OBJT
Writing Chunk... ROOM
Writing Chunk... DAFL
Writing Chunk... TPAGE
Writing Chunk... CODE
Writing Chunk... VARI
Writing Chunk... FUNC
Writing Chunk... STRG
Writing Chunk... TXTR
0 Compressing texture... writing texture texture_0.png...
1 Compressing texture... writing texture texture_1.png...
2 Compressing texture... writing texture texture_2.png...
Writing Chunk... AUDO
Writing Chunk... SCPT
Writing Chunk... DBGI
Writing Chunk... STRG
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.

BUILD FAILED
C:\Users\Robert\AppData\Local\Android\android-sdk\tools\ant\build.xml:1128: The following error occurred while executing this line:
C:\Users\Robert\AppData\Local\Android\android-sdk\tools\ant\build.xml:1140: Keystore was tampered with, or password was incorrect: Password verification failed

Total time: 49 seconds
 
 
Steps To ReproduceEverytime I build. Same on all tested apps. Your demos.
GM Version
Attached Files

- Relationships

-  Notes
(0016420)
Daniel Cleaton (administrator)
2013-02-04 17:48

Could you go to File > Preferences and turn on "Show commands in compile form" and "Show commands with verbose flag", then do another build, and then copy the entire compiler log into a new text document, then attach the new text document here, please? Please don't paste here directly.

Could you also attach a screenshot of your Android SDK manager settings showing which packages you have installed?

Can you also confirm that your Android preferences SDK check says all okay (a screenshot would be good here also) and that you have installed the 32bit version of the Java runtime.
(0019063)
Daniel Cleaton (administrator)
2013-03-22 17:02

Resolving as No Change Required, as no response to my feedback request in about 3 weeks and it's an SDK or more likely a setup issue on your machine anyway. Hopefully, you fixed it already.

Note that in a couple of your comments you say that you create the keystore, then move it elsewhere for some unknown reason. Be aware that when you do this you MUST update the path to the keystore inside GM also, otherwise of course it won't find the file. I read in another of your responses to Ross that building after generating a keystore and leaving it alone worked, which is confirmation of this.

I suspect that either your keystore path isn't pointing at the correct file or that you've somehow corrupted the keystore in place - probably by overwriting it with different values a few times, or something.

First of all, if you have released/published any games to Android stores using this keystore, please back it up!

Next, check that you're using the same password in both fields on File > Preferences > Android.

If that doesn't fix, delete the keystore file and fill in the details again (ensuring the passwords are the same) and then generate a new keystore file. Do not move the file. Try building again.

If that fails to fix also, then it's an SDK issue. I'd suggest wiping your current Android SDK installation and then starting from fresh. See the Helpdesk for FAQs on how your Android setup should look.


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker