Dependency: androidx.webkit:webkit:1.11.0-alpha02. 问题
android studio 打包后出现这个问题
1.步骤更新topOn sdk 添加
//Admob
api “com.anythink.sdk:adapter-admob:6.4.18”
api “com.google.android.gms:play-services-ads:23.4.0”
api "com.google.android.gms:play-services-ads:23.4.0"sdk 中会出现打包编译报错。
如下:
The minCompileSdk (34) specified in a
dependency’s AAR metadata (META-INF/com/android/build/gradle/aar-metadata.properties)
is greater than this module’s compileSdkVersion (android-33).
Dependency: androidx.webkit:webkit:1.11.0-alpha02.
AAR metadata file: D:\Soft1.gradle\caches\transforms-3\7cb925555b2e70767710bb3709eb0394\transformed\webkit-1.11.0-alpha02\META-INF\com\android\build\gradle\aar-metadata.properties.
解决方案:将
D:\Soft1.gradle\caches\transforms-3\7cb925555b2e70767710bb3709eb0394\transformed\webkit-1.11.0-alpha02\META-INF\com\android\build\gradle\aar-metadata.properties.
路径下的aar-metadata.properties.文件打开修改minCompileSdk 为当前的编译sdk版本就好minCompileSdk =33
原文地址:https://blog.csdn.net/BCXS1/article/details/143592532
免责声明:本站文章内容转载自网络资源,如本站内容侵犯了原著者的合法权益,可联系本站删除。更多内容请关注自学内容网(zxcms.com)!