Android Community Forums - View Single Post - How to Install Apps using ADB
View Single Post
  #9  
Old 05-24-2009, 07:05 PM
jisnut jisnut is offline
jisnut has no status.
Smoke signaler
 
Join Date: May 2009
Posts: 2
jisnut is on a distinguished road
Thumbs up Re: How to Install Apps using ADB

Wddglr, you're a lifesaver!


Thanks for the suggestions they worked great. I thought about fiddling with that rule level but figured I should research what exactly it does first to this udev system I am completely unfamiliar with in Linux. But since you seemed pretty sure of yourself I just tried it and yeah, that seemed to be the only problem.


I can now see my phone in the Eclipse devices view and after struggling with the minSdkVersion attribute in the application manifest I can set breakpoints and debug the silly HelloWorld app so far. Very very cool!


Just a note for others who chose not to shell out for the Google Dev phone and just go to a T-Mobile store to buy the G1. It seems it comes out of the box with version 1.0 (API level 1) ...so presumably were stuck with that version of the operating system until T-Mobile rolls out new versions or maybe we can take our locked phones into a store eventually to be re-flashed?? Not sure, anyway setting this in the application manifest file was apparently a prerequisite:


<uses-sdkandroid:minSdkVersion="1"/>


I get the following warning in Eclipse, but at least it lets me launch and debug apps on my phone:

Code:
Manifest min SDK version (1) is lower than project target API level (2)	AndroidManifest.xml
...because I'm using the latest 1.1/1.5 SDK available. I don't know what other problems this might present for me down the road if I try to use features only in SDK 1.1 for example?


This minSdkVersion value is also the last field you can specify in the New Android Project wizard, and it immediately defaults to “2” which of course wouldn't work with my phone. Maybe others had figured this out right away, but it was a stumbling block for me for a while.


Again, Thank you so much Wddglr! This tip for Jaunty users should definitely be added to Google's main Android dev pages if someone knows who to contact about that.


Justin
Reply With Quote