Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
astro5206771 opened this issue May 19, 2017 · 0 comments

Comments

@astro5206771
Copy link

astro5206771 commented May 19, 2017

异常信息如下: 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不会阻塞吗?这个该怎么解决;

@astro5206771 astro5206771 changed the title 插件工程 线程问题 插件工程 线程问题Can't create handler inside thread that has not called Looper.prepare() May 19, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant