The minCompileSdk (33) specified in a dependency's AAR metadata (META-INF/com/android/build/gradle/aar-metadata.properties) is greater than this module's compileSdkVersion (android-29). Dependency: androidx.compose.ui:ui-tooling:1.3.0. AAR metadata file: C:\Users\Administrator\Desktop\frameworkAPI\a133\MyApplication\app\mylibrary\src\main\java\com\example\mylibrary\caches\transforms-3\e68aebfa7328b64143008873617ba907\transformed\ui-tooling-1.3.0\META-INF\com\android\build\gradle\aar-metadata.properties.
时间: 2023-08-27 08:22:23 浏览: 391
这个问题的意思是你使用的 Android SDK 版本低于某些依赖库的最低版本要求。在这个例子中,你使用的是 Android SDK 29,但是你的依赖库 androidx.compose.ui:ui-tooling:1.3.0 要求最低的 SDK 版本是 33,因此出现了这个错误。为了解决这个问题,你需要将你的 Android SDK 版本升级到 33 或更高版本。你可以在你的项目的 build.gradle 文件中修改 compileSdkVersion 的值,并重新构建你的项目。
相关问题
The minCompileSdk (33) specified in a dependency's AAR metadata (META-INF/com/android/build/gradle/aar-metadata.properties) is greater than this module's compileSdkVersion (android-30). Dependency: androidx.appcompat:appcompat-resources:1.6.1. AAR metadata file: C:\Users\蜡笔小头\.gradle\caches\transforms-2\files-2.1\ebd20b5a28bc3b74e8a57672dbbd6379\jetified-appcompat-resources-1.6.1\META-INF\com\android\build\gradle\aar-metadata.properties.
这个错误是因为你的项目使用的 `compileSdkVersion` 是 30,而其中一个依赖库 `androidx.appcompat:appcompat-resources:1.6.1` 中的 `minCompileSdk` 版本是 33,两者不兼容导致的。要解决这个问题,你需要将项目的 `compileSdkVersion` 提升到 33 或更高版本,或者将依赖库版本降低到支持 30 版本的版本。你可以在项目的 `build.gradle` 文件中进行修改。
ERROR Failed to compile with 1 errors 下午4:49:18 This dependency was not found: * @/views/base/sso/sso-login-types.vue in ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/views/login/index.vue?vue&type=script&lang=js& To install it, you can run: npm install --save @/views/base/sso/sso-login-types.vue
It seems like there is a missing dependency in your project. The file `sso-login-types.vue` is not found in the `@/views/base/sso/` directory. To resolve this issue, you can try running the following command to install the missing dependency:
```
npm install --save @/views/base/sso/sso-login-types.vue
```
Make sure you have the correct package name and version specified in your `package.json` file.
阅读全文
相关推荐

















