compile the library in your build.gralde
gradle allprojects { repositories { jcenter() maven { url "https://jitpack.io" } } } dependencies { compile 'com.github.githubwing:HotXposed:v1.0.0' } Implement IHookerDispatcher interface And call HotXposed.hook(YourClass.class,lpparam);
Only need kill the target app in MainActivity, not reboot the device anymore ,Enjoy! XD