2012-07-21 14 views

उत्तर

33

हाँ, आप निकाल सकते हैं सभी संसाधन का उपयोग कर apktool

कदम फ़ाइलें -

1.) Download files from above links and extract them in a folder. 
2.) Open cmd -> run 
3.) Run command as 
    apktool.bat d source.apk destination_path 

या

1.) Put apktool.jar and test.apk in same folder 
2.) Go to the jar and .apk path by command line 
3.) And fire the command java -jar apktool.jar d test.apk 
4.) It will generate a folder with the name "test" in the same folder. 
+3

और पठनीय मैनिफेस्ट भी। :) –

+0

अच्छा काम ब्रो .. चेयर..एक और प्रश्न ..:)) ... क्या हमारे एंड्रॉइड प्रोजेक्ट के src फ़ोल्डर को निकालना संभव है .. क्या ऐसा कोई उपकरण है जो ऐसा करेगा .?? –

+0

ओह !!! हां आप [फ़ोल्डर फ़ोल्डर निकालें] (http://stackoverflow.com/a/6081365/726863) भी, लेकिन यह पूरी तरह से पठनीय नहीं होगा, लेकिन लगभग आप यह जान सकते हैं कि कोड क्या है :) –

6

डाउनलोड android-apktool (डाउनलोड निर्भरता भी यदि आवश्यक हो) परिभाषित में दिलचस्पी नहीं है, एक ही निर्देशिका में सभी निकालने और चलाने apktool d application.apk

2

डाउनलोड apktool

  1. रखें apk फ़ाइल (मान लीजिए test.apk) निर्देशिका है जहाँ आप डाउनलोड कर लिया है में।
  2. अब आदेश लिखें 'apktool घ test.apk'
  3. अब "परीक्षण \ रेस \ मूल्यों"

को ब्राउज़ आप अपने strings.xml फ़ाइल वहाँ मिल जाएगा।

2

apktool के अलावा एक अन्य विकल्प aapt है, लेकिन यह मूल XML रूप में तारों को पुन: उत्पन्न नहीं करेगा।

$ aapt dump --values resources app.apk | 
    grep '^ *resource.*:string/' --after-context=1 

    resource 0x7f04011a com.example:string/hello: t=0x03 d=0x0000039e (s=0x0008 r=0x00) 
    (string8) "Hello" 
    ... 
संबंधित मुद्दे