Appid: UNI2D*****80
错误解决方案
错误描述: uts插件编译失败
解决方案: 请根据编译错误修改插件相关代码后重新提交打包。或联系插件作者解决。
######################
Warning: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01
Warning: Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/03 to old ns http://schemas.android.com/sdk/android/repo/addon2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/03 to old ns http://schemas.android.com/sdk/android/repo/repository2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/03 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01
Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01
Warning: unexpected element (uri:\"\", local:\"extension-level\"). Expected elements are <{}codename>,<{}layoutlib>,<{}api-level>
Warning: unexpected element (uri:\"\", local:\"base-extension\"). Expected elements are <{}codename>,<{}layoutlib>,<{}api-level>
e: file://[PackagePath]/wgtRoot/UNI2047D80/uni_modules/TencentCloud-Push/utssdk/app-android/src/index.kt:57:5 'onRecvPushMessage' overrides nothing
e: file://[PackagePath]/wgtRoot/UNI2047D80/uni_modules/TencentCloud-Push/utssdk/app-android/src/index.kt:62:5 'onRevokePushMessage' overrides nothing
e: file://[PackagePath]/wgtRoot/UNI2047D80/uni_modules/TencentCloud-Push/utssdk/app-android/src/index.kt:67:5 'onNotificationClicked' overrides nothing
e: file://[PackagePath]/wgtRoot/UNI2047D80/uni_modules/TencentCloud-Push/utssdk/app-android/src/index.kt:90:10 Unresolved reference: disablePostNotificationInForeground
e: file://[PackagePath]/wgtRoot/UNI2047D80/uni_modules/TencentCloud-Push/utssdk/app-android/src/index.kt:99:14 Unresolved reference: disablePostNotificationInForeground
FAILURE: Build failed with an exception.
-
What went wrong:
Execution failed for task ':uni_modules:TencentCloud-Push:compileReleaseKotlin'.A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction
Compilation error. See log for more details -
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 1m 17s
Error code = -5000
Error message:
UTS plugin @ utssdk TencentCloud-Push compile error!
0 个回复