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>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>
e: file://[PackagePath]/wgtRoot/__UNI__BA4CA3D/uni_modules/uni-wifi/utssdk/app-android/src/index.kt:221:37 Unresolved reference: push
e: file://[PackagePath]/wgtRoot/__UNI__BA4CA3D/uni_modules/uni-wifi/utssdk/app-android/src/index.kt:297:38 Unresolved reference: push
e: file://[PackagePath]/wgtRoot/__UNI__BA4CA3D/uni_modules/uni-wifi/utssdk/app-android/src/index.kt:300:53 Unresolved reference: push
e: file://[PackagePath]/wgtRoot/__UNI__BA4CA3D/uni_modules/uni-wifi/utssdk/app-android/src/index.kt:308:62 Unresolved reference: splice
e: file://[PackagePath]/wgtRoot/__UNI__BA4CA3D/uni_modules/uni-wifi/utssdk/app-android/src/index.kt:316:77 Unresolved reference: splice
e: file://[PackagePath]/wgtRoot/__UNI__BA4CA3D/uni_modules/uni-wifi/utssdk/app-android/src/index.kt:327:53 Unresolved reference: length
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 29s
Error code = -5000
Error message:
UTS plugin @ uni_modules uni-wifi compile error!
大熊猫玩菜刀
- 发布:2023-08-25 12:27
- 更新:2023-09-15 11:37
- 阅读:581
4***@qq.com
解决了吗,请问你怎么解决的
2023-09-04 19:07
大熊猫玩菜刀 (作者)
回复 4***@qq.com: 没,客户急死了,官方打包说没问题
2023-09-08 09:40
4***@qq.com
回复 大熊猫玩菜刀: 我是运行阶段都报错了,试了下,用hbuilderx新建uniapp模板可以正常运行,用vue-cli建的项目就不行,你也是vue-cli建的项目吗
2023-09-11 10:00
大熊猫玩菜刀 (作者)
回复 4***@qq.com: 对,你试试评论区的临时替换方案app-android/index.uts
2023-09-11 15:19
4***@qq.com
回复 大熊猫玩菜刀: 你替换了就可以了么,我替换了还是运行报错,1.0.4版本的uni-wifi
2023-09-12 09:35
不凡的青石
回复 大熊猫玩菜刀: 请问解决了吗?
2023-09-15 11:37
大熊猫玩菜刀 (作者)
回复 不凡的青石: 没有
2023-09-19 18:13
不凡的青石
回复 大熊猫玩菜刀: 我解决了
2023-09-20 15:56
4***@qq.com
回复 不凡的青石: 你怎么解决的呢?
2023-09-25 11:49