I am using Android Studio version 1.2.2.
My min sdk project is 7, and I want to use the google play service, which requires min sdk 9 and above. Therefore, I use below to override the library library.
Although I get the following error:
Error: execution completed for task ': processDebugManifest'.
The merge manifest failed: uses-sdk: minSdkVersion 7 cannot be less than version 9 declared in the library D: \ project_name \ build \ intermediates \ exploded-aar \ com.google.android.gms \ play-services-ads \ 7.5 +0.0 \ AndroidManifest.xml Suggestion: use tools: overrideLibrary = "com.google.android.gms.ads" for forced use
I am stuck at this point and cannot go forward. Any help is appreciated.
source
share