Discussion Help in patching custom apk

gothica

Rookie
I want to inject class to run in runtime for custom apk.

What i have:
1. MyClass.java


I have tried the following:

1. add 'tools:replace="android:appComponentFactory"' to <application> element in AndroidManifest.xml
2. add MyClass.dex
3. then compile apk


Is it any way to automate this process with patching?
 
Back
Top Bottom