broderickwang / droiddraw

Automatically exported from code.google.com/p/droiddraw
0 stars 0 forks source link

Cannot Send GUI to device #115

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Follow instructions here: http://www.droiddraw.org/androiddraw.html
2. Launch DroidDraw and select Project > Send GUI to device

What is the expected output? What do you see instead?

GUI sent to device.
Get error dialog "Upload failed. Is AnDroidDraw running?" when AnDroidDraw is 
running in 
emulator, adb forwarding is configured, and accept connections is selected.
adb logcat shows:

W/System.err(  190): java.net.SocketException: Permission denied (maybe missing 
INTERNET 
permission)
W/System.err(  190):    at 
org.apache.harmony.luni.platform.OSNetworkSystem.createServerStreamSocketImpl(Na
tive 
Method)
W/System.err(  190):    at 
org.apache.harmony.luni.platform.OSNetworkSystem.createServerStreamSocket(OSNetw
orkSyste
m.java:171)
W/System.err(  190):    at 
org.apache.harmony.luni.net.PlainServerSocketImpl.create(PlainServerSocketImpl.j
ava:45)
W/System.err(  190):    at java.net.ServerSocket.<init>(ServerSocket.java:133)
W/System.err(  190):    at java.net.ServerSocket.<init>(ServerSocket.java:87)
W/System.err(  190):    at 
org.droiddraw.android.NetworkService.run(NetworkService.java:45)
W/System.err(  190):    at java.lang.Thread.run(Thread.java:1096)
I/NotificationService(   52): enqueueToast pkg=org.droiddraw.android 
callback=android.app.ITransientNotification$Stub$Proxy@43b7f8a0 duration=0
I/ActivityManager(   52): Displayed activity 
org.droiddraw.android/.AnDroidDraw: 1045 ms (total 
1045 ms)

What version of the product are you using? On what operating system?

DroidDraw dd.r1.b14
Mac OS X

Please provide any additional information below.

Original issue reported on code.google.com by goo...@postmechanical.com on 4 Dec 2009 at 7:56

GoogleCodeExporter commented 9 years ago
Same error

DroidDraw dd.r1b14
Linux Ubuntu 9.10 64bit

Original comment by ps.lest...@gmail.com on 21 Feb 2010 at 12:25

GoogleCodeExporter commented 9 years ago
I am using Windows 7 64bit and I am seeing the same error when using my 
Motorola Droid.

Is this a problem with 64bit?

Original comment by John.Kot...@gmail.com on 13 Mar 2010 at 3:34

GoogleCodeExporter commented 9 years ago
I'm using Windows XP with Motorola Droid and getting the same issue.

Original comment by damcel...@gmail.com on 25 Mar 2010 at 4:51

GoogleCodeExporter commented 9 years ago
I have the same error using Windows XP with Android 2.1 phone. It's a pity that 
can't preview on Phone. Waiting for resolve.

Original comment by wfk...@gmail.com on 22 Jun 2010 at 2:44

GoogleCodeExporter commented 9 years ago
same error with Windows XP and HTC Desire

Original comment by derekjre...@gmail.com on 24 Jun 2010 at 9:02

GoogleCodeExporter commented 9 years ago
ubuntu 9.10 32bit / Emulator Android 2.2

no upload

Original comment by roland.k...@gmail.com on 19 Jul 2010 at 9:46

GoogleCodeExporter commented 9 years ago
Hi,

have a look here 
http://code.google.com/p/droiddraw/issues/detail?id=93&sort=id%20-status#c11 
for the solution.

cheers
Frank

Original comment by Dietrich.Frank@gmail.com on 25 Aug 2010 at 6:09

GoogleCodeExporter commented 9 years ago
This is now fixed in SVN and a new .apk has been uploaded.

Original comment by brendan....@gmail.com on 12 Oct 2010 at 4:22

GoogleCodeExporter commented 9 years ago
The command to run adb was confusing as i thought that it referenced a linux 
based command. adb for those who might not know is in your sdk folder, in my 
case C:\Program Files (x86)\Android\android-sdk\platform-tools. I opened a 
command prompt and ran the port forwarding command "adb forward tcp:6100 
tcp:7100". Now droiddraw works on my Windows 7 x64 system and uploads to my 
device. Don't forget to enable usb development mode found in the settings. 
Also, you need to have androiddraw running.

Original comment by dweinsta...@gmail.com on 17 Mar 2011 at 1:20