Skip to content

插件工程 线程问题Can't create handler inside thread that has not called Looper.prepare() #32

@astro5206771

Description

@astro5206771

异常信息如下: W/System.err(1585): java.lang.RuntimeException: Unable to create Application for com.XX.android.XX: Can't create handler inside thread that has not called Looper.prepare()
貌似是插件项目功能里需要在主线程里调用,而pluginmgr是新启动一个工作线程调用,如果在主线程中调动pluginmrg不会阻塞吗?这个该怎么解决;

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