在 Android2.2 平台上构建的应用程序无法在 2.3.3 平台的模拟器上运行

发布于 2024-12-19 23:46:24 字数 139 浏览 5 评论 0原文

我是安卓新手,请帮助我...... 我在 android 2.2platform 中构建了一个应用程序,但是当我在 2.3.3 及更高版本的模拟器上测试它时,它无法正常工作。 模拟器有什么问题吗?或者我必须使用 2.3.3 平台构建相同的应用程序......???

I am new in android, Please help me ....
I build an application in android 2.2platform but when i test it on an emulator of version 2.3.3 and higher it is not working .
Is there any problem of emulators or I have to build the same application with the 2.3.3 platform .....???

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

孤城病女 2024-12-26 23:46:24

确保您的 AndroidManifest.xml 具有如下所示的行:

<uses-sdk android:minSdkVersion="8"
          android:targetSdkVersion="8"
          android:maxSdkVersion="10" />

本质上,这表示“我希望以 2.2 设备为目标,但应用程序应在最高版本为 2.3.4 的任何设备上运行。”

您可以在http://developer 获取有关uses-sdk 的更多信息.android.com/guide/topics/manifest/uses-sdk-element.html

Make sure that your AndroidManifest.xml has a line like the following:

<uses-sdk android:minSdkVersion="8"
          android:targetSdkVersion="8"
          android:maxSdkVersion="10" />

This says, essentially, "I would like to target 2.2 devices, but the application should run on any devices up to 2.3.4."

You can get more information about uses-sdk at http://developer.android.com/guide/topics/manifest/uses-sdk-element.html

韶华倾负 2024-12-26 23:46:24

请检查您的清单文件,其中是否有类似的代码?如果是,则删除该行,然后对其进行测试或设置您想要运行应用程序的级别。

Please check your Manifest file in that is there any code like ? If yes then remove that line and then test it or set that at which level you want to run your application.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文