Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs

GMLive.gml

Livecoding for GameMaker: Studio / GameMaker Studio 2 · By YellowAfterlife

[Solved?] Issues updating code via Android Virtual Device

A topic by Vivid Legends created May 30, 2020 Views: 108 Replies: 3
Viewing posts 1 to 4
(1 edit)

I'm using GMLive to playtest a moblie game, however there appears to be no changes in game.
Here's what I found in the Output logs.

05-30 10:10:43.457 10496 10535 I yoyo    : HttpGet("http://localhost:5100/init?password=&config=default&version=105&runtime=2.2.4.372", 130)
05-30 10:10:43.459 10496 10693 I yoyo    : Exception = java.io.IOException: Cleartext HTTP traffic to localhost not permitted
05-30 10:10:43.459 10496 10535 I yoyo    : [live][10:10:43] Invalid JSON response (0.011 bytes)

What should I go?

Developer

1. You would want to replace "localhost" by an IP of the host machine that is visible from the virtual device.
2. You would want to set a flag to allow cleartext traffic as described in the manual (under "permissions")

How do I find out what's visible to the VM and would I set that?
Still new to this.

Developer

10.0.2.2 is the default "host machine" address on AVD (ref).