andbook!.pdf - Learning Android Get an anddev.org - Android-Shirt Back to index
anddev.org Header Logo
FAQ Search Top rated articles Browse Feeds anddev.org - Authors Contact Details Register Log in

Debugging/Installing apps on the G1 (Windows Driver)

Goto page 1, 2  Next
 
       anddev.org - Android Development Community | Android Tutorials | Index -> News & Rumors
Author Message
plusminus
Site Admin
Site Admin


Joined: 14 Nov 2007
Posts: 2660
Location: College Park, MD

PostPosted: Wed Oct 22, 2008 7:11 pm    Post subject: Debugging/Installing apps on the G1 (Windows Driver) Reply with quote

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 android:debuggable="true" in the <application ... >-Tag
  10. Go Debug Smile


Btw:
You can now install (signed)APKs via USB:
Quote:
D:\Programme\dev\Android\android-sdk-windows-1.0_r1\tools>adb -d install D:\Workspace\keytools\AndNav_signed.apk
1305 KB/s (1975987 bytes in 1.478s)
pkg: /data/local/tmp/AndNav_signed.apk
Success

And uninstall them:
Quote:
D:\Programme\dev\Android\android-sdk-windows-1.0_r1\tools>adb uninstall org.andnav
Success


/plusminus for anddev.org



android_usb_windows.zip
 Description:
Android USB Windows Driver ADB

Download
 Filename:  android_usb_windows.zip
 Filesize:  1.33 MB
 Downloaded:  102615 Time(s)


_________________
Download my apps Idea
Please remember, that this board is give & take Smile


| Android Development Community / Tutorials
Back to top
View user's profile Send private message Send e-mail Visit poster's website
spirolateral
Developer
Developer


Joined: 14 Oct 2008
Posts: 25

PostPosted: Thu Oct 23, 2008 3:10 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
plusminus
Site Admin
Site Admin


Joined: 14 Nov 2007
Posts: 2660
Location: College Park, MD

PostPosted: Thu Oct 23, 2008 3:30 pm    Post subject: Reply with quote

Got no linux but there might also be a special driver, because it handles the adb-connection to your device.
_________________
Download my apps Idea
Please remember, that this board is give & take Smile


| Android Development Community / Tutorials
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Xav
Junior Developer
Junior Developer


Joined: 14 Dec 2007
Posts: 11
Location: Mountain View, CA

PostPosted: Thu Oct 23, 2008 7:47 pm    Post subject: Reply with quote

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/develop-and-debug.html#developingondevicehardware
Back to top
View user's profile Send private message Visit poster's website
spirolateral
Developer
Developer


Joined: 14 Oct 2008
Posts: 25

PostPosted: Thu Oct 23, 2008 8:04 pm    Post subject: Reply with quote

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/develop-and-debug.html#developingondevicehardware


awesome! thanks a lot.
Back to top
View user's profile Send private message
Digital Mayhem
Freshman
Freshman


Joined: 23 Oct 2008
Posts: 4
Location: Henderson, NV

PostPosted: Sat Oct 25, 2008 2:22 am    Post subject: Reply with quote

hmm and I need one for Mac
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
spirolateral
Developer
Developer


Joined: 14 Oct 2008
Posts: 25

PostPosted: Sat Oct 25, 2008 2:23 am    Post subject: Reply with quote

anyone get this working on ubuntu? i followed the instructions and it doesn't work.
Back to top
View user's profile Send private message
strazzere
Freshman
Freshman


Joined: 30 Oct 2008
Posts: 5

PostPosted: Thu Oct 30, 2008 3:54 pm    Post subject: Reply with quote

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...

_________________
-Tim Strazzere
Back to top
View user's profile Send private message Visit poster's website
plusminus
Site Admin
Site Admin


Joined: 14 Nov 2007
Posts: 2660
Location: College Park, MD

PostPosted: Thu Oct 30, 2008 6:12 pm    Post subject: Reply with quote

Yes you can use ADB but you'll need the driver.
_________________
Download my apps Idea
Please remember, that this board is give & take Smile


| Android Development Community / Tutorials
Back to top
View user's profile Send private message Send e-mail Visit poster's website
strazzere
Freshman
Freshman


Joined: 30 Oct 2008
Posts: 5

PostPosted: Thu Oct 30, 2008 7:24 pm    Post subject: Reply with quote

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?

_________________
-Tim Strazzere
Back to top
View user's profile Send private message Visit poster's website
zh1479
Freshman
Freshman


Joined: 02 Dec 2008
Posts: 2

PostPosted: Tue Dec 02, 2008 8:50 pm    Post subject: android_usb_windows Reply with quote

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...
Back to top
View user's profile Send private message
zh1479
Freshman
Freshman


Joined: 02 Dec 2008
Posts: 2

PostPosted: Thu Dec 04, 2008 6:45 pm    Post subject: Re: android_usb_windows Reply with quote

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.
Back to top
View user's profile Send private message
sentient
Freshman
Freshman


Joined: 16 Feb 2009
Posts: 8
Location: London

PostPosted: Mon Feb 16, 2009 2:03 pm    Post subject: Reply with quote

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!
Back to top
View user's profile Send private message
MrSnowflake
Moderator
Moderator


Joined: 16 Feb 2008
Posts: 1437
Location: Flanders, Belgium

PostPosted: Mon Feb 16, 2009 2:12 pm    Post subject: Reply with quote

Standard G1 is good, as the driver got released in octobre, when the Dev 1 hasn't been released yet for months.
Back to top
View user's profile Send private message
sentient
Freshman
Freshman


Joined: 16 Feb 2009
Posts: 8
Location: London

PostPosted: Mon Feb 16, 2009 5:56 pm    Post subject: Reply with quote

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

been playing with the emulator - pretty cool!

thanks!

_________________
Do or do not, there is no try!
Back to top
View user's profile Send private message
Display posts from previous:   
       anddev.org - Android Development Community | Android Tutorials | Index -> News & Rumors All times are GMT + 1 Hour
Goto page 1, 2  Next
Page 1 of 2

Summary Rating For >> Debugging/Installing apps on the G1 (Windows Driver)

Average Rating: :: Min Rating: :: Max Rating: :: Number of Ratings: 4

Choose Rating: 

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


© 2007, Android Development Community
All rights reserved.
Powered by phpBB.