android 应用安装但无法在 android 4.4 上打开
android app installs but won't open on android 4.4
我已经使用 Leanback 库 Leanback 版本 17:23.1.1.
构建了一个应用程序
到目前为止的故事是这样的:
1) 我所有 android 5.0 或更高版本的设备上的应用程序 运行s。
2) 模拟器中的应用 运行s Android 5.0 或更高版本和 android 4.4 作为 OS
问题是它无法在我的两台设备上打开和 运行,它们是带有 kitkat 的 android 电视盒 (Android 4.4.2)。我可以安装该应用程序并在已安装的应用程序列表中看到它;但我无法打开该应用程序,也无法在设备上 运行
我使用 android studio 创建了应用程序。这是应用 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'
}
如何在我的 android 4.4 设备上将应用安装到 运行?
我升级到 Android 5.1 设备,一切正常。我还在 5.1 和 4.4 设备上安装了 Android leanback 启动器,它在两者上都运行良好。
调整 Androidmenfext.xml 文件中的最小值和目标值 API 也有效。
谢谢
ironmantis7x
我已经使用 Leanback 库 Leanback 版本 17:23.1.1.
构建了一个应用程序到目前为止的故事是这样的:
1) 我所有 android 5.0 或更高版本的设备上的应用程序 运行s。 2) 模拟器中的应用 运行s Android 5.0 或更高版本和 android 4.4 作为 OS
问题是它无法在我的两台设备上打开和 运行,它们是带有 kitkat 的 android 电视盒 (Android 4.4.2)。我可以安装该应用程序并在已安装的应用程序列表中看到它;但我无法打开该应用程序,也无法在设备上 运行
我使用 android studio 创建了应用程序。这是应用 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'
}
如何在我的 android 4.4 设备上将应用安装到 运行?
我升级到 Android 5.1 设备,一切正常。我还在 5.1 和 4.4 设备上安装了 Android leanback 启动器,它在两者上都运行良好。
调整 Androidmenfext.xml 文件中的最小值和目标值 API 也有效。
谢谢
ironmantis7x