Compiling for android stuck after failing to get resources from a particular URL

alohabrij

  • Posts: 4
Hi,

I am compiling a test game for android for the first time.  I dont have any background in android or game development and have run into errors, with last message as Encountered errors while building your game.

Going through the logs i find that during the compilation, Gradle build daemon is started successfully.  After this attempt is made to get resources from below  urls but it fails. 

http://jcenter.bintray.com/com/android/tools/build/gradle/3.5.1/gradle-3.5.1.pom
https://dl.google.com/dl/android/maven2/org/jetbrains/kotlin/kotlin-stdlib-jdk8/1.3.50/kotlin-stdlib-jdk8-1.3.50.jar


Before it failed There was a popup from firewall asking to allow some java process too, i had clicked allow.


There are other Urls too, i have attached all the log files as generated by Stencyl.

Any help to solve the above problem is highly appreciated.

Below is the configuration :

OS Name: Windows 10 (64-bit)
 Java Version: 11.0.3
 Java Home Environment Variable (JAVA_HOME): not set
 Stencyl Version: 4.0.2 (b10468)


Luyren

  • *
  • Posts: 2019
There are instructions to fix this particular issue here: http://community.stencyl.com/index.php/topic,59888.0.html
My Stencyl resources are available here: https://luyren.itch.io/
Cutscenes, RPG Elements, Particles, Map System and many more.
Twitter

alohabrij

  • Posts: 4
Hi Luyren,

Thanks a ton!!! for guiding me. Changed all the files below, as mentioned in the post you sent. It worked  :)

C:\Program Files\Stencyl\plaf\haxe\lib\lime\lime\templates\android\template\build.gradle
C:\Program Files\Stencyl\plaf\haxe\lib\lime\lime\templates\extension\dependencies\android\build.gradle
C:\Program Files\Stencyl\plaf\haxe\lib\lime\lime\dependencies\extension-api\build.gradle