Skip to content

Commit

Permalink
Merge pull request #28 from mathroule/support-agp-8.3
Browse files Browse the repository at this point in the history
Support APK built with AGP version 8.3
  • Loading branch information
devunwired authored May 3, 2024
2 parents ea1bc84 + f5632e8 commit 185769c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/apktools/apkresources.rb
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ def get_resource_key(res_id, xml_format=false)
end

entry = res_spec.types.entries[res_index]
if entry == nil
if entry == nil || entry.values.empty?
# There is no entry in our table for this resource
puts "Could not find #{res_spec.types.id} ResType chunk" if DEBUG
return nil
Expand Down

0 comments on commit 185769c

Please sign in to comment.