のねのBlog

パソコンの問題や、ソフトウェアの開発で起きた問題など書いていきます。よろしくお願いします^^。

aapt

>aapt l -a LocaleTest.apk

Resource table:
Package Groups (1)
Package Group 0 id=127 packageCount=1 name=com.example.localetest
  Package 0 id=127 name=com.example.localetest typeCount=8
    type 0 configCount=0 entryCount=0
    type 1 configCount=4 entryCount=1
    type 2 configCount=1 entryCount=1
    type 3 configCount=2 entryCount=2
    type 4 configCount=2 entryCount=3
      spec resource 0x7f050000 com.example.localetest:string/app_name: flags=0x00000004
      spec resource 0x7f050001 com.example.localetest:string/action_settings: flags=0x00000004
      spec resource 0x7f050002 com.example.localetest:string/hello_world: flags=0x00000004
      config (default):
        resource 0x7f050000 com.example.localetest:string/app_name: t=0x03 d=0x00000006 (s=0x0008 r=0x00)
        resource 0x7f050001 com.example.localetest:string/action_settings: t=0x03 d=0x00000007 (s=0x0008 r=0x00)
        resource 0x7f050002 com.example.localetest:string/hello_world: t=0x03 d=0x00000008 (s=0x0008 r=0x00)
      config ja:
        resource 0x7f050000 com.example.localetest:string/app_name: t=0x03 d=0x0000000a (s=0x0008 r=0x00)
        resource 0x7f050001 com.example.localetest:string/action_settings: t=0x03 d=0x0000000b (s=0x0008 r=0x00)
        resource 0x7f050002 com.example.localetest:string/hello_world: t=0x03 d=0x00000009 (s=0x0008 r=0x00)
    type 5 configCount=3 entryCount=2
    type 6 configCount=1 entryCount=1
    type 7 configCount=1 entryCount=4

apk パッケージの AndroidManifest.xml を解析するには|てくめも@ecoop.net