App Inventor Runtime-error: no virtual method isDeniedPermission

Hi everyone
It is the first time i use Appinventor,i‘ve got problems when i scanning bluetooth devices. Situation are as follows:
I need a APP to control my device which supported bluetooth 5.0, so i import bluetooth extension BluetoothLE.When i use BluetoothLE's method "StartScanning",it turns out Runtime Error:No virtual method is DeniedPermission(Ljava/lang/String;).
I've turned on all the permissions.
BLE extension version:2023.07.28
my android version:13




Any help i'd appreciate.

欢迎Chandler,
你是使用的最新的手机伴侣吗?
真实手机测试还是在电脑上的安卓模拟器?

谢谢回答,我是把app下载下来直接在手机上运行的

安装apk后运行的?还是手机伴侣?伴侣版本?手机安卓版本?

是安装apk运行的,没有使用手机伴侣。ble扩展包是23年7月28号的,手机安卓版本13,也试过安卓8,都是这样的报错。

Which version of the companion are you running? That method has been around for a while, but not always. My guess is that you're using an older companion version that doesn't have that method defined. Try upgrading to the latest companion from the Play Store.

Thank you for reply.But uh...i didnt use companion,i just download and install apk, then run it on the phone.

Hmm. The App Inventor in your screenshot looks fairly old. Which server are you using to build this project? Note that the isDeniedPermission event is defined here, so it definitely should be working with our production server:

You are not coding on official Mit app inventor servers.

I see,it must be old server,i‘ll try latest one,thank you

嗯嗯,应该是这样的,我换官方最新的试试,谢谢你

哥们,我也是遇到这个问题,也是在猿猴看的方法,你解决了吗

解决了,问题根源是那个博主用的那个服务器是广州教育什么的服务器,那个服务器很久没更新了,太老了,我是直接翻墙去官网服务器平台搭的,就不会有问题了

官网服务器不用翻墙 用这个网址MIT App Inventor Login
或者
https://code.appinventor.mit.edu
第二个不用注册 但是要记牢那个密码

嗯嗯,好的,谢谢

刚刚我换了服务器之后就行了,真的非常感谢,这个问题困扰好几天了

多谢大佬,换了你链接上的服务器问题解决了,非常感谢

这个是啥

就是csdn