a***@outlook.com
a***@outlook.com
  • 发布:2024-12-09 14:25
  • 更新:2024-12-09 15:12
  • 阅读:129

自己编写的uts插件微信登陆在编译时报错失败。只要在config.json引入了微信提供的sdk "com.tencent.mm.opensdk:wechat-sdk-android:+"

分类:uni-app x

FAILURE: Build failed with an exception.
Could not open cp_settings generic class cache for settings file '~\AppData\Roaming\HBuilder X.uts-development-android\gradle\1733724134820\settings.gradle'

BUG! exception in phase 'semantic analysis' in source unit 'BuildScript' Unsupported class file major version 65

2024-12-09 14:25 负责人:无 分享
已邀请:
DCloud_Android_DQQ

DCloud_Android_DQQ

说明这个sdk 用的 jdk 19 ,太新了。

不要使用com.tencent.mm.opensdk:wechat-sdk-android:+ ,指定一个稍旧一些的版本

要回复问题请先登录注册