ERROR: Application requires API version 2. Device API version is 1

by Mark Murphy » Fri, 29 May 2009 10:21:24 GMT


Sponsored Links
 > I have Android Dev 1 phone. I try to install my app to phone. But

Are you sure? You need to have the right minSdkVersion in the manifest.

-- 
Mark Murphy (a Commons Guy)
 http://commonsware.com 
_The Busy Coder's Guide to Android Development_ Version 2.0 Available!



--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. MapView application sluggish

Hi,
I followed the mapview sample application from the android website and
got it to deploy and run on the emulator.
My problem is that the map does not refresh when panning or zooming at
all.
If I run the google maps application in the emulator that runs fine,
its just my application that has a problem refresing/redrawing the
map.

The initial load happens and the application does what I want it to
other than the refresh sluggishness.

The code is all exactly the same as specified on the example.

I am using ADT and Eclipse Galileo for development android sdk.

Any pointers on why the maps do not refresh is appreciated.

Thanks,
Prachi

2. how to pass the objects from the activity to the app widget

Hi,

I need to share the value between the activity and app widget ,

Is there any way to achieve this other than using the intents.

Ex: say x is the variable defined in one class .i need to use the same
variable in the other class .how to achieve this.

I declared like

abc.java
Public static int x;

The above is working only when it is assigned at the time of
declaration.

like Publoc static int x=3.
i can access this in other class as abc.x

But it is not allowing to mofify in the abc.java file .

Please let me know ,is there any other solution ,


Regards
Rajgopal

3. Getting android.view.WindowManager$BadTokenException alternatively

4. Invoking application life cycle events

5. About Android SDK 2.1 Gallery.

6. How to call Web service in Andriod?

7. rooted phones, security, private storage.