Search code examples
androideclipseandroid-version

Upgrade android version in Eclipse project


I have created a project in Eclipse with Android 4.0.3 platform, but when I run it on device with android 4.1.2, it doesn't work well. I don't know exactly what causes it, but I want to try to upgrade the project (in Eclipse) to android v.4.1.2. Anyone knows how to do it?


Solution

  • It is very simple - find file called project.properties and replace this line:

    target=android-15
    

    to:

    target=android-16
    

    (API 15 is Android 4.0.3, API 16 is Android 4.1.2).