Creating the APK file - not working yet?
#61
Posted 22 May 2012 - 12:14 PM
#62
Posted 23 May 2012 - 02:38 PM
storepass="${key.store.password}"
So I simply removed the variable and manually added my password and voila! It worked!
#63
Posted 25 May 2012 - 04:07 AM
I had a heck of a time finaly getting past the jarsigning problem.
Finaly, I determined that re-generating the keystore file was NOT replacing the existing keystore.
Browse to the location of your Private Keystore File, the location is in the Android Tab of preferences and will be something like, C:\Users\username\AppData\Local\GameMaker-Studio\AndroidKeystore.keystore and delete it, then regenerate a new keystore file.
You, sir, are my savior!!!
#64
Posted 26 May 2012 - 03:25 AM
BUILD FAILED C:\Android\android-sdk\tools\ant\build.xml:470: Unable to resolve target 'Google Inc.:Google APIs:8' Total time: 5 seconds jarsigner: unable to open jar file: C:\Documents and Settings\Ryan\Local Settings\Temp\gm_ttt_23002\gm_ttt_19463\bin\RunnerActivity-release.apk Unable to open 'C:\Documents and Settings\Ryan\Local Settings\Temp\gm_ttt_23002\gm_ttt_19463\bin\RunnerActivity-release.apk' as zip archive
Any ideas on what the issue might be? I followed every single step on the YoyoGames page on how to set up for Android, all of my SDK, JDK, and Keystore info is correct, the passwords are the same for the keystore, I tried generating it, checking everything, then running the JarSigner.exe and I'm still getting this error.
#65
Posted 29 May 2012 - 09:48 PM
#66
Posted 06 June 2012 - 04:29 AM
Yeah, I'm having problems too. I got this:
BUILD FAILED
c:\Android\android-sdk\tools\ant\build.xml:470: Unable to resolve target 'Google Inc.:Google APIs:8'
I was having this one too.
Here what it solved to me:
Unistall SDK... then installed only APIs 7, 8 and 11
Just the> SDK Platform and Google APIs
And ready to go
Hope I helped
#67
Posted 20 June 2012 - 05:11 PM
I had a heck of a time finaly getting past the jarsigning problem.
Finaly, I determined that re-generating the keystore file was NOT replacing the existing keystore.
Browse to the location of your Private Keystore File, the location is in the Android Tab of preferences and will be something like, C:\Users\username\AppData\Local\GameMaker-Studio\AndroidKeystore.keystore and delete it, then regenerate a new keystore file.
yes this is a very important part: delete all keystore files before generate a new one....this works for me..i had the same problem....maybe this is a bug of gm
#68
Posted 28 June 2012 - 05:56 AM
Yeah, I'm having problems too. I got this:
BUILD FAILED
c:\Android\android-sdk\tools\ant\build.xml:470: Unable to resolve target 'Google Inc.:Google APIs:8'
I was having this one too.
Here what it solved to me:
Unistall SDK... then installed only APIs 7, 8 and 11
Just the> SDK Platform and Google APIs
And ready to go
Hope I helped
Didn't help.
I'm having problems too. I got this:
Writing Chunk... AUDO
Writing Chunk... SCPT
Writing Chunk... DBGI
Writing Chunk... STRG
BUILD FAILED
C:\Android\android-sdk\tools\ant\build.xml:518: Unable to resolve project target 'Google Inc.:Google APIs:8'
Total time: 0 seconds
Help please...
#69
Posted 08 July 2012 - 12:00 PM
Yeah, I'm having problems too. I got this:
BUILD FAILED
c:\Android\android-sdk\tools\ant\build.xml:470: Unable to resolve target 'Google Inc.:Google APIs:8'
I was having this one too.
Here what it solved to me:
Unistall SDK... then installed only APIs 7, 8 and 11
Just the> SDK Platform and Google APIs
And ready to go
Hope I helped
Didn't help.
I'm having problems too. I got this:
Writing Chunk... AUDO
Writing Chunk... SCPT
Writing Chunk... DBGI
Writing Chunk... STRG
BUILD FAILED
C:\Android\android-sdk\tools\ant\build.xml:518: Unable to resolve project target 'Google Inc.:Google APIs:8'
Total time: 0 seconds
Help please...
Hi,
Had you resolve your pb ?
I had the same, and to resolded it, i had do that :
- Go to you android-sdk directory
- Lauch SDK Manager.exe
- In SDK Manager, in Android 2.2 (API 8) section, check Goolgle APIs
- Click on Install 1 package button !
That's all !
Edited by philippe, 08 July 2012 - 12:01 PM.
#70
Posted 18 July 2012 - 03:16 PM
I had the same, and to resolded it, i had do that :
- Go to you android-sdk directory
- Lauch SDK Manager.exe
- In SDK Manager, in Android 2.2 (API 8) section, check Goolgle APIs
- Click on Install 1 package button !
That's all !
I can confirm that on a new setup the directions above worked perfectly and got GMS creating APKs for me. Thanks for posting the tip.
#71
Posted 03 February 2013 - 03:46 AM
1) Before generating my keystore, just as the guide above, with the 2 passwords being the same. I also ticked "Always do full install of APK"
2) Went to "Global Game Settings"
3) Select "Android" tab
4) Within "Android" tab, go to "Graphics" tab
4) Within "Graphics" tab I selected "Any device supported". I left everything else as they were.
And for some reasons, this worked for me.
Hope this helps.
#72
Posted 03 February 2013 - 08:19 PM
#73
Posted 09 March 2013 - 04:27 PM
I had a heck of a time finaly getting past the jarsigning problem.
Finaly, I determined that re-generating the keystore file was NOT replacing the existing keystore.
Browse to the location of your Private Keystore File, the location is in the Android Tab of preferences and will be something like, C:\Users\username\AppData\Local\GameMaker-Studio\AndroidKeystore.keystore and delete it, then regenerate a new keystore file.
that did it for me. Grr...that along with reinstalling, reupdating, generating it the way told....and then saving it to the project folder.... grrr... what a frustration!
Here is where it says the error has been, like the line of code on the build.xml file...<do-only-if-not-library elseText="Library project: do not create apk..." > <sequential> <property name="out.unaligned.file" location="${out.absolute.dir}/${ant.project.name}-release-unaligned.apk" /> <!-- Signs the APK --> <echo>Signing final apk...</echo> <signjar jar="${out.packaged.file}" signedjar="${out.unaligned.file}" keystore="${key.store}" storepass="${key.store.password}" alias="${key.alias}" keypass="${key.alias.password}" verbose="${verbose}" />
Could you please edit the build file and email it to me at playgames2011@live.co.uk, help would be appreciated
#74
Posted 11 March 2013 - 10:09 AM
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: C:\Users\Tiago\AppData\Local\Temp\gm_ttt_7722\gm_ttt_21916\src\com\massivehamsterstudios\arnie\Gamepad\Gamepad.java uses unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
Then it says build succefully and the apk has only 4mbs (it's 18mbs) and when i run it a black screen appears and returns to the home screen
#75
Posted 07 April 2013 - 05:47 PM
Decided to come back to this topic because I also have a problem (never seen this one before though):
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:\***\Documents\Quackertree Studios\Android SDK\sdk\tools\ant\build.xml:881: The following error occurred while executing this line:
C:\***\Documents\Quackertree Studios\Android SDK\sdk\tools\ant\build.xml:883: The following error occurred while executing this line:
C:\***\Documents\Quackertree Studios\Android SDK\sdk\tools\ant\build.xml:895: The following error occurred while executing this line:
C:\***\Documents\Quackertree Studios\Android SDK\sdk\tools\ant\build.xml:290: null returned: 2
Anyone any ideas on how to solve this?
#76
Posted 10 April 2013 - 01:40 PM
Update Game Maker.
#77
Posted 14 April 2013 - 06:07 PM
I am having the exact same issue as G-Games.
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:\***\Documents\Quackertree Studios\Android SDK\sdk\tools\ant\build.xml:881: The following error occurred while executing this line:
C:\***\Documents\Quackertree Studios\Android SDK\sdk\tools\ant\build.xml:883: The following error occurred while executing this line:
C:\***\Documents\Quackertree Studios\Android SDK\sdk\tools\ant\build.xml:895: The following error occurred while executing this line:
C:\***\Documents\Quackertree Studios\Android SDK\sdk\tools\ant\build.xml:290: null returned: 2
I have poured over this thread(it appears to be the only online resource even close to this issue), and have tried every theory.
I have brand new downloads/installs of the Android MIPS Edition(v1.1.747), JDK(1.7.0_17), and SDK with all API's installed(only installed the ones that were asked for at first, filled in the rest later). As I said, every previously mentioned theory/fix has been tried.
There is a 1-2 minute wait between the [javac] Notes and BUILD FAILED
#78
Posted 15 April 2013 - 05:05 PM
The solution is the GoogleAdMobAdsSdk-6.1.0.jar file which seems to be gone once I've updated. Reinstall + NOT updating fixed it for me. So, if you find that file, everything should be working again.
#79
Posted 20 April 2013 - 09:57 PM
GoogleAdMobAdsSdk-6.1.0.jar is the only file in the directory, and GameMaker won't create an APK without one.
I have replaced it with GoogleAdMobAdsSdk-6.3.1 from my Andoid SDK folder. I still recieve the same error:
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:\Android\android-sdk\tools\ant\build.xml:881: The following error occurred while executing this line:
C:\Android\android-sdk\tools\ant\build.xml:883: The following error occurred while executing this line:
C:\Android\android-sdk\tools\ant\build.xml:895: The following error occurred while executing this line:
C:\Android\android-sdk\tools\ant\build.xml:290: null returned: 2
Total time: 1 minute 12 seconds
////I will now attempt to try this "fix" in conjunction with all of the other "fixes" I've tried in this thread.
#80
Posted 20 April 2013 - 10:07 PM
After "downgrading" from beta to stable, the APK build worked. I had forgotten that it was even a variable.
Now running GoogleAdMobAdsSdk-6.2.1
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users











