UTS plugin @ uni_modules uni-wifi compile error!
打包失败了!!。怎么回事啊
- 发布:2023-07-10 16:23
- 更新:2023-10-19 19:20
- 阅读:646
7***@qq.com (作者)
Appid: UNI74922AC
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:\"base-extension\"). Expected elements are <{}codename>,<{}layoutlib>,<{}api-level>
wgtRoot/UNI74922AC/uni_modules/uni-wifi/utssdk/app-android/src/index.kt:217:37: error: unresolved reference: push
Global.scanList.push(wrapUniWifiInfoFromScan(scanResult));
^
wgtRoot/UNI74922AC/uni_modules/uni-wifi/utssdk/app-android/src/index.kt:293:38: error: unresolved reference: push
Global.onWifiConnectCallbackList.push(callback);
^
wgtRoot/UNI74922AC/uni_modules/uni-wifi/utssdk/app-android/src/index.kt:296:53: error: unresolved reference: push
Global.onWifiConnectWithPartialInfoCallbackList.push(callback);
^
wgtRoot/UNI74922AC/uni_modules/uni-wifi/utssdk/app-android/src/index.kt:304:62: error: unresolved reference: splice
if (callbackIndex >= 0) Global.onWifiConnectCallbackList.splice(callbackIndex, 1);
^
wgtRoot/UNI74922AC/uni_modules/uni-wifi/utssdk/app-android/src/index.kt:312:77: error: unresolved reference: splice
if (callbackIndex >= 0) Global.onWifiConnectWithPartialInfoCallbackList.splice(callbackIndex, 1);
^
wgtRoot/UNI74922AC/uni_modules/uni-wifi/utssdk/app-android/src/index.kt:323:53: error: unresolved reference: length
if (Global.mReceiver == null || Global.scanList.length < 1) {
^
FAILURE: Build failed with an exception.
-
What went wrong:
Execution failed for task ':uni_modules:uni-wifi: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 2m 35s
Error code = -5000
Error message:
UTS plugin @ uni_modules uni-wifi compile error!
7***@qq.com (作者)
Appid: UNI74922AC
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:\"base-extension\"). Expected elements are <{}codename>,<{}layoutlib>,<{}api-level>
wgtRoot/UNI74922AC/uni_modules/uni-wifi/utssdk/app-android/src/index.kt:217:37: error: unresolved reference: push
Global.scanList.push(wrapUniWifiInfoFromScan(scanResult));
^
wgtRoot/UNI74922AC/uni_modules/uni-wifi/utssdk/app-android/src/index.kt:293:38: error: unresolved reference: push
Global.onWifiConnectCallbackList.push(callback);
^
wgtRoot/UNI74922AC/uni_modules/uni-wifi/utssdk/app-android/src/index.kt:296:53: error: unresolved reference: push
Global.onWifiConnectWithPartialInfoCallbackList.push(callback);
^
wgtRoot/UNI74922AC/uni_modules/uni-wifi/utssdk/app-android/src/index.kt:304:62: error: unresolved reference: splice
if (callbackIndex >= 0) Global.onWifiConnectCallbackList.splice(callbackIndex, 1);
^
wgtRoot/UNI74922AC/uni_modules/uni-wifi/utssdk/app-android/src/index.kt:312:77: error: unresolved reference: splice
if (callbackIndex >= 0) Global.onWifiConnectWithPartialInfoCallbackList.splice(callbackIndex, 1);
^
wgtRoot/UNI74922AC/uni_modules/uni-wifi/utssdk/app-android/src/index.kt:323:53: error: unresolved reference: length
if (Global.mReceiver == null || Global.scanList.length < 1) {
^
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':uni_modules:uni-wifi: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 2m 35s
Error code = -5000
Error message:
UTS plugin @ uni_modules uni-wifi compile error!
2023-07-10 16:41