我一直试图找出这个问题几天,但还没有找到任何解决方案.没有在清单中限制设备的use-feature元素.
这些是Manifest.xml中使用的权限:
<uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /> <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
这是app.gradle中的build config:
compileSdkVersion 23 buildToolsVersion "24.0.3" defaultConfig { applicationId "com.XXXXX" minSdkVersion 12 targetSdkVersion 23 versionCode 2 versionName "1.0.1" }
该应用程序正在使用以下依赖关系:
dependencies { compile fileTree(dir: 'libs',include: ['*.jar']) testCompile 'junit:junit:4.12' compile files('libs/diewald_shapeFileReader.jar') compile('com.crashlytics.sdk.android:crashlytics:2.5.5@aar') { transitive = true; } compile 'com.android.support:appcompat-v7:23.4.0' compile 'com.google.code.gson:gson:2.4' compile 'com.itextpdf:itextg:5.5.9' compile 'org.apache.directory.studio:org.apache.commons.io:2.4' compile 'org.apache.directory.studio:org.apache.commons.lang:2.6' compile 'com.google.android.gms:play-services-maps:9.0.2' }