Вопрос

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?

Это было полезно?

Решение 3

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

Другие советы

  • Right click on your project
  • Click Properties
  • Android
  • Select your new build target.

Change the Build Target for your project at any time , Right-click the project in the Package Explorer, select Properties, select the Android and then check the desired Project Target.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top