2
저는 debian (apt install androguard)을 사용하여 우분투 16.04 LTS OS에 최신 androguard를 설치했습니다. "androlyze -s"명령을 사용하여 쉘에 들어갈 수 있습니다. 하지만 내 파이썬 코드로 androguard 가져올 수 없습니다. 예를 들어 나는 오류를 얻을 터미널에서 "파이썬 test.py"명령을 사용하여 test.py 파일을 실행하면파이썬 우분투에서 androguard를 가져올 수 없습니다. 16.04
Traceback (most recent call last):
File "test.py", line 1, in <module>
from androguard.core.bytecodes import apk
ImportError: No module named androguard.core.bytecodes
우는 내 파이썬 코드 :
from androguard.core.bytecodes import apk
a = apk.APK("/path/to/apk/apk_name.apk")
pk_name = a.get_package()
act_name = a.get_main_activity()
final_arg = pk_name+"/"+act_name
print(final_arg)