Android 开发上有一个 链接 blog 到适用于手机和平板电脑的应用程序示例,但有AndroidManifest.xml
中的 android:minSdkVersion="11"
假定平板电脑而不是手机。当我降低最低版本时,应用程序无法启动。我错过了什么?
There is a link on the android dev blog to application example which works on both handsets and tablets, but there is android:minSdkVersion="11"
in AndroidManifest.xml
which assumes tablets rather than handsets. When I decreased the min version the application just didn't start. What did I miss?
发布评论
评论(1)
没有看到特定的示例应用程序:该帖子与 Ice Cream Sandwich 相关,这是将在手机上运行的 Android 的下一个(当前未发布)版本。它将具有比 11 更高的 API 级别。该应用程序可能使用 api lvl 11 上引入的功能。ICS 将支持这些功能,而当前的手机版本则不支持。
Without seeing that particular sample app: That post relates to Ice Cream Sandwich, that's the next (currently not published) version of android that will run on phones. It will have a higher API level than 11. The app probably uses features that were introduced on api lvl 11. ICS will support these, current phone versions don't.