Eclipse plug-in to remote adb to an android device:
AdbConnect
Related
Hello
I'm (trying) to developing android and deploying on a real device (HTC Legend) using a virtual machine Windows XP Pro guested into SUN Virtual Box on a real machine Windows 7.
My configuration:
- HOST machine real (Windows 7)
- Sun Virtual BOX
- VM XP Pro
- SDK Android
- ADB Manager
- Eclipse
- HTC Sync
(all software updated to 13-jun-2010)
Inside XP Pro (virtual machine...):
Code:
C:\android\android-sdk-windows\tools>adb devices
List of devices attached
HT03SNX02682 device
RUN CONFIGURATION into Eclipse-->ANDROID DEVICE CHOOSER
Code:
[2010-06-14 13:02:23 - HelloWorld21] ------------------------------
[2010-06-14 13:02:23 - HelloWorld21] Android Launch!
[2010-06-14 13:02:23 - HelloWorld21] adb is running normally.
[2010-06-14 13:02:23 - HelloWorld21] Performing android.helloworldapp21.HelloWorld21 activity launch
[2010-06-14 13:03:15 - HelloWorld21] WARNING: Application does not specify an API level requirement!
[2010-06-14 13:03:15 - HelloWorld21] Device API version is 7 (Android 2.1)
[2010-06-14 13:03:15 - HelloWorld21] Uploading HelloWorld21.apk onto device 'HT03SNX02682'
[2010-06-14 13:03:21 - HelloWorld21] Failed to upload HelloWorld21.apk on device 'HT03SNX02682'
[2010-06-14 13:03:21 - HelloWorld21] java.io.IOException: Unable to open sync connection!
[2010-06-14 13:03:21 - HelloWorld21] Launch canceled!
HTC Legend is set with USB debugging flagged true...
Anyone can help me?
How resolve exception... java.io.IOException: Unable to open sync connection! ?
Thank you...
Did you install the adb USB driver?
http://developer.android.com/intl/de/sdk/win-usb.html
lhurtado said:
Did you install the adb USB driver?
Click to expand...
Click to collapse
oh yes... I also modified it to support HTC Legend inserting those strings:
;HTC Legend
%SingleAdbInterface% = USB_Install, USB\VID_0BB4&PID_0C97
%CompositeAdbInterface% = USB_Install, USB\VID_0BB4&PID_0C97&MI_01
;
I found suggestion for this on a forum...now I dont rember where but could recover the site...if necessary.
Besides... the fact that ADB see the device, is not indication of the fact that the phone is connected?
thku!
Hi!
I installed the VNC Server app (droid VNC server) and I am not trying to connect to it over USB.
I've run the adb commands:
Code:
adb forward tcp:5801 tcp:5801
adb forward tcp:5901 tcp:5901
I can bring up the web based interface by connecting to http:\\localhost:5801 but the vnc java application (or RealVNC) can't connect to my phone. I have a I5800, running Lestatious 1.8 with Fugomod 2.2 OC.
Has anyone else managed to get this working?
Hi,
Phone: Galaxy S I9000
ROM : XXJVU, Rooted
Linux : Ubuntu 11.10
"Usb debuging" ticked in settings.
Usb cable is connected and adb works in Windows 7.
lsusb out put:
Code:
Bus 002 Device 008: ID 04e8:681c Samsung Electronics Co., Ltd Galaxy Portal/Spica Android Phone
681c <-- It means "debuging mode" so, why adb didn't detect device ?
adb shell out put:
Code:
error: device not found
SOLUTION:
My adb file was old or crupted. and new one working like charm ;-)
I developed a little tool which can be used to connect and disconnect adb sessions to Android devices via wifi.
Maby some of you will find it handy
The tool is targeted at Ubuntu 12.04 or above but it should run on other distributions too.
The following libraries will be needed to run this program:
Code:
libgtkmm-3.0-dev
libglibmm-2.4-dev
libsigc++-2.0-dev
libappindicator3-dev
libsqlite3-dev
libnotify-dev
The code is available here
The License is GPL3.
32-Bit version and debian packages will follow soon.
I am developing (currently in plan phase ) a framework to allow developers to connect to a remote android machine while working on eclipse.
The idea is, there will be a java program running on the developer's comp, which will behave as an emulator and pass all the adb commands to a remote machine (mac, windows, or linux: over net). There will be another java client app on that remote machine which will receive those commands and give them to the local adb demon (which in turn will give it to the connected android device).
This will allow remote debugging where direct port forwarding is not possible, like solving specific customer's issue.
Does such a framework already exist?
Where can I find the documentation on how to emulate an android device and how does adb demon communicates with the device?