Android Viewer WiFi download issue with java.net.MalformedURLException
![fdimeglio](http://forums.gamesalad.com/applications/dashboard/design/images/defaulticon.png)
Hello,
I have been trying to send one of the demo games to my Android device (Galaxy Nexus running stock Android 4.1.1). I was able to do it thru a USB connexion but I was not able to do it on WiFi.
Basically, when I launch the Android Viewer and start the download from the Creator I can see on the device that it is saying "Downloading Game..." and on the Creator I can see "Connected / Loading Game" but nothing happen.
Looking at the device logcat thru "adb logcat" I can see the following error:
D/GSViewerActivity(26978): ServiceInfo unregistered: Galaxy Nexus (a0:0b:ba:ea:54:dc)._AndroidGSViewer._tcp.local., 32868, GameSalad Android Viewer
D/GSViewerActivity(26978): ServiceInfo created: Galaxy Nexus (a0:0b:ba:ea:54:dc)._AndroidGSViewer._tcp.local., 60271, GameSalad Android Viewer
D/GSViewerActivity(26978): ServiceInfo registered: Galaxy Nexus (a0:0b:ba:ea:54:dc)._AndroidGSViewer._tcp.local., 60271, GameSalad Android Viewer
I/CreatorListener(26978): load 0.9.94 53774 Cannon4.zip Cannon
W/System.err(26978): java.net.MalformedURLException: java.lang.NumberFormatException: Invalid int: ":21f:f3ff:feba:94e7%wlan0%10:53774"
W/System.err(26978): at java.net.URL.(URL.java:192)
W/System.err(26978): at java.net.URL.(URL.java:127)
W/System.err(26978): at com.gamesalad.viewer.CreatorListener.ConnectionEstablished(CreatorListener.java:453)
W/System.err(26978): at com.gamesalad.viewer.CreatorListener.listen(CreatorListener.java:325)
W/System.err(26978): at com.gamesalad.viewer.CreatorListener.startListening(CreatorListener.java:716)
W/System.err(26978): at com.gamesalad.viewer.GSViewerActivity$1.run(GSViewerActivity.java:44)
W/System.err(26978): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
W/System.err(26978): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
W/System.err(26978): at java.lang.Thread.run(Thread.java:856)
Seems that the URL for connecting is wrongly formatted in IPv6.
When can we have a fix for this issue?
Thx
Fabrice
I have been trying to send one of the demo games to my Android device (Galaxy Nexus running stock Android 4.1.1). I was able to do it thru a USB connexion but I was not able to do it on WiFi.
Basically, when I launch the Android Viewer and start the download from the Creator I can see on the device that it is saying "Downloading Game..." and on the Creator I can see "Connected / Loading Game" but nothing happen.
Looking at the device logcat thru "adb logcat" I can see the following error:
D/GSViewerActivity(26978): ServiceInfo unregistered: Galaxy Nexus (a0:0b:ba:ea:54:dc)._AndroidGSViewer._tcp.local., 32868, GameSalad Android Viewer
D/GSViewerActivity(26978): ServiceInfo created: Galaxy Nexus (a0:0b:ba:ea:54:dc)._AndroidGSViewer._tcp.local., 60271, GameSalad Android Viewer
D/GSViewerActivity(26978): ServiceInfo registered: Galaxy Nexus (a0:0b:ba:ea:54:dc)._AndroidGSViewer._tcp.local., 60271, GameSalad Android Viewer
I/CreatorListener(26978): load 0.9.94 53774 Cannon4.zip Cannon
W/System.err(26978): java.net.MalformedURLException: java.lang.NumberFormatException: Invalid int: ":21f:f3ff:feba:94e7%wlan0%10:53774"
W/System.err(26978): at java.net.URL.(URL.java:192)
W/System.err(26978): at java.net.URL.(URL.java:127)
W/System.err(26978): at com.gamesalad.viewer.CreatorListener.ConnectionEstablished(CreatorListener.java:453)
W/System.err(26978): at com.gamesalad.viewer.CreatorListener.listen(CreatorListener.java:325)
W/System.err(26978): at com.gamesalad.viewer.CreatorListener.startListening(CreatorListener.java:716)
W/System.err(26978): at com.gamesalad.viewer.GSViewerActivity$1.run(GSViewerActivity.java:44)
W/System.err(26978): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
W/System.err(26978): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
W/System.err(26978): at java.lang.Thread.run(Thread.java:856)
Seems that the URL for connecting is wrongly formatted in IPv6.
When can we have a fix for this issue?
Thx
Fabrice
Comments