I have a app that recieve a dex file from server then save it on sdcard and load it for
doing some functions.I am loading a my app\'s class from my dex file as followi
I found my answer I need change
final Class classToLoad = (Class)classloader.loadClass("com.example.myapp.M");
to
final Class classToLoad = (Class)Class.forName("com.example.myapp.M");
in my dex file