apktools icon indicating copy to clipboard operation
apktools copied to clipboard

Ruby library for reading/parsing APK resource data

Results 4 apktools issues
Sort by recently updated
recently updated
newest added

I've been trying to open the APK file linked below with apktools 0.7.2, and get the following error from the constructor: ``` > ApkXml.new('/tmp/com.google.android.gms_11.9.51_(248-177350961)-11951248_minAPI21(arm64-v8a,armeabi-v7a)(480dpi)_apkmirror.com.apk') NoMethodError: undefined method `unpack' for nil:NilClass...

``` ruby apk = ApkXml.new("GPS-Status-Toolbox-PRO_7.1.142-Android-1.com.apk") apk.parse_xml("AndroidManifest.xml", true, true) ``` ``` NoMethodError: undefined method `entries' for nil:NilClass from /usr/local/lib/ruby/gems/2.3.0/gems/apktools-0.7.1/lib/apktools/apkresources.rb:307:in `get_resource_value' from /usr/local/lib/ruby/gems/2.3.0/gems/apktools-0.7.1/lib/apktools/apkresources.rb:266:in `get_default_resource_value' from /usr/local/lib/ruby/gems/2.3.0/gems/apktools-0.7.1/lib/apktools/apkxml.rb:234:in `parse_xml' from (irb):11 ```

It's manifest should contain `Catálogo Eletrônico` as its app name, but instead, it returns `Catálogo Eletrôni` [taqtile_label.apk.zip](https://github.com/devunwired/apktools/files/266338/taqtile_label.apk.zip)

To follow resources in the entry table, we need to first parse any self-contained entry and then on a second run complete the collected references by pointing to the correct...