报错:
2020-03-25 01:54:10
/uzmap/temp/j7MpxyPl2e98uq0/AStudioProject/app/src/main/AndroidManifest.xml:3:5-73 Error:
uses-sdk:minSdkVersion 16 cannot be smaller than version 19 declared in library [:toutiaoAd-release:] /uzmap/.gradle/caches/transforms-1/files-1.1/toutiaoAd-release.aar/3a1ff8b7620f95ec0c9c0164cb9989f6/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="com.apicloud.toutiaoad" to force usage (may lead to runtime failures)
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:processReleaseManifest'.
> Manifest merger failed : uses-sdk:minSdkVersion 16 cannot be smaller than version 19 declared in library [:toutiaoAd-release:] /uzmap/.gradle/caches/transforms-1/files-1.1/toutiaoAd-release.aar/3a1ff8b7620f95ec0c9c0164cb9989f6/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="com.apicloud.toutiaoad" to force usage (may lead to runtime failures)
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
* Get more help at https://help.gradle.org
BUILD FAILED in 12s
解决办法:
云编译 高级设置 安卓固件版本 设置为5.1