soarlab / maline

Android Malware Detection Framework
GNU Affero General Public License v3.0
81 stars 31 forks source link

Cannot create the android virtual device #17

Open PedroBorges9 opened 6 years ago

PedroBorges9 commented 6 years ago

I'm trying to run maline to collect samples for my phd thesis. For the moment I am trying to run it on a ubuntu VM. When I try to run the "avd-create.sh -a x86 -d maline-avd" command it seems the $ADB_SERVER_PORT is empty valued since it outputs an error stating:

~/projects/maline$ avd-create.sh -a x86 -d maline-avd adb: port number must be a positive number less than 65536. Got "kill-server"

Edit: I'm currently trying to run maline on a 32 bit vm. I tried running it on a 64 bit and managed to create an avd but then adb gives some error that pointed to it being compiled to 32 bits. That's why I'm trying a 32 bit vm.

Edit2: On the 64 bit vm it manages to create the avd but fails to push the monkey.jar even tough I have an environment variable pointing to the custom-android-sdk location.

Edit3: Finally managed to get it working on a 64 bit Ubuntu vm. The only issue I have now is the parse-strace-log file. The only way it works is if I select regular parsing. Noncut and frequency get stuck and don't do anything.