我正在尝试添加admob版本11.0.0,将min sdk从8更改为14
Error:Execution failed for task ':android:processDebugManifest'.
> Manifest merger failed : uses-sdk:minSdkVersion 8 cannot be smaller than version 14 declared in library [com.google.android.gms:play-services-ads:11.0.0] /root/.android/build-cache/f490cf7844530d9720846c8edda880b864f56ec3/output/AndroidManifest.xml
Suggestion: use tools:overrideLibrary="com.google.android.gms.ads.impl" to force usage
我应该在其他清单文件中更改min sdk吗?那是在android manfest中,我安装了最新的更新。
答案 0 :(得分:1)
找到你的template<typename BOOL_COND>
bool calculate(const BOOL_COND& bool_cond)
{
if constexpr(std::is_invokable_v<const BOOL_COND&>)
{
return !(!(bool_cond()));
}
else
{
return !(!(bool_cond));
}
}
android模块文件
在build.gradle
文件中,标记为build.gradle
defaultConfig
这将覆盖defaultConfig {
applicationId "com.its.adservice"
minSdkVersion 14 // <- change here
targetSdkVersion 22
multiDexEnabled true // add this to enable multi-dex
}
文件