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

E/ActivityThread: Failed to find provider info for ipc_servicemanager #2

Open
mf-00 opened this issue Feb 10, 2019 · 1 comment
Open

Comments

@mf-00
Copy link

mf-00 commented Feb 10, 2019

调用ServiceManager.init(getApplicationContext());时报错,

E/ActivityThread: Failed to find provider info for ipc_servicemanager
W/System.err: java.lang.NullPointerException: Attempt to invoke interface method 'void android.os.IBinder.linkToDeath(android.os.IBinder$DeathRecipient, int)' on a null object reference
W/System.err: at com.devyok.ipc.ServiceManager$RemoteServiceManagerProxy.create(ServiceManager.java:124)
W/System.err: at com.devyok.ipc.ServiceManager.init(ServiceManager.java:37)

是按照说明步骤配置了classpath 'com.devyok.ipc:ipc-gradle-plugin:0.0.1'和implementation 'com.devyok.ipc:ipc-libcore:0.0.3',后面的libcore试了0.0.1和0.0.2都不行。

@HaseebMalik22
Copy link

I resolved this issue by clearing the data on the application. Just go to Settings -> App Management -> (name of your application) -> Storage Usage -> Clear Data.

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

2 participants