Greetings -
I’ve poured over the docs, forums, et. al. looking to determine whether it’s possible to intercept the DEX stage for class rewriting? Anyone know or have pointers for further research?
- Thanks
Greetings -
I’ve poured over the docs, forums, et. al. looking to determine whether it’s possible to intercept the DEX stage for class rewriting? Anyone know or have pointers for further research?
There’s no way to currently intercept anything in the build process (only run something once the build completes, using PostProcessBuild attribute).
What are you trying to achieve ? and what do you mean by class rewriting ?
Java class instrumentation, which for Android is typically run at the DEX stage.
How are you doing that on Android ? (not with Unity)
Ant build script; Maven, Eclipse and Gradle plugins. All intercept the DEX call to add the -javaagent option.