打开小程序后过一会儿再操作试试
wx.getBluetoothAdapterState提示当前蓝牙适配器不可用?先调用wx.openBluetoothAdapter,打印日志返回的是OK,初始化成功;然后再去调用wx.getBluetoothAdapterState,提示:{errCode: 10001, errno: 1500102, errMsg: "getBluetoothAdapterState:fail ble adapter not available."}。iPhoneXR手机的蓝牙、定位都已打开,小程序的蓝牙权限也已经开启,请问这是为什么呢?微信版本:V8.0.27
10-07我也遇到了这个问题,Mac 电脑,最后通过这几个帖子解决的: https://www.cxyck.com/article/130669.html https://blog.csdn.net/vtopqx/article/details/123528061 有问题欢迎交流,微信里搜索我的昵称就可以找到我,一起交流技术。
首次下载微信平台证书失败报错内容:=== download begin === Exception in thread "main" picocli.CommandLine$ExecutionException: Error while running command (com.elias.CertificateDownloader@18ef96): java.lang.IllegalArgumentException: Illegal base64 character 2d at picocli.CommandLine.executeUserObject(CommandLine.java:1738) at picocli.CommandLine.access$900(CommandLine.java:145) at picocli.CommandLine$RunLast.handle(CommandLine.java:2101) at picocli.CommandLine$RunLast.handle(CommandLine.java:2068) at picocli.CommandLine$AbstractParseResultHandler.handleParseResult(CommandLine.java:1928) at picocli.CommandLine.parseWithHandlers(CommandLine.java:2282) at picocli.CommandLine.run(CommandLine.java:2740) at picocli.CommandLine.run(CommandLine.java:2677) at com.elias.CertificateDownloader.main(CertificateDownloader.java:129) Caused by: java.lang.IllegalArgumentException: Illegal base64 character 2d at java.util.Base64$Decoder.decode0(Unknown Source) at java.util.Base64$Decoder.decode(Unknown Source) at java.util.Base64$Decoder.decode(Unknown Source) at com.wechat.pay.contrib.apache.httpclient.util.PemUtil.loadPrivateKey(PemUtil.java:36) at com.elias.CertificateDownloader.downloadCertificate(CertificateDownloader.java:55) at com.elias.CertificateDownloader.run(CertificateDownloader.java:105) at picocli.CommandLine.executeUserObject(CommandLine.java:1729) ... 8 more
2022-10-15