Debugging/Installing apps on the G1 (Windows Driver)

Supervised News & Rumors concerning the Google Android Platform.

Debugging/Installing apps on the G1 (Windows Driver)

Postby plusminus » Wed Oct 22, 2008 7:11 pm

Hello Community,

  1. On your G1, go to Settings :arrow: Applications :arrow: Development :arrow: [X] USB debugging
  2. Download this file: android_usb_windows.zip
  3. Unzip it to a folder
  4. Connect your G1 with your PC
  5. When it asks for driver location choose the unzipped folder
  6. You'll see sth like "HTC Dream Composite ADB Interface" on success
  7. (Re)Start Eclipse
  8. Your G1 should now be listed in the DDMS-Perspective under Devices
  9. Go to the AndroidManifest.xml of your App and modify it to contain [font=Courier New]android:debuggable="true" [/font] in the <application ... >-Tag
  10. Go Debug :)

Btw:
You can now install (signed)APKs via USB:
D:ProgrammedevAndroidandroid-sdk-windows-1.0_r1tools>adb -d install D:WorkspacekeytoolsAndNav_signed.apk
1305 KB/s (1975987 bytes in 1.478s)
pkg: /data/local/tmp/AndNav_signed.apk
Success

And uninstall them:
D:ProgrammedevAndroidandroid-sdk-windows-1.0_r1tools>adb uninstall org.andnav
Success


/plusminus for anddev.org
Attachments
android_usb_windows.zip
Android USB Windows Driver ADB
(1.33 MiB) Downloaded 120445 times
Image
Image | Android Development Community / Tutorials
User avatar
plusminus
Site Admin
Site Admin
 
Posts: 2688
Joined: Wed Nov 14, 2007 8:37 pm
Location: Schriesheim, Germany

Top

Postby spirolateral » Thu Oct 23, 2008 3:10 pm

i haven't tried this yet, but is there a linux driver? i do all my dev work on linux so i'd like to be able to upload from there.
spirolateral
Developer
Developer
 
Posts: 25
Joined: Tue Oct 14, 2008 5:15 am

Postby plusminus » Thu Oct 23, 2008 3:30 pm

Got no linux but there might also be a special driver, because it handles the adb-connection to your device.
Image
Image | Android Development Community / Tutorials
User avatar
plusminus
Site Admin
Site Admin
 
Posts: 2688
Joined: Wed Nov 14, 2007 8:37 pm
Location: Schriesheim, Germany

Postby Xav » Thu Oct 23, 2008 7:47 pm

spirolateral wrote:i haven't tried this yet, but is there a linux driver? i do all my dev work on linux so i'd like to be able to upload from there.


The official documentation has some Linux information. Unfortunately this is going to depend on which Linux you use.

http://code.google.com/android/intro/de ... cehardware
User avatar
Xav
Junior Developer
Junior Developer
 
Posts: 11
Joined: Fri Dec 14, 2007 3:09 am
Location: Mountain View, CA

Postby spirolateral » Thu Oct 23, 2008 8:04 pm

Xav wrote:
spirolateral wrote:i haven't tried this yet, but is there a linux driver? i do all my dev work on linux so i'd like to be able to upload from there.


The official documentation has some Linux information. Unfortunately this is going to depend on which Linux you use.

http://code.google.com/android/intro/de ... cehardware


awesome! thanks a lot.
spirolateral
Developer
Developer
 
Posts: 25
Joined: Tue Oct 14, 2008 5:15 am

Postby Digital Mayhem » Sat Oct 25, 2008 2:22 am

hmm and I need one for Mac
Digital Mayhem
Freshman
Freshman
 
Posts: 3
Joined: Thu Oct 23, 2008 5:23 pm
Location: Henderson, NV

Top

Postby spirolateral » Sat Oct 25, 2008 2:23 am

anyone get this working on ubuntu? i followed the instructions and it doesn't work.
spirolateral
Developer
Developer
 
Posts: 25
Joined: Tue Oct 14, 2008 5:15 am

Postby strazzere » Thu Oct 30, 2008 3:54 pm

Does this allow you to use the adb shell on the device?

Basically I'm wondering if it gives you the same access to device and device files as the emulator gives you...
strazzere
Freshman
Freshman
 
Posts: 5
Joined: Thu Oct 30, 2008 3:13 pm

Postby plusminus » Thu Oct 30, 2008 6:12 pm

Yes you can use ADB but you'll need the driver.
Image
Image | Android Development Community / Tutorials
User avatar
plusminus
Site Admin
Site Admin
 
Posts: 2688
Joined: Wed Nov 14, 2007 8:37 pm
Location: Schriesheim, Germany

Postby strazzere » Thu Oct 30, 2008 7:24 pm

Hmmm I continually get...

"USB Device Not Recognized"

If I try to search for the drivers and specify the location of the unzipped files it finds nothing. Or if I try to point directly to the "android_usb.inf" it says the location does not contain information about my hardware.

Anyone else ever seen this?
strazzere
Freshman
Freshman
 
Posts: 5
Joined: Thu Oct 30, 2008 3:13 pm

android_usb_windows

Postby zh1479 » Tue Dec 02, 2008 8:50 pm

Hi,
I post this issue here and looking for help.
I followed the instruction to install android_usb_windows on my laptop. My laptop is running XP with SP3. For some reasons, installation is failure. System show "cannot install this hardware, there was a problem installing this hardware...HTC Dream Composite ADB interface". I also tried other laptop that is also running XP. It's installed successfully. I am wondering if one of system files is corrupt on my problem laptop. Any tips would be appreciated...
zh1479
Freshman
Freshman
 
Posts: 2
Joined: Tue Dec 02, 2008 8:35 pm

Re: android_usb_windows

Postby zh1479 » Thu Dec 04, 2008 6:45 pm

zh1479 wrote:Hi,
I post this issue here and looking for help.
I followed the instruction to install android_usb_windows on my laptop. My laptop is running XP with SP3. For some reasons, installation is failure. System show "cannot install this hardware, there was a problem installing this hardware...HTC Dream Composite ADB interface". I also tried other laptop that is also running XP. It's installed successfully. I am wondering if one of system files is corrupt on my problem laptop. Any tips would be appreciated...


Additional info:
I guess problem may be caused by HP 6910 that I am using now. When I tried to install driver on a few same HP model, I got similar problem. The driver could not be installed. Does anyone have similar problem on HP laptop? Thanks.
zh1479
Freshman
Freshman
 
Posts: 2
Joined: Tue Dec 02, 2008 8:35 pm

Postby sentient » Mon Feb 16, 2009 2:03 pm

will this work with a standard G1 Phone or do i need to get it unlocked/buy a development G1?
Do or do not, there is no try!
sentient
Freshman
Freshman
 
Posts: 8
Joined: Mon Feb 16, 2009 11:57 am
Location: London

Postby MrSnowflake » Mon Feb 16, 2009 2:12 pm

Standard G1 is good, as the driver got released in octobre, when the Dev 1 hasn't been released yet for months.
User avatar
MrSnowflake
Moderator
Moderator
 
Posts: 1439
Joined: Sat Feb 16, 2008 3:11 pm
Location: Flanders, Belgium

Postby sentient » Mon Feb 16, 2009 5:56 pm

oh sweet! get mine tomorrow - can't wait to get into hardcore coding for Android :)

been playing with the emulator - pretty cool!

thanks!
Do or do not, there is no try!
sentient
Freshman
Freshman
 
Posts: 8
Joined: Mon Feb 16, 2009 11:57 am
Location: London

Top
Next

Return to News & Rumors

Who is online

Users browsing this forum: Google Feedfetcher and 2 guests