FAILURE: Build failed with an exception.
- What went wrong:
Execution failed for task ':uni_modules:XF-playRtspUTS:compileReleaseKotlin'.Could not resolve all files for configuration ':uni_modules:XF-playRtspUTS:releaseCompileClasspath'.
Could not resolve androidx.core:core:1.6.0.
Required by:
project :uni_modules:XF-playRtspUTS
project :uni_modules:XF-playRtspUTS > androidx.core:core-ktx:1.6.0
Cannot find a version of 'androidx.core:core' that satisfies the version constraints:
Dependency path '73cf80e0-1445-11f0-95a4-574acdf406a8.uni_modules:XF-playRtspUTS:unspecified' --> 'androidx.core:core:1.6.0'
Constraint path '73cf80e0-1445-11f0-95a4-574acdf406a8.uni_modules:XF-playRtspUTS:unspecified' --> 'androidx.core:core:{strictly 1.0.0}' because of the following reason: version resolved in configuration ':uni_modules:XF-playRtspUTS:releaseRuntimeClasspath' by consistent resolution
Dependency path '73cf80e0-1445-11f0-95a4-574acdf406a8.uni_modules:XF-playRtspUTS:unspecified' --> 'androidx.core:core-ktx:1.6.0' (releaseApiPublication) --> 'androidx.core:core:1.6.0'
Dependency path '73cf80e0-1445-11f0-95a4-574acdf406a8.uni_modules:XF-playRtspUTS:unspecified' --> 'org.videolan.android:libvlc-all:3.6.0-eap9' (compile) --> 'androidx.legacy:legacy-support-v4:1.0.0' (compile) --> 'androidx.core:core:1.0.0'
Dependency path '73cf80e0-1445-11f0-95a4-574acdf406a8.uni_modules:XF-playRtspUTS:unspecified' --> 'org.videolan.android:libvlc-all:3.6.0-eap9' (compile) --> 'androidx.legacy:legacy-support-v4:1.0.0' (compile) --> 'androidx.media:media:1.0.0' (compile) --> 'androidx.core:core:1.0.0'
Dependency path '73cf80e0-1445-11f0-95a4-574acdf406a8.uni_modules:XF-playRtspUTS:unspecified' --> 'org.videolan.android:libvlc-all:3.6.0-eap9' (compile) --> 'androidx.legacy:legacy-support-v4:1.0.0' (compile) --> 'androidx.legacy:legacy-support-core-utils:1.0.0' (compile) --> 'androidx.core:core:1.0.0'
Dependency path '73cf80e0-1445-11f0-95a4-574acdf406a8.uni_modules:XF-playRtspUTS:unspecified' --> 'org.videolan.android:libvlc-all:3.6.0-eap9' (compile) --> 'androidx.legacy:legacy-support-v4:1.0.0' (compile) --> 'androidx.legacy:legacy-support-core-ui:1.0.0' (compile) --> 'androidx.core:core:1.0.0'
Dependency path '73cf80e0-1445-11f0-95a4-574acdf406a8.uni_modules:XF-playRtspUTS:unspecified' --> 'org.videolan.android:libvlc-all:3.6.0-eap9' (compile) --> 'androidx.legacy:legacy-support-v4:1.0.0' (compile) --> 'androidx.fragment:fragment:1.0.0' (compile) --> 'androidx.core:core:1.0.0'
Dependency path '73cf80e0-1445-11f0-95a4-574acdf406a8.uni_modules:XF-playRtspUTS:unspecified' --> 'org.videolan.android:libvlc-all:3.6.0-eap9' (compile) --> 'androidx.legacy:legacy-support-v4: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 '73cf80e0-1445-11f0-95a4-574acdf406a8.uni_modules:XF-playRtspUTS:unspecified' --> 'org.videolan.android:libvlc-all:3.6.0-eap9' (compile) --> 'androidx.legacy:legacy-support-v4: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 '73cf80e0-1445-11f0-95a4-574acdf406a8.uni_modules:XF-playRtspUTS:unspecified' --> 'org.videolan.android:libvlc-all:3.6.0-eap9' (compile) --> 'androidx.legacy:legacy-support-v4: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 '73cf80e0-1445-11f0-95a4-574acdf406a8.uni_modules:XF-playRtspUTS:unspecified' --> 'org.videolan.android:libvlc-all:3.6.0-eap9' (compile) --> 'androidx.legacy:legacy-support-v4: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 '73cf80e0-1445-11f0-95a4-574acdf406a8.uni_modules:XF-playRtspUTS:unspecified' --> 'org.videolan.android:libvlc-all:3.6.0-eap9' (compile) --> 'androidx.legacy:legacy-support-v4: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 '73cf80e0-1445-11f0-95a4-574acdf406a8.uni_modules:XF-playRtspUTS:unspecified' --> 'org.videolan.android:libvlc-all:3.6.0-eap9' (compile) --> 'androidx.legacy:legacy-support-v4: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 '73cf80e0-1445-11f0-95a4-574acdf406a8.uni_modules:XF-playRtspUTS:unspecified' --> 'org.videolan.android:libvlc-all:3.6.0-eap9' (compile) --> 'androidx.legacy:legacy-support-v4: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 '73cf80e0-1445-11f0-95a4-574acdf406a8.uni_modules:XF-playRtspUTS:unspecified' --> 'org.videolan.android:libvlc-all:3.6.0-eap9' (compile) --> 'androidx.legacy:legacy-support-v4: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'
There are 2 more failures with identical causes.
- 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.
BUILD FAILED in 9s
Error code = -5000
Error message:
UTS plugin @ utssdk XF-playRtspUTS compile error!
https://app.liuyingyong.cn/build/errorLog/73cf80e0-1445-11f0-95a4-574acdf406a8
1 个回复
木杉丶 - 你喜或悲,他也都在那里
androidx.core:core:1.6.0 重复引入了呗,你去看有些包是自带的不需要引入 的 uniapp应该是自带了 androidx.core:core:1.1.0 ,你又要引入一个更新的所以冲突了 https://doc.dcloud.net.cn/uni-app-x/plugin/uts-for-android.html 你去看看自带的有那些依赖你就知道了