Nov 14, 10:02pm

Short answer: you can't pull it directly with unzip, because localized values-* resources are not stored as XML files in an APK. At build time all string resources get compiled into a single resources.arsc blob at the APK root. Only some res/ entries exist as (binary-compiled) files, like drawables and layouts.

To get a decoded res/values-fr/strings.xml:

bash
# Using apktool (recommended)
apktool d app.apk -o out
cat out/res/values-fr/strings.xml

Alternatives without decoding the whole APK:

bash
# Dump string resources per locale (readable, but not an XML file)
aapt2 dump resources app.apk | less

# Older aapt also works
aapt dump resources app.apk | grep fr

If you only want to inspect what's inside the APK as files:

bash
unzip -l app.apk | grep res/

You'll see entries like res/layout-*/... and resources.arsc, but no values-fr/strings.xml. So apktool d is the standard way to reconstruct that exact file path with readable XML.

Nov 14, 10:02pm

This is a shared conversation and may include unverified content that doesn't reflect Mistral AI's views. Login to resume chatting.

Vibe can make mistakes. Check answers. Learn more