明亮AI
明亮AI
  • 发布:2024-12-17 09:42
  • 更新:2025-06-11 17:22
  • 阅读:288

uts插件编译失败

分类:HBuilderX
FAILURE: Build failed with an exception.  

* What went wrong:  
Execution failed for task ':uni_modules:olan-pocaaspay:compileReleaseKotlin'.  
> Could not resolve all files for configuration ':uni_modules:olan-pocaaspay:releaseCompileClasspath'.  
> Could not resolve androidx.core:core:1.6.0.  
Required by:  
project :uni_modules:olan-pocaaspay  
project :uni_modules:olan-pocaaspay > androidx.core:core-ktx:1.6.0  
> Cannot find a version of 'androidx.core:core' that satisfies the version constraints:  
Dependency path '75283f90-bc16-11ef-9e23-b9bda2f989dd.uni_modules:olan-pocaaspay:unspecified' --> 'androidx.core:core:1.6.0'  
Constraint path '75283f90-bc16-11ef-9e23-b9bda2f989dd.uni_modules:olan-pocaaspay:unspecified' --> 'androidx.core:core:{strictly 1.0.0}' because of the following reason: releaseRuntimeClasspath uses version 1.0.0  
Dependency path '75283f90-bc16-11ef-9e23-b9bda2f989dd.uni_modules:olan-pocaaspay:unspecified' --> 'androidx.appcompat:appcompat:1.0.0' (compile) --> 'androidx.core:core:1.0.0'  
Dependency path '75283f90-bc16-11ef-9e23-b9bda2f989dd.uni_modules:olan-pocaaspay:unspecified' --> 'androidx.core:core-ktx:1.6.0' (releaseApiPublication) --> 'androidx.core:core:1.6.0'  
Dependency path '75283f90-bc16-11ef-9e23-b9bda2f989dd.uni_modules:olan-pocaaspay:unspecified' --> 'androidx.appcompat:appcompat:1.0.0' (compile) --> 'androidx.legacy:legacy-support-core-utils:1.0.0' (compile) --> 'androidx.core:core:1.0.0'  
Dependency path '75283f90-bc16-11ef-9e23-b9bda2f989dd.uni_modules:olan-pocaaspay:unspecified' --> 'androidx.appcompat:appcompat:1.0.0' (compile) --> 'androidx.fragment:fragment:1.0.0' (compile) --> 'androidx.core:core:1.0.0'  
Dependency path '75283f90-bc16-11ef-9e23-b9bda2f989dd.uni_modules:olan-pocaaspay:unspecified' --> 'androidx.appcompat:appcompat:1.0.0' (compile) --> 'androidx.vectordrawable:vectordrawable:1.0.0' (compile) --> 'androidx.core:core:1.0.0'  
Dependency path '75283f90-bc16-11ef-9e23-b9bda2f989dd.uni_modules:olan-pocaaspay:unspecified' --> 'androidx.appcompat:appcompat:1.0.0' (compile) --> 'androidx.legacy:legacy-support-core-utils:1.0.0' (compile) --> 'androidx.loader:loader:1.0.0' (compile) --> 'androidx.core:core:1.0.0'  
Dependency path '75283f90-bc16-11ef-9e23-b9bda2f989dd.uni_modules:olan-pocaaspay:unspecified' --> 'androidx.appcompat:appcompat:1.0.0' (compile) --> 'androidx.fragment:fragment:1.0.0' (compile) --> 'androidx.legacy:legacy-support-core-ui:1.0.0' (compile) --> 'androidx.core:core:1.0.0'  
Dependency path '75283f90-bc16-11ef-9e23-b9bda2f989dd.uni_modules:olan-pocaaspay:unspecified' --> 'androidx.appcompat:appcompat:1.0.0' (compile) --> 'androidx.fragment:fragment:1.0.0' (compile) --> 'androidx.legacy:legacy-support-core-ui:1.0.0' (compile) --> 'androidx.customview:customview:1.0.0' (compile) --> 'androidx.core:core:1.0.0'  
Dependency path '75283f90-bc16-11ef-9e23-b9bda2f989dd.uni_modules:olan-pocaaspay:unspecified' --> 'androidx.appcompat:appcompat:1.0.0' (compile) --> 'androidx.fragment:fragment:1.0.0' (compile) --> 'androidx.legacy:legacy-support-core-ui:1.0.0' (compile) --> 'androidx.viewpager:viewpager:1.0.0' (compile) --> 'androidx.core:core:1.0.0'  
Dependency path '75283f90-bc16-11ef-9e23-b9bda2f989dd.uni_modules:olan-pocaaspay:unspecified' --> 'androidx.appcompat:appcompat:1.0.0' (compile) --> 'androidx.fragment:fragment:1.0.0' (compile) --> 'androidx.legacy:legacy-support-core-ui:1.0.0' (compile) --> 'androidx.coordinatorlayout:coordinatorlayout:1.0.0' (compile) --> 'androidx.core:core:1.0.0'  
Dependency path '75283f90-bc16-11ef-9e23-b9bda2f989dd.uni_modules:olan-pocaaspay:unspecified' --> 'androidx.appcompat:appcompat:1.0.0' (compile) --> 'androidx.fragment:fragment:1.0.0' (compile) --> 'androidx.legacy:legacy-support-core-ui:1.0.0' (compile) --> 'androidx.drawerlayout:drawerlayout:1.0.0' (compile) --> 'androidx.core:core:1.0.0'  
Dependency path '75283f90-bc16-11ef-9e23-b9bda2f989dd.uni_modules:olan-pocaaspay:unspecified' --> 'androidx.appcompat:appcompat:1.0.0' (compile) --> 'androidx.fragment:fragment:1.0.0' (compile) --> 'androidx.legacy:legacy-support-core-ui:1.0.0' (compile) --> 'androidx.slidingpanelayout:slidingpanelayout:1.0.0' (compile) --> 'androidx.core:core:1.0.0'  
Dependency path '75283f90-bc16-11ef-9e23-b9bda2f989dd.uni_modules:olan-pocaaspay:unspecified' --> 'androidx.appcompat:appcompat:1.0.0' (compile) --> 'androidx.fragment:fragment:1.0.0' (compile) --> 'androidx.legacy:legacy-support-core-ui:1.0.0' (compile) --> 'androidx.swiperefreshlayout:swiperefreshlayout:1.0.0' (compile) --> 'androidx.core:core:1.0.0'  
Dependency path '75283f90-bc16-11ef-9e23-b9bda2f989dd.uni_modules:olan-pocaaspay:unspecified' --> 'androidx.appcompat:appcompat:1.0.0' (compile) --> 'androidx.fragment:fragment:1.0.0' (compile) --> 'androidx.legacy:legacy-support-core-ui:1.0.0' (compile) --> 'androidx.asynclayoutinflater:asynclayoutinflater:1.0.0' (compile) --> 'androidx.core:core:1.0.0'  

> Could not resolve androidx.core:core:{strictly 1.0.0}.  
Required by:  
project :uni_modules:olan-pocaaspay  
> Cannot find a version of 'androidx.core:core' that satisfies the version constraints:  
Dependency path '75283f90-bc16-11ef-9e23-b9bda2f989dd.uni_modules:olan-pocaaspay:unspecified' --> 'androidx.core:core:1.6.0'  
Constraint path '75283f90-bc16-11ef-9e23-b9bda2f989dd.uni_modules:olan-pocaaspay:unspecified' --> 'androidx.core:core:{strictly 1.0.0}' because of the following reason: releaseRuntimeClasspath uses version 1.0.0  
Dependency path '75283f90-bc16-11ef-9e23-b9bda2f989dd.uni_modules:olan-pocaaspay:unspecified' --> 'androidx.appcompat:appcompat:1.0.0' (compile) --> 'androidx.core:core:1.0.0'  
Dependency path '75283f90-bc16-11ef-9e23-b9bda2f989dd.uni_modules:olan-pocaaspay:unspecified' --> 'androidx.core:core-ktx:1.6.0' (releaseApiPublication) --> 'androidx.core:core:1.6.0'  
Dependency path '75283f90-bc16-11ef-9e23-b9bda2f989dd.uni_modules:olan-pocaaspay:unspecified' --> 'androidx.appcompat:appcompat:1.0.0' (compile) --> 'androidx.legacy:legacy-support-core-utils:1.0.0' (compile) --> 'androidx.core:core:1.0.0'  
Dependency path '75283f90-bc16-11ef-9e23-b9bda2f989dd.uni_modules:olan-pocaaspay:unspecified' --> 'androidx.appcompat:appcompat:1.0.0' (compile) --> 'androidx.fragment:fragment:1.0.0' (compile) --> 'androidx.core:core:1.0.0'  
Dependency path '75283f90-bc16-11ef-9e23-b9bda2f989dd.uni_modules:olan-pocaaspay:unspecified' --> 'androidx.appcompat:appcompat:1.0.0' (compile) --> 'androidx.vectordrawable:vectordrawable:1.0.0' (compile) --> 'androidx.core:core:1.0.0'  
Dependency path '75283f90-bc16-11ef-9e23-b9bda2f989dd.uni_modules:olan-pocaaspay:unspecified' --> 'androidx.appcompat:appcompat:1.0.0' (compile) --> 'androidx.legacy:legacy-support-core-utils:1.0.0' (compile) --> 'androidx.loader:loader:1.0.0' (compile) --> 'androidx.core:core:1.0.0'  
Dependency path '75283f90-bc16-11ef-9e23-b9bda2f989dd.uni_modules:olan-pocaaspay:unspecified' --> 'androidx.appcompat:appcompat:1.0.0' (compile) --> 'androidx.fragment:fragment:1.0.0' (compile) --> 'androidx.legacy:legacy-support-core-ui:1.0.0' (compile) --> 'androidx.core:core:1.0.0'  
Dependency path '75283f90-bc16-11ef-9e23-b9bda2f989dd.uni_modules:olan-pocaaspay:unspecified' --> 'androidx.appcompat:appcompat:1.0.0' (compile) --> 'androidx.fragment:fragment:1.0.0' (compile) --> 'androidx.legacy:legacy-support-core-ui:1.0.0' (compile) --> 'androidx.customview:customview:1.0.0' (compile) --> 'androidx.core:core:1.0.0'  
Dependency path '75283f90-bc16-11ef-9e23-b9bda2f989dd.uni_modules:olan-pocaaspay:unspecified' --> 'androidx.appcompat:appcompat:1.0.0' (compile) --> 'androidx.fragment:fragment:1.0.0' (compile) --> 'androidx.legacy:legacy-support-core-ui:1.0.0' (compile) --> 'androidx.viewpager:viewpager:1.0.0' (compile) --> 'androidx.core:core:1.0.0'  
Dependency path '75283f90-bc16-11ef-9e23-b9bda2f989dd.uni_modules:olan-pocaaspay:unspecified' --> 'androidx.appcompat:appcompat:1.0.0' (compile) --> 'androidx.fragment:fragment:1.0.0' (compile) --> 'androidx.legacy:legacy-support-core-ui:1.0.0' (compile) --> 'androidx.coordinatorlayout:coordinatorlayout:1.0.0' (compile) --> 'androidx.core:core:1.0.0'  
Dependency path '75283f90-bc16-11ef-9e23-b9bda2f989dd.uni_modules:olan-pocaaspay:unspecified' --> 'androidx.appcompat:appcompat:1.0.0' (compile) --> 'androidx.fragment:fragment:1.0.0' (compile) --> 'androidx.legacy:legacy-support-core-ui:1.0.0' (compile) --> 'androidx.drawerlayout:drawerlayout:1.0.0' (compile) --> 'androidx.core:core:1.0.0'  
Dependency path '75283f90-bc16-11ef-9e23-b9bda2f989dd.uni_modules:olan-pocaaspay:unspecified' --> 'androidx.appcompat:appcompat:1.0.0' (compile) --> 'androidx.fragment:fragment:1.0.0' (compile) --> 'androidx.legacy:legacy-support-core-ui:1.0.0' (compile) --> 'androidx.slidingpanelayout:slidingpanelayout:1.0.0' (compile) --> 'androidx.core:core:1.0.0'  
Dependency path '75283f90-bc16-11ef-9e23-b9bda2f989dd.uni_modules:olan-pocaaspay:unspecified' --> 'androidx.appcompat:appcompat:1.0.0' (compile) --> 'androidx.fragment:fragment:1.0.0' (compile) --> 'androidx.legacy:legacy-support-core-ui:1.0.0' (compile) --> 'androidx.swiperefreshlayout:swiperefreshlayout:1.0.0' (compile) --> 'androidx.core:core:1.0.0'  
Dependency path '75283f90-bc16-11ef-9e23-b9bda2f989dd.uni_modules:olan-pocaaspay:unspecified' --> 'androidx.appcompat:appcompat:1.0.0' (compile) --> 'androidx.fragment:fragment:1.0.0' (compile) --> 'androidx.legacy:legacy-support-core-ui:1.0.0' (compile) --> 'androidx.asynclayoutinflater:asynclayoutinflater:1.0.0' (compile) --> 'androidx.core:core:1.0.0'  

> Could not resolve androidx.core:core:1.0.0.  
Required by:  
project :uni_modules:olan-pocaaspay > androidx.appcompat:appcompat:1.0.0  
project :uni_modules:olan-pocaaspay > androidx.legacy:legacy-support-core-utils:1.0.0  
project :uni_modules:olan-pocaaspay > androidx.fragment:fragment:1.0.0  
project :uni_modules:olan-pocaaspay > androidx.vectordrawable:vectordrawable:1.0.0  
project :uni_modules:olan-pocaaspay > androidx.loader:loader:1.0.0  
project :uni_modules:olan-pocaaspay > androidx.legacy:legacy-support-core-ui:1.0.0  
project :uni_modules:olan-pocaaspay > androidx.customview:customview:1.0.0  
project :uni_modules:olan-pocaaspay > androidx.viewpager:viewpager:1.0.0  
project :uni_modules:olan-pocaaspay > androidx.coordinatorlayout:coordinatorlayout:1.0.0  
project :uni_modules:olan-pocaaspay > androidx.drawerlayout:drawerlayout:1.0.0  
project :uni_modules:olan-pocaaspay > androidx.slidingpanelayout:slidingpanelayout:1.0.0  
project :uni_modules:olan-pocaaspay > androidx.swiperefreshlayout:swiperefreshlayout:1.0.0  
project :uni_modules:olan-pocaaspay > androidx.asynclayoutinflater:asynclayoutinflater:1.0.0  
> Cannot find a version of 'androidx.core:core' that satisfies the version constraints:  
Dependency path '75283f90-bc16-11ef-9e23-b9bda2f989dd.uni_modules:olan-pocaaspay:unspecified' --> 'androidx.core:core:1.6.0'  
Constraint path '75283f90-bc16-11ef-9e23-b9bda2f989dd.uni_modules:olan-pocaaspay:unspecified' --> 'androidx.core:core:{strictly 1.0.0}' because of the following reason: releaseRuntimeClasspath uses version 1.0.0  
Dependency path '75283f90-bc16-11ef-9e23-b9bda2f989dd.uni_modules:olan-pocaaspay:unspecified' --> 'androidx.appcompat:appcompat:1.0.0' (compile) --> 'androidx.core:core:1.0.0'  
Dependency path '75283f90-bc16-11ef-9e23-b9bda2f989dd.uni_modules:olan-pocaaspay:unspecified' --> 'androidx.core:core-ktx:1.6.0' (releaseApiPublication) --> 'androidx.core:core:1.6.0'  
Dependency path '75283f90-bc16-11ef-9e23-b9bda2f989dd.uni_modules:olan-pocaaspay:unspecified' --> 'androidx.appcompat:appcompat:1.0.0' (compile) --> 'androidx.legacy:legacy-support-core-utils:1.0.0' (compile) --> 'androidx.core:core:1.0.0'  
Dependency path '75283f90-bc16-11ef-9e23-b9bda2f989dd.uni_modules:olan-pocaaspay:unspecified' --> 'androidx.appcompat:appcompat:1.0.0' (compile) --> 'androidx.fragment:fragment:1.0.0' (compile) --> 'androidx.core:core:1.0.0'  
Dependency path '75283f90-bc16-11ef-9e23-b9bda2f989dd.uni_modules:olan-pocaaspay:unspecified' --> 'androidx.appcompat:appcompat:1.0.0' (compile) --> 'androidx.vectordrawable:vectordrawable:1.0.0' (compile) --> 'androidx.core:core:1.0.0'  
Dependency path '75283f90-bc16-11ef-9e23-b9bda2f989dd.uni_modules:olan-pocaaspay:unspecified' --> 'androidx.appcompat:appcompat:1.0.0' (compile) --> 'androidx.legacy:legacy-support-core-utils:1.0.0' (compile) --> 'androidx.loader:loader:1.0.0' (compile) --> 'androidx.core:core:1.0.0'  
Dependency path '75283f90-bc16-11ef-9e23-b9bda2f989dd.uni_modules:olan-pocaaspay:unspecified' --> 'androidx.appcompat:appcompat:1.0.0' (compile) --> 'androidx.fragment:fragment:1.0.0' (compile) --> 'androidx.legacy:legacy-support-core-ui:1.0.0' (compile) --> 'androidx.core:core:1.0.0'  
Dependency path '75283f90-bc16-11ef-9e23-b9bda2f989dd.uni_modules:olan-pocaaspay:unspecified' --> 'androidx.appcompat:appcompat:1.0.0' (compile) --> 'androidx.fragment:fragment:1.0.0' (compile) --> 'androidx.legacy:legacy-support-core-ui:1.0.0' (compile) --> 'androidx.customview:customview:1.0.0' (compile) --> 'androidx.core:core:1.0.0'  
Dependency path '75283f90-bc16-11ef-9e23-b9bda2f989dd.uni_modules:olan-pocaaspay:unspecified' --> 'androidx.appcompat:appcompat:1.0.0' (compile) --> 'androidx.fragment:fragment:1.0.0' (compile) --> 'androidx.legacy:legacy-support-core-ui:1.0.0' (compile) --> 'androidx.viewpager:viewpager:1.0.0' (compile) --> 'androidx.core:core:1.0.0'  
Dependency path '75283f90-bc16-11ef-9e23-b9bda2f989dd.uni_modules:olan-pocaaspay:unspecified' --> 'androidx.appcompat:appcompat:1.0.0' (compile) --> 'androidx.fragment:fragment:1.0.0' (compile) --> 'androidx.legacy:legacy-support-core-ui:1.0.0' (compile) --> 'androidx.coordinatorlayout:coordinatorlayout:1.0.0' (compile) --> 'androidx.core:core:1.0.0'  
Dependency path '75283f90-bc16-11ef-9e23-b9bda2f989dd.uni_modules:olan-pocaaspay:unspecified' --> 'androidx.appcompat:appcompat:1.0.0' (compile) --> 'androidx.fragment:fragment:1.0.0' (compile) --> 'androidx.legacy:legacy-support-core-ui:1.0.0' (compile) --> 'androidx.drawerlayout:drawerlayout:1.0.0' (compile) --> 'androidx.core:core:1.0.0'  
Dependency path '75283f90-bc16-11ef-9e23-b9bda2f989dd.uni_modules:olan-pocaaspay:unspecified' --> 'androidx.appcompat:appcompat:1.0.0' (compile) --> 'androidx.fragment:fragment:1.0.0' (compile) --> 'androidx.legacy:legacy-support-core-ui:1.0.0' (compile) --> 'androidx.slidingpanelayout:slidingpanelayout:1.0.0' (compile) --> 'androidx.core:core:1.0.0'  
Dependency path '75283f90-bc16-11ef-9e23-b9bda2f989dd.uni_modules:olan-pocaaspay:unspecified' --> 'androidx.appcompat:appcompat:1.0.0' (compile) --> 'androidx.fragment:fragment:1.0.0' (compile) --> 'androidx.legacy:legacy-support-core-ui:1.0.0' (compile) --> 'androidx.swiperefreshlayout:swiperefreshlayout:1.0.0' (compile) --> 'androidx.core:core:1.0.0'  
Dependency path '75283f90-bc16-11ef-9e23-b9bda2f989dd.uni_modules:olan-pocaaspay:unspecified' --> 'androidx.appcompat:appcompat:1.0.0' (compile) --> 'androidx.fragment:fragment:1.0.0' (compile) --> 'androidx.legacy:legacy-support-core-ui:1.0.0' (compile) --> 'androidx.asynclayoutinflater:asynclayoutinflater:1.0.0' (compile) --> 'androidx.core:core:1.0.0'* Try:  
> Run with --stacktrace option to get the stack trace.  
> Run with --info or --debug option to get more log output.  
> Run with --scan to get full insights.  
> Get more help at https://help.gradle.org.  
2024-12-17 09:42 负责人:无 分享
已邀请:
w***@163.com

w***@163.com

你好,请问这个问题解决了吗?我也最近打包uts报这个错误

要回复问题请先登录注册