[flutter] uses-sdk:minSdkVersion 16 cannot be smaller than version 19 declared in library [:google_mobile_ads]

    

 uses-sdk:minSdkVersion 16 cannot be smaller than version 19 declared in library [:google_mobile_ads] 


..../AndroidManifest.xml as the library might be using APIs not available in 16

Suggestion: use a compatible library with a minSdk of at most 16,

or increase this project's minSdk version to at least 19,

or use tools:overrideLibrary="io.flutter.plugins.googlemobileads" to force usage (may lead to runtime failures)


에러가 친절하게 minSdk를 고치라고 알려줬다.

minSdk는 안드로이드 build gradle에 minsdkversion 고치면 된다고한다.

https://stackoverflow.com/questions/52060516/how-to-change-android-minsdkversion-in-flutter-project




---

..안드로이드만 바꿔도 되는건가?

댓글

이 블로그의 인기 게시물

js 스트링에서 요소 갯수 세기

STUDY

javascript cheatsheet