Enable hardware acceleration in Android app, targeting Honeycomb AND prior versions

前端 未结 2 487
一生所求
一生所求 2020-12-15 08:06

To enable hardware acceleration in an Android 3.0+ app I can do this:


But th

2条回答
  •  不知归路
    2020-12-15 08:27

    You can leave the min/targetSdkVersion as-is in your manifest. I have mine at 3 & 8. What you need to do is change the SDK you're compiling against. In Eclipse, go to Project Properties > Android and choose a Project API Target with an API Level of 11 or above (e.g., "Android 3.0").

提交回复
热议问题