-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Description
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
from /Users/ohaleck/.rvm/gems/ruby-2.3.6@updateserver/gems/apktools-0.7.2/lib/apktools/apkresources.rb:399:in `read_string'
from /Users/ohaleck/.rvm/gems/ruby-2.3.6@updateserver/gems/apktools-0.7.2/lib/apktools/apkresources.rb:447:in `parse_stringpool'
from /Users/ohaleck/.rvm/gems/ruby-2.3.6@updateserver/gems/apktools-0.7.2/lib/apktools/apkresources.rb:157:in `initialize'
from /Users/ohaleck/.rvm/gems/ruby-2.3.6@updateserver/gems/apktools-0.7.2/lib/apktools/apkxml.rb:118:in `new'
from /Users/ohaleck/.rvm/gems/ruby-2.3.6@updateserver/gems/apktools-0.7.2/lib/apktools/apkxml.rb:118:in `initialize'
from (irb):2:in `new'
Now it seems that, inside read_string, the offset is much higher than the size of data 5412929698 compared to 16357888.
mik9 and oneuptim
Metadata
Metadata
Assignees
Labels
No labels