uses-sdk:minSdkVersion 1 cannot be smaller than version 4 declared in library [com.android.support:multidex-instrumentation:1.0.2] C:\Users\Administrator\.gradle\caches\transforms-1\files-1.1\multidex-instrumentation-1.0.2.aar\61cc38cbb87ba2efbc15d8de10634654\AndroidManifest.xml as the library might be using APIs not available in 1
Suggestion: use a compatible library with a minSdk of at most 1,
or increase this project's minSdk version to at least 4,
or use tools:overrideLibrary="android.support.multidex.instrumentation" to force usage (may lead to runtime failures)
FAILURE: Build failed with an exception.
开发过程中 会遇到类似的问题,但是有的童鞋会说,我的app build.gradle里面明明设置了最低minSDK啊.并且也不是1.,为什么还说我的小于4呢
那你得看看你的项目里面的其他module了,肯定有一个依赖库的最低版本要么是设置的1 要么没有设置(没有设置的话,默认是1),检查完所有的build.gradle 就可以了