Error:Execution failed for task ':Application:processDebugManifest'.
> Manifest merger failed : uses-sdk:minSdkVersion 7 cannot be smaller than version 9 declared in library [com.android.support:gridlayout-v7:25.0.1] F:\develop\project\android\ActionBarCompat-Basic\Application\build\intermediates\exploded-aar\com.android.support\gridlayout-v7\25.0.1\AndroidManifest.xml
Suggestion: use tools:overrideLibrary="android.support.v7.gridlayout" to force usage
> Manifest merger failed : uses-sdk:minSdkVersion 7 cannot be smaller than version 9 declared in library [com.android.support:gridlayout-v7:25.0.1] F:\develop\project\android\ActionBarCompat-Basic\Application\build\intermediates\exploded-aar\com.android.support\gridlayout-v7\25.0.1\AndroidManifest.xml
Suggestion: use tools:overrideLibrary="android.support.v7.gridlayout" to force usage
sdkの7は使えず、最低9からみたいなことが書いてある。
build.gradle(Module.Application)を書き換える
build.gradle(Module.Application) のdefaultConfigのminSdkVersion を書き換える。
対応予定の最小のバージョンを記述すればOK。
defaultConfig {
minSdkVersion 7
targetSdkVersion 25
}
minSdkVersion 7
targetSdkVersion 25
}
↓
defaultConfig {
minSdkVersion 14
targetSdkVersion 25
}
minSdkVersion 14
targetSdkVersion 25
}
参考
http://stackoverflow.com/questions/30977031/uses-sdkminsdkversion-7-cannot-be-smaller-than-version-9-declared-in-library
エラー対応方法一覧みたいなのがほしいよね。