Running game on Android not working

NerdinaNutshell

  • *
  • Posts: 251
I keep trying to test a game on android (USB debugging turned on and "USB for" set to transferring files), but I get told to check my logs and post them to the forums. Not sure what's up. Does anyone know what I'm doing wrong? Thanks.

« Last Edit: January 11, 2020, 08:55:20 am by NerdinaNutshell »
*Puff*

NOTA

  • Posts: 316
Looking at the log, I can't help but wonder if your question is a joke or a test.

NerdinaNutshell

  • *
  • Posts: 251
Looking at the log, I can't help but wonder if your question is a joke or a test.
An actual question?... I’m really confused and spent all of yesterday troubleshooting to no avail. Is this supposed to be an easy fix or something? I tried changing the Java_Home but that did nothing.

« Last Edit: January 12, 2020, 06:59:08 am by NerdinaNutshell »
*Puff*

Luyren

  • *
  • Posts: 2281
Have you hit Clean Project and tested, or tried the other USB options?

There's an extension warning in your logs, don't know if it's related. There's also something about gradle, but I though in other logs those where harmless.

I have little experience with Android, so I can't help much. You can try pinging Justin on the discord server though.
My Stencyl resources are available here: https://luyren.itch.io/
Cutscenes, RPG Elements, Particles, Map System and many more.
Twitter

yoplalala

  • *
  • Posts: 1597
Hi ! I think you have the same problem as me. Basically the gradle website has changed .  So do this :
go in your stencyl folder

Fo each of this file , change "http" to "https"

Code: [Select]
plaf/haxe/lib/lime/lime/templates/android/template/gradle/wrapper/gradle-wrapper.properties:distributionUrl=http\://services.gradle.org/
Code: [Select]
plaf/haxe/lib/lime/lime/templates/extension/dependencies/android/build.gradle: url "http://jcenter.bintray.com/"
plaf/haxe/lib/lime/lime/templates/android/template/build.gradle: url "http://jcenter.bintray.com/"
plaf/haxe/lib/lime/lime/templates/android/template/build.gradle: url "http://jcenter.bintray.com/"
plaf/haxe/lib/lime/lime/dependencies/extension-api/build.gradle: url "http://jcenter.bintray.com/"
Code: [Select]
plaf/haxe/lib/lime/lime/templates/extension/dependencies/android/build.gradle: url "http://jcenter.bintray.com/"
plaf/haxe/lib/lime/lime/templates/android/template/build.gradle: url "http://jcenter.bintray.com/"
plaf/haxe/lib/lime/lime/templates/android/template/build.gradle: url "http://jcenter.bintray.com/"
plaf/haxe/lib/lime/lime/dependencies/extension-api/build.gradle: url "http://jcenter.bintray.com/"

Code: [Select]
plaf/haxe/lib/lime/lime/templates/android/template/build.gradle: url "http://repo1.maven.org/maven2/"
plaf/haxe/extensions/native/dependencies/native/build.gradle: url "http://repo1.maven.org/maven2/"
plaf/haxe/extensions/google/dependencies/google/build.gradle: url "http://repo1.maven.org/maven2/"
plaf/haxe/extensions/ads/dependencies/admob/build.gradle: url "http://repo1.maven.org/maven2/"
plaf/haxe/extensions/purchases/dependencies/android/build.gradle: url "http://repo1.maven.org/maven2/"

Humm maybe it's not the same problem. But still change these files because the server has changed since the 13 of january.

In your case I would delete /home/your_session/.gradle/wrapper/dists/gradle-4.7-bin'



« Last Edit: January 16, 2020, 08:45:32 am by yoplalala »