Comunidad Game Maker

Ayuda => Preguntas y respuestas => Mensaje iniciado por: deadines en Julio 15, 2014, 09:50:51 PM

Título: BUILD SUCCESSFUL pero no crea el apk SOLUCIONADO Gracias a todos :))
Publicado por: deadines en Julio 15, 2014, 09:50:51 PM
Ya e probado mil cosas y me sigue pasando lo mismo y no entiendo el porque. >:(

Esto es solo la prueba pero con el juego original m salen los mismos errores. :'(

Me urge mucho porfavor llevo como dos meses con el juego y estoy a menos de dos semanas de terminar la primera version y necesito poder exportarlo. :'(

Saving IFF file... C:\Users\Otros\AppData\Local\Temp\gm_ttt_5632\gm_ttt_59352\Prueba-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
Stats : GMA : Local=0, Instance=0, Global=0
    [javac] warning: [options] source value 1.5 is obsolete and will be removed in a future release
    [javac] warning: [options] target value 1.5 is obsolete and will be removed in a future release
    [javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
    [javac] 3 warnings
    [javac] warning: [options] source value 1.5 is obsolete and will be removed in a future release
    [javac] warning: [options] target value 1.5 is obsolete and will be removed in a future release
    [javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
    [javac] 3 warnings
    [javac] warning: [options] source value 1.5 is obsolete and will be removed in a future release
    [javac] warning: [options] target value 1.5 is obsolete and will be removed in a future release
    [javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
    [javac] 3 warnings
    [javac] warning: [options] source value 1.5 is obsolete and will be removed in a future release
    [javac] warning: [options] target value 1.5 is obsolete and will be removed in a future release
    [javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
    [javac] 3 warnings
    [javac] warning: [options] source value 1.5 is obsolete and will be removed in a future release
    [javac] warning: [options] target value 1.5 is obsolete and will be removed in a future release
    [javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: C:\Users\Otros\AppData\Local\Temp\gm_ttt_5632\gm_ttt_85683\src\com\companyname\Prueba\Gamepad\Gamepad.java uses unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 3 warnings

BUILD SUCCESSFUL
Total time: 1 minute 29 seconds
jarsigner: unable to sign jar: java.util.zip.ZipException: invalid entry compressed size (expected 1619 but got 1636 bytes)
""C:\Android\tools\zipalign"" no se reconoce como un comando interno o externo,
programa o archivo por lotes ejecutable.
Título: Re:BUILD SUCCESSFUL pero no crea el apk
Publicado por: TheFaboxGamer en Julio 16, 2014, 12:24:29 AM
Amigo ami me pasaba lo mismo y me frustraba mucho no poder crear la apk lo que debes hacer es bajarte otra versión eso fue lo que me ayudo a mi
Título: Re:BUILD SUCCESSFUL pero no crea el apk
Publicado por: 7sixerCF en Julio 16, 2014, 12:27:54 AM
a mi me paso lo mismo, no se por que pasa eso pero te daré un par de soluciones:

andate a donde tienes instalado el sdk de android, hay pues te vas al buscador y escribes zipalign te deveria aparecer un archivo este LO COPIAS y te vas a esta dirección:
CitarC:\Android\tools
hay lo pegas, vuelve a compilar y ve que ocurre.

Lo segundo seria comprobar si bajaste bien el sdk y siguiendo las instrucciones que te da yoyo games: http://help.yoyogames.com/entries/23363366-Preparing-GameMaker-Studio-for-Android (http://help.yoyogames.com/entries/23363366-Preparing-GameMaker-Studio-for-Android)
Título: Re:BUILD SUCCESSFUL pero no crea el apk
Publicado por: 7sixerCF en Julio 16, 2014, 12:32:23 AM
Cita de: 7sixerCF en Julio 16, 2014, 12:27:54 AM
a mi me paso lo mismo, no se por que pasa eso pero te daré un par de soluciones:

andate a donde tienes instalado el sdk de android, hay pues te vas al buscador y escribes zipalign te deveria aparecer un archivo este LO COPIAS y te vas a esta dirección:
CitarC:\Android\tools
hay lo pegas, vuelve a compilar y ve que ocurre.

Lo segundo seria comprobar si bajaste bien el sdk y siguiendo las instrucciones que te da yoyo games: http://help.yoyogames.com/entries/23363366-Preparing-GameMaker-Studio-for-Android (http://help.yoyogames.com/entries/23363366-Preparing-GameMaker-Studio-for-Android)

Nota: También es importante que vallas a la configuraciones generales (no del proyecto) en "Archivo ----> Preferencias" hay te vas a la ventana de android y te fijas si tienes generada una keystore de no tenerla no puedes firmar las aplicaciones para eso pues rellenas tus datos como te indica la pagina anterior de yoyo games y das en generate y si no funciona tonses das en show y te deveria aparecer, con eso ya estas.

Fuentes: Soy programador de android en gms mira mi foro :D astarothstudios.blogspot.com/ (http://astarothstudios.blogspot.com/)
Título: Re:BUILD SUCCESSFUL pero no crea el apk
Publicado por: deadines en Julio 16, 2014, 11:01:07 AM
Buenas me podrias pasar los enlaces para descargar los sdk k utilizas y los jdk pork aora no puedo ni abrir el sdk  :'(.
HE intentado reinstalar las dos cosas pero no me deja  >:( por cierto tengo la version 1.1.964 de GMS.
Ya no se que mas hacer.
Título: Re:BUILD SUCCESSFUL pero no crea el apk
Publicado por: 7sixerCF en Julio 16, 2014, 11:46:55 AM
Cita de: deadines en Julio 16, 2014, 11:01:07 AM
Buenas me podrias pasar los enlaces para descargar los sdk k utilizas y los jdk pork aora no puedo ni abrir el sdk  :'(.
HE intentado reinstalar las dos cosas pero no me deja  >:( por cierto tengo la version 1.1.964 de GMS.
Ya no se que mas hacer.

Buscate la 1.3 que esta colgada por hay por la red y no te puedo pasar el sdk ya que tienes que instalarlo y con copy past pueden aver errores
Título: Re:BUILD SUCCESSFUL pero no crea el apk
Publicado por: deadines en Julio 16, 2014, 08:48:14 PM
Ahora me sale este erre que es esto  >:( :'(.

Saving IFF file... C:\Users\Otros\AppData\Local\Temp\gm_ttt_9400\gm_ttt_77051\Azoleting 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...
1 Compressing texture... writing texture texture_1.png...
Writing Chunk... AUDO
Writing Chunk... SCPT
Writing Chunk... DBGI
Writing Chunk... STRG
Stats : GMA : Local=1, Instance=110, Global=0

BUILD FAILED
C:\android\sdk\tools\ant\build.xml:601: The following error occurred while executing this line:
C:\android\sdk\tools\ant\build.xml:542: Unable to resolve project target 'android-7'

Total time: 3 seconds
Título: Re:BUILD SUCCESSFUL pero no crea el apk
Publicado por: 7sixerCF en Julio 16, 2014, 08:58:41 PM
Cita de: deadines en Julio 16, 2014, 08:48:14 PM
Ahora me sale este erre que es esto  >:( :'(.

Saving IFF file... C:\Users\Otros\AppData\Local\Temp\gm_ttt_9400\gm_ttt_77051\Azoleting 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...
1 Compressing texture... writing texture texture_1.png...
Writing Chunk... AUDO
Writing Chunk... SCPT
Writing Chunk... DBGI
Writing Chunk... STRG
Stats : GMA : Local=1, Instance=110, Global=0

BUILD FAILED
C:\android\sdk\tools\ant\build.xml:601: The following error occurred while executing this line:
C:\android\sdk\tools\ant\build.xml:542: Unable to resolve project target 'android-7'

Total time: 3 seconds

Hola ese error es por que no descargaste la API 7 de android ademas mira esto te puede ayudar a aprender a como buscar cosas en google que se nota que no sabes ;)

http://es.lmgtfy.com/?q=C%3A%5Candroid%5Csdk%5Ctools%5Cant%5Cbuild.xml%3A542%3A+Unable+to+resolve+project+target+%27android-7%27 (http://es.lmgtfy.com/?q=C%3A%5Candroid%5Csdk%5Ctools%5Cant%5Cbuild.xml%3A542%3A+Unable+to+resolve+project+target+%27android-7%27)