> What steps will reproduce the problem?
1. use androguard to analyse an app that defines its launcher only in an
activity alias (e.g. the Facebook app)
2. call get_main_activity() on an apk instance from androguard.core.bytecodes
> What is the expected output?
name of the main activity
> What do you see instead?
None
> What version of the product are you using? On what operating system?
androguard 1.9 on Ubuntu 12.04.4 x86_64
> Please provide any additional information below.
Here's how to fix it:
$ diff apk.py.old apk.py
422c422
< for item in self.xml[i].getElementsByTagName("activity") :
---
> for item in
self.xml[i].getElementsByTagName("activity")+self.xml[i].getElementsByTagName("a
ctivity-alias") :
Original issue reported on code.google.com by tareksa...@gmail.com on 15 May 2014 at 3:46
Original issue reported on code.google.com by
tareksa...@gmail.com
on 15 May 2014 at 3:46