为什么我支持的android设备这么低?我已尝试定位最低的apk(13),但只有12,000台设备可以使用我的应用。

任何帮助将非常感激!

这是我的build.gradle。

android {
signingConfigs {
}
compileSdkVersion 23
buildToolsVersion '25.0.0'
defaultConfig {
    applicationId "thomas.surfaceviewtest"
    minSdkVersion 13
    targetSdkVersion 13
    versionCode 5
    versionName "1.0.5"
    multiDexEnabled true
}
buildTypes {
    release {
        minifyEnabled false
        proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
    }
    debug {
    }
}
dexOptions {
}
}
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
compile 'com.android.support:appcompat-v7:23.4.0'
compile 'com.android.support:design:23.4.0'
compile 'com.google.android.gms:play-services-ads:9.4.0'
compile 'com.google.firebase:firebase-ads:9.4.0'
}
apply plugin: 'com.google.gms.google-services'

android - 为什么我支持的android设备这么低?-LMLPHP

最佳答案

这是因为您的target sdk级别低

targetSdkVersion 13

更新到25,以便支持更多设备
targetSdkVersion 25

您可以检查更多的Android SDK版本here

关于android - 为什么我支持的android设备这么低?,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/46092238/

10-12 00:33
查看更多