Hi all,
I am new to Gideros and am just going through the first examples. I am trying to run the example code on an Android device. I have installed GiderosAndroidPlayer.apk and followed the instructions of changing the IP address to the one displayed on the Android device after starting the app up. When I click ok nothing happens - nothing is output on Logcat - nothing happens on the Gideros IDE console - nothing on the Android player - and the play button never becomes active. I assume this is the IP address of the device on the local wireless network but I have tried when plugged in with USB and not just in case. Any pointers for what may be going wrong? I am using a Nexus 4 running 4.2.2.
Many thanks!
Comments
Likes: doridori
So again, just to make sure, basic steps:
1) Install .apk file on your Android device
2) Open it and take note of the IP address
3) Open Gideros Studio
4) Click on Top Menu -> Player-> Player Settings
5) Unclick Localhost, Enter IP address noted on Android Gideros Player and click OK
6) Play button on Gideros Studio should be enabled after couple of seconds
7) Open any project in Gideros Studio and click the play button
8) Project should run on your device player
Troubleshooting:
1) It is better if your phone and computer are in the same LAN (connected to the same router), it could work if they are not in the same LAN, but not guaranteed
2) Make sure Gideros Studio is added to firewall and any antivirus exceptions you might have, so nothing is blocking it from connecting to your device
3) Some androids phone disable their connection after time to save battery, so in case play button on computer does not become green after some time, close the app, open the web browser on your phone and enter any address (like google.com) just for connection to kick in again. After you see that page loads and you have connection, close web browser and open Gideros Android player again.
4) Make sure no other Gideros Studio is connected to your Gideros player or vice versa, current Gideros Studio does not have any other active players
5) Sometimes if connection times out, click on Top menu->Player->Player settings and enable Localhost again, click ok, then again disable Localhost, check if IP address is the same and click ok, so Gideros Studio could try to reconnect.
6) Gideros Studio uses 15000 port, make sure no other program blocks it.
7) Check if computer can reach the device: open terminal / command line and type ping (enter IP address you see on device), like ping 127.0.0.1
8) If you can't manage to connect to your player, try changing computer, phone or another network/router to troubleshoot what exactly is not working.
Hope that helps
Likes: vitalitymobile, doridori
I did have an open project at the time but I think it was the fault of an oversubscribed and cheap router. I have tried again today (Using the same open instance of studio) and it works great.
Many many thanks
Likes: vitalitymobile