cuckoo-droid icon indicating copy to clipboard operation
cuckoo-droid copied to clipboard

Can't excute python cuckoo.py

Open focaaby opened this issue 8 years ago • 10 comments

I have followed the installation(guest on android avd) and created a emulator already.

but run python cuckoo.py error:

2016-10-14 15:37:38,220 [root] CRITICAL: CuckooCriticalError: Unable to import plugin "modules.processing.apkinfo": No module named androguard.core.analysis.analysis

focaaby avatar Oct 14 '16 07:10 focaaby

pip install androguard

idanr1986 avatar Oct 29 '16 20:10 idanr1986

Hi, I am getting the same error, and already have androguard installed (I even reinstalled to make sure). Any other ideas? Chrs, jc

jpcarneiro avatar Jun 07 '17 00:06 jpcarneiro

me too!

baomajesty1458 avatar Jul 24 '18 01:07 baomajesty1458

The problem is with androgaurd version. CuckooDroid needs androguard 1.2 or something. I will recommed to start using the CuckooDroid from here: https://github.com/quoscient/cuckoo-droid

We had made a pull request but not sure when will it be accepted. I had also made some video tutorials which can be found on youtube and there you can see that I used an older version of androguard to fix this problem. Hope this helps.

wickywaka avatar Jul 24 '18 12:07 wickywaka

Here is the link to the video tutorials: https://www.youtube.com/watch?v=mUoz71KfwLg&list=PLWHO6M8IznQBPzRlcrZ99LG0n4bktm0x8

wickywaka avatar Jul 24 '18 12:07 wickywaka

Hi all,

I found that when we use pip to install AndroidGuard, pip will git the lastest version of AndroidGuard (at the moment is 3.2.1). The lastest AndroidGuard requires matplotlib >= 3.0 library, but matplotlib only support python >3.5. So that we must install the old AndroidGuard's version, here the solution

  1. Download Android Guard 2.0 at Android Guard 2.0
  2. Extract it then run sudo python setup install
  3. Finish.

anhkhoa14592 avatar Sep 28 '18 03:09 anhkhoa14592

Thank you so much!

Sent from Mail for Windows 10

From: anhkhoa14592 Sent: Friday, September 28, 2018 10:12 AM To: idanr1986/cuckoo-droid Cc: baomajesty1458; Comment Subject: Re: [idanr1986/cuckoo-droid] Can't excute python cuckoo.py (#16)

Hi all, I found that when we use pip to install AndroidGuard, pip will git the lastest version of AndroidGuard (at the moment is 3.2.1). The lastest AndroidGuard requires matplotlib >= 3.0 library, but matplotlib only support python >3.5. So that we must install the old AndroidGuard's version, here the solution

  1. Download Android Guard 2.0 at Android Guard 2.0
  2. Extract it then run sudo python setup install
  3. Finish. — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

baomajesty1458 avatar Sep 28 '18 05:09 baomajesty1458

Also check the cuckoodroid repositry on my profile. I fixed some bugs there along with rooting problem.

anhkhoa14592 [email protected] schrieb am Fr., 28. Sep. 2018, 05:12:

Hi all,

I found that when we use pip to install AndroidGuard, pip will git the lastest version of AndroidGuard (at the moment is 3.2.1). The lastest AndroidGuard requires matplotlib >= 3.0 library, but matplotlib only support python >3.5. So that we must install the old AndroidGuard's version, here the solution

  1. Download Android Guard 2.0 at Android Guard 2.0 https://github.com/androguard/androguard/releases/tag/v2.0
  2. Extract it then run sudo python setup install
  3. Finish.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/idanr1986/cuckoo-droid/issues/16#issuecomment-425307650, or mute the thread https://github.com/notifications/unsubscribe-auth/AGo8A37KKkEeMKHgh7HCJDSI4vx6kEbkks5ufZOngaJpZM4KWumu .

wickywaka avatar Sep 28 '18 08:09 wickywaka

Thank you so much

Vào 10:12 AM, T.6, 28 Th9, 2018 anhkhoa14592 [email protected] đã viết:

Hi all,

I found that when we use pip to install AndroidGuard, pip will git the lastest version of AndroidGuard (at the moment is 3.2.1). The lastest AndroidGuard requires matplotlib >= 3.0 library, but matplotlib only support python >3.5. So that we must install the old AndroidGuard's version, here the solution

  1. Download Android Guard 2.0 at Android Guard 2.0 https://github.com/androguard/androguard/releases/tag/v2.0
  2. Extract it then run sudo python setup install
  3. Finish.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/idanr1986/cuckoo-droid/issues/16#issuecomment-425307650, or mute the thread https://github.com/notifications/unsubscribe-auth/AeKF-FPKQjVzY6lQIKzp_AUoDfwi7aljks5ufZOogaJpZM4KWumu .

baomajesty1458 avatar Oct 07 '18 03:10 baomajesty1458

Im getting the same error - CRITICAL: CuckooCriticalError: Unable to import plugin "modules.processing.apkinfo": No module named androguard.core.analysis.analysis

I Downloaded the androguard version 1.2 and it still doesn't launch. I've tried to download @waqarrashid33 repository but it fails in this command - git pull --allow-unrelated-histories --no-edit -s recursive -X theirs droid master but it says the repository doesn't exist. Do you have any ideas how can I solve it? Thanks!

cuckoodroidproject avatar Nov 23 '20 20:11 cuckoodroidproject