2017-06-05 37 views

回答

0

我找到一種方式來獲得該值:

from androguard.core.bytecodes.apk import APK 

a = APK(path_to_apk)  
r = a.get_android_resources() 
location = int('7F0A02D1', 16) 
resolved_strings = r.get_resolved_strings() 
package_name = a.get_package() 
value = resolved_strings.get(package_name, {}).get('DEFAULT', {}).get(location, '') 

「默認」可能是其它值,看看自己。

相關問題