安卓应用程序已安装,但赢得';在android 4.4上无法打开

安卓应用程序已安装,但赢得';在android 4.4上无法打开,android,android-4.4-kitkat,leanback,Android,Android 4.4 Kitkat,Leanback,我已经使用leanback库leanback版本17:23.1.1构建了一个应用程序 以下是到目前为止的故事: 1) 该应用程序在我所有5.0或更高版本的android设备上运行。 2) 该应用程序在仿真器中运行,操作系统为Android 5.0或更高版本和Android 4.4 问题是它将无法在我的两台设备上打开和运行,这两台设备都是带有kitkat(android 4.4.2)的android电视盒。我可以安装应用程序,并在已安装应用程序列表中看到它;但我无法打开应用程序,也无法在设备上运行

我已经使用leanback库leanback版本17:23.1.1构建了一个应用程序

以下是到目前为止的故事:

1) 该应用程序在我所有5.0或更高版本的android设备上运行。 2) 该应用程序在仿真器中运行,操作系统为Android 5.0或更高版本和Android 4.4

问题是它将无法在我的两台设备上打开和运行,这两台设备都是带有kitkat(android 4.4.2)的android电视盒。我可以安装应用程序,并在已安装应用程序列表中看到它;但我无法打开应用程序,也无法在设备上运行

我用android studio创建了这个应用程序。以下是app gradle.build文件:

apply plugin: 'com.android.application'


android {
    compileSdkVersion 'Google Inc.:Google APIs:23'
    buildToolsVersion "23.0.2"
    defaultConfig {
        applicationId 'xxxx.xxxxxx.xxxxx'
        minSdkVersion 18
        targetSdkVersion 21
        versionCode 1
        versionName "1.0"
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
    productFlavors {
    }
}

dependencies {
    compile fileTree(include: ['*.jar'], dir: 'libs')
    compile 'com.android.support:recyclerview-v7:23.1.1'
    compile 'com.android.support:leanback-v17:23.1.1'
    compile 'com.squareup.picasso:picasso:2.3.2'


}

如何让应用程序在我的安卓4.4设备上运行???

我升级到安卓5.1设备,一切正常。此外,我还在5.1和4.4设备上安装了Android leanback launcher,它在这两种设备上都运行良好

在Androidmenfext.xml文件中调整API级别的minimum和target也起到了作用

谢谢


ironmantis7x

请准确解释您所说的“我无法打开/运行应用程序”是什么意思。您在尝试打开应用程序时是否查看了日志?也许它在打开之前就崩溃了。是的,我确实崩溃了,而且没有崩溃的迹象。它可以在模拟器和我的android 5.0平板电脑上运行。