abdallaadelessa / Demo-HoverAndInjectEventApp

0 stars 1 forks source link

Dalvik VM unable to locate class #1

Open NeoxzAI opened 6 years ago

NeoxzAI commented 6 years ago

What I'm doing wrong? I change the path of the apk many time but still didn't works, also I've tried using different versions of the adb. Any ideas?

carlfm01 commented 6 years ago

Fixed, Add "ANDROID_DATA=/data/local/tmp " to the final command adb.exe shell ANDROID_DATA=/data/local/tmp dalvikvm -cp /data/local/tmp/InjectionService.apk com.example.injectionservice.InnowavesServer

carlfm01 commented 6 years ago

Not working if I use Android code, please help

abdallaadelessa commented 6 years ago

Let me check it

carlfm01 commented 6 years ago

@abdallaadelessa Got it working, Get the CLASSPATH by running adb shell pm path

My command looks like adb shell sh -c 'CLASSPATH=/data/app/neoxzim.com.adbtest-1.apk /system/bin/app_process /system/bin neoxzim.com.adbtest.Main'

Now I can run Android code.