我已经差不多完成了应用程序的开发。
我正在使用android studio 3.1但是当我使用较低的API进行测试时,即使我已经设置了minSdkVersion 15,我的应用也无法正常工作。
我希望你能就此事给我一些建议。
apply plugin: 'com.android.application'
android {
compileSdkVersion 26
defaultConfig {
applicationId "com.example.fadhli.picbetaversionstable"
minSdkVersion 15
targetSdkVersion 19
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
postprocessing {
removeUnusedCode false
removeUnusedResources false
obfuscate false
optimizeCode false
proguardFile 'proguard-rules.pro'
}
}
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support:appcompat-v7:26.1.0'
implementation 'com.android.support.constraint:constraint-layout:1.0.2'
implementation 'com.basgeekball:awesome-validation:1.3'
implementation 'com.android.support:design:26.1.0'
implementation 'com.android.volley:volley:1.0.0'
implementation 'com.android.support:support-v13:26.1.0'
implementation 'com.android.support:cardview-v7:26.1.0'
implementation 'com.android.support:support-v4:26.1.0'
implementation 'com.google.android.gms:play-services-places:11.6.0'
// implementation 'com.jaredrummler:material-spinner:1.2.3'
compile 'com.github.ganfra:material-spinner:2.0.0'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.1'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'
}