Comunidad Game Maker

Ayuda => Preguntas y respuestas => Mensaje iniciado por: djboro88 en Marzo 04, 2016, 09:26:17 PM

Título: [SOLUCIONADO] Nuevo error al compilar el apk
Publicado por: djboro88 en Marzo 04, 2016, 09:26:17 PM
Hola GAMEMAKEROS !!

Me gustaria compilar una demo para android y me salta el siguiente error:
FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':com.companyname.crappyshit'.
> Could not resolve all dependencies for configuration ':com.companyname.crappyshit:_debugCompile'.
   > Could not find com.android.support:multidex:1.0.1.
     Searched in the following locations:
         https://jcenter.bintray.com/com/android/support/multidex/1.0.1/multidex-1.0.1.pom
         https://jcenter.bintray.com/com/android/support/multidex/1.0.1/multidex-1.0.1.jar
         file:/C:/Program Files (x86)/Android/android-sdk/extras/google/m2repository/com/android/support/multidex/1.0.1/multidex-1.0.1.pom
         file:/C:/Program Files (x86)/Android/android-sdk/extras/google/m2repository/com/android/support/multidex/1.0.1/multidex-1.0.1.jar
     Required by:
         Default:com.companyname.crappyshit:unspecified
   > Could not find com.android.support:support-v4:23.1.1.
     Searched in the following locations:
         https://jcenter.bintray.com/com/android/support/support-v4/23.1.1/support-v4-23.1.1.pom
         https://jcenter.bintray.com/com/android/support/support-v4/23.1.1/support-v4-23.1.1.jar
         file:/C:/Program Files (x86)/Android/android-sdk/extras/google/m2repository/com/android/support/support-v4/23.1.1/support-v4-23.1.1.pom
         file:/C:/Program Files (x86)/Android/android-sdk/extras/google/m2repository/com/android/support/support-v4/23.1.1/support-v4-23.1.1.jar
     Required by:
         Default:com.companyname.crappyshit:unspecified
   > Could not find com.android.support:multidex:1.0.1.
     Searched in the following locations:
         https://jcenter.bintray.com/com/android/support/multidex/1.0.1/multidex-1.0.1.pom
         https://jcenter.bintray.com/com/android/support/multidex/1.0.1/multidex-1.0.1.jar
         file:/C:/Program Files (x86)/Android/android-sdk/extras/google/m2repository/com/android/support/multidex/1.0.1/multidex-1.0.1.pom
         file:/C:/Program Files (x86)/Android/android-sdk/extras/google/m2repository/com/android/support/multidex/1.0.1/multidex-1.0.1.jar
     Required by:
         Default:com.companyname.crappyshit:unspecified

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 6.963 secs
Create finished: 21:44:15


¿Que podria ser?
Título: Re:Nuevo error al compilar el apk
Publicado por: djboro88 en Marzo 05, 2016, 09:06:43 AM
Solucionado !!
Despues de tanto buscar, al final he hayado la respuesta en los foros de YoYoGames.
Dejo el link para quien le pase lo mismo: http://gmc.yoyogames.com/index.php?showtopic=689940
Título: Re:[SOLUCIONADO] Nuevo error al compilar el apk
Publicado por: carras en Marzo 05, 2016, 01:43:59 PM
Hola estoy teniendo el mismo eror que tu pero sigo sin poder solucionarlo por que dice que en el support library pongamos 23.2.0 y que en el ultimo 0 pongamos el valor que nos aparezca en el sdk manager, pero a mi en el sdk manager solo me aparece un 23.2
Título: Re:[SOLUCIONADO] Nuevo error al compilar el apk
Publicado por: djboro88 en Marzo 05, 2016, 04:32:17 PM
A mi tambien.

Sigue las instrucciones al pie de la letra y funciona.
En el GMS, tienes que escribir 23.2.0, tal y como dice en el foro de YoYo Games
Título: Re:[SOLUCIONADO] Nuevo error al compilar el apk
Publicado por: carras en Marzo 06, 2016, 08:23:13 PM
Grazie, funciona!!
Título: Re:[SOLUCIONADO] Nuevo error al compilar el apk
Publicado por: djboro88 en Marzo 08, 2016, 12:02:41 PM
Ya te lo decia yo...  8) 8)