简体   繁体   English

Android应用程序仅在运行Android 4.4.2的Google nexus 7中崩溃-Kitkat

[英]Android app crashing only in google nexus 7 running android 4.4.2 - kitkat

I am developing a android tab application and I have tested in 10 and 7 inch emulators running android 4.0.3 which is Ice Cream Sand-witch. 我正在开发一个android选项卡应用程序,我已经在运行android 4.0.3的10和7英寸模拟器中进行了测试,这是Ice Cream Sand-witch。 When I try to run the same application on google galaxy nexus 7, the app crashes at launch. 当我尝试在google galaxy nexus 7上运行相同的应用程序时,该应用程序在启动时崩溃。 I have also included following lines in the manifest: 我还在清单中包括以下几行:

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

I think there is no issue with my folder structure (drawables and layout folders): 我认为我的文件夹结构(可绘制和布局文件夹)没有问题:

res文件夹结构

Any help is greatly appreciated. 任何帮助是极大的赞赏。

I got it working. 我知道了 There were two mistakes that I had done. 我犯了两个错误。

  1. SDK was not updated to kitkat. SDK未更新为kitkat。
  2. Layout files were not included in layouts-sw600 (portrait). 布局文件未包含在layouts-sw600(纵向)中。

Steps I took: 我采取的步骤:

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 应用程序未在 android 版本 4.4.2(KITKAT) 上运行,但在其他设备上运行良好 - App not running on android version 4.4.2(KITKAT) but running fine on other devices Google Firebase是否可以在Android 4.4.2(kitkat)版本上使用? - Does Google Firebase work on Android version 4.4.2(kitkat)? 防止应用程序显示在android kitkat 4.4.2上的最新应用程序列表中 - Prevent an app to show on recent application list on android kitkat 4.4.2 Android应用程序似乎在KitKat 4.4上启动时崩溃 - Android app seems to be crashing on launch on KitKat 4.4 Css滤镜模糊功能在Cordova app,Android 4.4.2,Nexus 4中无法使用 - Css filter blur is not working in Cordova app, Android 4.4.2, Nexus 4 在android nexus 5(4.4.2)本机邮件应用程序上响应html电子邮件 - Responsive html email on android nexus 5 (4.4.2) native mail app AlarmManager在Android版本4.4.2 KitKat中触发两次 - AlarmManager fires twice in Android Version 4.4.2 KitKat android开关样式不适用于KitKat(4.4.2) - android switch style is not applied on KitKat (4.4.2) Android 4.4.2 Kitkat无法使用HttpURLConnection发送请求 - Android 4.4.2 Kitkat can not send a request with HttpURLConnection 在webview android kitkat 4.4.2上“选择要上传的文件” - “choose file to upload” on webview android kitkat 4.4.2
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM