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) 
_The Busy Coder's Guide to Android Development_ Version 2.0 Available!


Other Threads

1. How can I alway instantiate my ContentProvider


In my application, I have created a ContentProvider.
Is there a way for me to instantiate this ContentProvider when my apk is
RIght now, the ContentProvider only instantiate when some one does a query.

Thank you.


2. new sdk requires versionCode bump to install?

My old development process allowed me to make any change in the java
code and use eclipse's Run button to install the updated package to
the emulator.

Now I get
[2009-12-15 11:51:55 - SwipFull]Application already deployed. No need
to reinstall.
even though the code has changed.

I realize the manifest versionCode is used to determine if the app has
changed and it works fine if I bump up that number. This did not used
to be necessary and it slows down development when I have to enter
AndroidManifest and make a change with every deploy to the emulator.
Is there a way around this?



3. Dialog & windowBackground style item

4. Same code & phone models - inconsistent results

5. aapt backwards compatibility, etc

6. Does Android has a Touchscreen requirement?

7. IOException with BufferedReader