I've been trying to figure out this issue for a couple of days, but haven't found any solution yet. There is no uses-feature
element that restricts the device in the manifest.
These are the permissions used in 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" />
Here is the build config in app.gradle
:
compileSdkVersion 23
buildToolsVersion "24.0.3"
defaultConfig {
applicationId "com.XXXXX"
minSdkVersion 12
targetSdkVersion 23
versionCode 2
versionName "1.0.1"
}
and the app is using following dependencies:
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'
}
It has to do something with this https://github.com/robot-mitya/rosjava_bootstrap/commit/f9acae776f991374428100f8193c5f3861ca9514
Change this
compile 'org.apache.directory.studio:org.apache.commons.io:2.4'
compile 'org.apache.directory.studio:org.apache.commons.lang:2.6'
to
compile 'commons-io:commons-io:2.4'
compile 'commons-lang:commons-lang:2.6'
Please check if this works.
Similar issue https://stackoverflow.com/a/32749726/3111083
Try to replace these dependencies
compile 'org.apache.directory.studio:org.apache.commons.io:2.4'
compile 'org.apache.directory.studio:org.apache.commons.lang:2.6'
with
compile 'commons-io:commons-io:2.4'
compile 'commons-lang:commons-lang:2.6'
Hope this will solve your problem.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With