Skip to content

插件无法正常加载 #290

@TonyJiangWJ

Description

@TonyJiangWJ

AutoJS6.6.0和6.6.1两个版本均不可正常运作。
AutoJS6.5.0还能够正常使用的。
相关插件:https://github.com/TonyJiangWJ/websocketplugin
插件加载代码:

let plugin_websocket = (() => { try { return plugins.load('com.tony.websocket') } catch (e) { toastLog('当前未安装websocket插件,加载失败' + e) exit() } })()

报错信息:

方法 plugins.load 调用失败. org.autojs.autojs.runtime.api.augment.plugins.Plugins.load [class [Ljava.lang.Object;] 

我看plugins相关代码修改比较大,目前暂时没有看懂原因是啥。

另外一个问题是加载dex 还存在问题,似乎使用了setReadOnly来解决,但实际没有生效,是否考虑复制到临时目录再对新复制的文件设置readOnly

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions