gpt4 book ai didi

Android 应用程序仅在运行 android 4.4.2 的 google nexus 7 中崩溃 - kitkat

转载 作者:行者123 更新时间:2023-12-03 17:33:11 24 4
gpt4 key购买 nike

我正在开发一个 android tab 应用程序,我已经在运行 android 4.0.3 的 10 和 7 英寸模拟器中进行了测试,这是 Ice Cream Sand-witch。当我尝试在 google Galaxy nexus 7 上运行相同的应用程序时,该应用程序在启动时崩溃。我还在 list 中包含以下几行:

<uses-sdk
android:minSdkVersion="14"
android:targetSdkVersion="19" />

我认为我的文件夹结构(可绘制和布局文件夹)没有问题:

res folder structure

任何帮助是极大的赞赏。

最佳答案

我让它工作了。我犯了两个错误。

  • SDK 未更新为 kitkat。
  • 布局文件未包含在 layouts-sw600(纵向)中。

  • 我采取的步骤:
  • 将 SDK 更新为 kitkat。
  • 然后关注Eclipse reports rendering library more recent than ADT plug-in stpe
  • 创建了一个运行 kitkat 的 nexus 7 模拟器。
  • 然后发现了bug。
  • 关于Android 应用程序仅在运行 android 4.4.2 的 google nexus 7 中崩溃 - kitkat,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21121299/

    24 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com