You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 20, 2023. It is now read-only.
FUNCTION: net.mamoe.mirai.console.command.CommandManager.INSTANCE.registerCommand
调用出错,且 IDE 下无报错
Starting mirai-console...
Backend: version 2.6.1, built on 2021-04-16 22:23:22.
Frontend Android: version 3.1.7, provided by Mamoe Technologies
Welcome to visit https://mirai.mamoe.net/
Successfully loaded plugin Chat Command
Successfully loaded plugin ExamplePlugin
Prepared built-in commands: autoLogin, help, login, permission, status, stop
java.lang.NoSuchMethodError: No static method registerCommand$default(Lnet/mamoe/mirai/console/command/CommandManager;Lnet/mamoe/mirai/console/command/Command;ZILjava/lang/Object;)Z in class Lnet/mamoe/mirai/console/command/CommandManager; or its super classes (declaration of 'net.mamoe.mirai.console.command.CommandManager' appears in /data/app/io.github.mzdluo123.mirai.android-_zxLVbU-9uXontlALasueQ==/base.apk!classes4.dex)
at com.example.maPluginTemplate.PluginMain.onEnable(PluginMain.kt:19)
at net.mamoe.mirai.console.internal.plugin.JvmPluginInternal.internalOnEnable$mirai_console(JvmPluginInternal.kt:113)
at net.mamoe.mirai.console.internal.plugin.BuiltInJvmPluginLoaderImpl.enable(BuiltInJvmPluginLoaderImpl.kt:119)
at net.mamoe.mirai.console.plugin.jvm.JvmPluginLoader$BuiltIn.enable(Unknown Source:7)
at net.mamoe.mirai.console.plugin.jvm.JvmPluginLoader$BuiltIn.enable(JvmPluginLoader.kt:36)
at net.mamoe.mirai.console.plugin.PluginManager$-CC.$default$enablePlugin(PluginManager.kt:129)
at net.mamoe.mirai.console.internal.plugin.PluginManagerImpl.enablePlugin(Unknown Source:0)
at net.mamoe.mirai.console.internal.plugin.PluginManagerImpl.enableAllLoadedPlugins$mirai_console(PluginManagerImpl.kt:172)
at net.mamoe.mirai.console.internal.MiraiConsoleImplementationBridge.doStart$mirai_console(MiraiConsoleImplementationBridge.kt:208)
at net.mamoe.mirai.console.MiraiConsoleImplementation$Companion.start(MiraiConsoleImplementation.kt:276)
at io.github.mzdluo123.mirai.android.service.BotService.startConsole(BotService.kt:172)
at io.github.mzdluo123.mirai.android.service.BotService.onStartCommand(BotService.kt:98)
at android.app.ActivityThread.handleServiceArgs(Unknown Source:40)
at android.app.ActivityThread.access$1900(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(Unknown Source:613)
at android.os.Handler.dispatchMessage(Unknown Source:19)
at android.os.Looper.loop(Unknown Source:242)
at android.app.ActivityThread.main(Unknown Source:98)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(Unknown Source:11)
at com.android.internal.os.ZygoteInit.main(Unknown Source:275)
2 plugin(s) enabled.
mirai-console started successfully.
工作目录: /storage/emulated/0/Android/data/io.github.mzdluo123.mirai.android/files
lua-mirai 加载成功,当前版本:2.0.8
FUNCTION: net.mamoe.mirai.console.command.CommandManager.INSTANCE.registerCommand
调用出错,且 IDE 下无报错
复现
复现项目:https://github.com/Itsusinn/buuuuuug
The text was updated successfully, but these errors were encountered: