Qhov wikiHow qhia koj yuav hloov kho cov ntsiab lus ntawm APK cov ntaub ntawv. Txhawm rau kho cov ntaub ntawv hauv APK cov ntaub ntawv, koj yuav tsum tau ntim (thiab tom qab rov sau dua tshiab) APK pob siv APKtool ntawm lub khoos phis tawj. Kev hloov kho APK cov ntaub ntawv xav tau kev paub txog Java cov lus programming, nrog rau cov ntaub ntawv kaw lus ntawm Windows thiab Android. Ib qho ntxiv, kev kho cov ntaub ntawv yog qhov zoo tshaj plaws los ntawm cov neeg siv qib siab nkaus xwb.
Kauj ruam
Ntu 1 ntawm 3: Txhim Kho APKTool
Kauj Ruam 1. Nruab Java cov cuab yeej txhim kho
Cov cuab yeej no tuaj yeem rub tawm los ntawm
Kauj ruam 2. Nruab Android SDK
Koj kuj tseem yuav tsum teeb tsa Android software txhim kho cuab yeej (Android Software Development Kit lossis SDK) kom tshem tawm thiab sau cov APK cov ntaub ntawv. Txoj hauv kev yooj yim tshaj plaws rau nruab nws yog rub tawm thiab teeb tsa Android Studio los ntawm qhov txuas no.
Kauj Ruam 3. Tsim daim nplaub tshev tshiab ntawm lub desktop
Lub nplaub tshev no yuav raug siv ua chaw cia rau APKTool thiab APK cov ntaub ntawv. Ua raws cov theem no los tsim daim nplaub tshev tshiab.
- Txoj cai-nyem qhov chaw khoob ntawm lub desktop.
- Xaiv " Tshiab "thiab nyem" Cov ntawv tais ceev tseg ”.
Kauj Ruam 4. Hloov lub nplaub tshev rau "APK"
Txhawm rau hloov lub npe, nyem rau ntawm daim nplaub tshev thiab xaiv " Hloov npe " Tom qab ntawv, ntaus "APK" txhawm rau hloov pauv npe.
Kauj Ruam 5. Nyem rau qhov txuas no thiab xaiv Txuag txuas li.
Cov ntaub ntawv tshawb xyuas lub qhov rai yuav qhib thiab koj tuaj yeem xaiv cov npe khaws cov ntaub ntawv "apktool.bat".
Kauj Ruam 6. Qhib "APK" nplaub tshev thiab nyem Txuag
Siv cov ntaub ntawv tshawb xyuas lub qhov rai kom nkag mus tau tsim "APK" nplaub tshev ntawm lub desktop. Qhib daim nplaub tshev thiab nyem " Txuag " Cov ntawv "apktool.bat" yuav raug khaws cia rau hauv "APK" nplaub tshev.
Kauj Ruam 7. Rub tawm cov ntawv "apktool.jar"
Ua raws li cov theem no mus rub nws:
- Mus ntsib https://ibotpeaches.github.io/Apktool/ ntawm lub vev xaib.
- Nyem " Rub tawm "Raws li qhov hloov tshiab kawg hauv ntu" Xov Xwm ".
Kauj Ruam 8. Hloov cov ntaub ntawv “apktool.jar“
Cov ntawv rub tawm feem ntau muaj tus lej version hauv lawv lub npe. Koj tuaj yeem rho tawm tus lej los ntawm txoj nyem rau ntawm cov ntawv thiab xaiv " Hloov npe " Tom qab ntawv, tsuas yog ntaus " apktool"Raws li lub npe cov ntaub ntawv. Lub npe tag nrho ntawm cov ntawv yog "apktool.jar". Los ntawm lub neej ntawd, koj tuaj yeem pom cov ntawv rub tawm hauv "Downloads" nplaub tshev.
Kauj Ruam 9. Luam “apktool.jar” cov ntaub ntawv mus rau “APK” nplaub tshev
Thaum ua tiav kev hloov npe cov ntaub ntawv, nyem rau ntawm cov ntawv thiab xaiv " Luam "los yog" Txiav " Qhib qhov tsim "APK" nplaub tshev ntawm lub desktop thiab right-click qhov chaw khoob ntawm daim nplaub tshev. Nyem " Muab tshuaj txhuam " Cov ntaub ntawv "apktool.jar" yuav muab tso rau hauv daim nplaub tshev tom qab.
Ntu 2 ntawm 3: Unpacking lossis Decompiling APK Files
Kauj Ruam 1. Luam APK cov ntaub ntawv uas koj xav kho rau hauv "APK" nplaub tshev
Cov ntaub ntawv APK tuaj yeem rub tawm los ntawm ntau lub vev xaib. Koj tseem tuaj yeem tau txais APK cov ntaub ntawv los ntawm koj lub cuab yeej Android los ntawm kev txuas nws rau koj lub khoos phis tawj siv lub xov tooj them nyiaj thiab qhib lub cuab yeej. Nkag mus rau cov ntawv " Rub tawm "Ntawm koj lub cuab yeej, tom qab ntawd luam thiab paste APK cov ntaub ntawv rau hauv" APK "nplaub tshev ntawm koj lub khoos phis tawj desktop.
Kauj ruam 2. Qhib lub Windows tshawb bar thiab ntaus cmd
Qhov bar no feem ntau yog sab xis ntawm "Pib" cov ntawv qhia zaub mov.
Kauj Ruam 3. Nyem Command Prompt ntawm qhov tshawb pom
Qhov haujlwm no tau qhia los ntawm lub vijtsam dub cim nrog tus cursor dawb.
Kauj Ruam 4. Nkag mus rau "APK" nplaub tshev los ntawm Command Prompt
Koj tuaj yeem qhib daim nplaub tshev los ntawm Command Prompt los ntawm kev ntaus cov lus txib cd, tom qab ntawd lub npe ntawm daim nplaub tshev. Piv txwv li, yog tias koj nyob hauv cov npe tseem ceeb "C: / Users / Username>" thaum koj qhib Command Prompt, koj tuaj yeem qhib lub desktop los ntawm kev ntaus cd desktop. Yog tias koj theej cov ntawv "APK" rau koj lub desktop, koj tuaj yeem qhib nws los ntawm kev ntaus cd apk. Koj tuaj yeem pom qhov chaw nyob "C: / users / username / desktop / apk>" nyob ib sab ntawm qhov hais kom ua.
Yog tias "APK" nplaub tshev tau khaws rau lwm phau ntawv teev npe, ntaus cd / ib sab ntawm qhov hais kom rov mus rau lub hauv paus lossis lub ntsiab "C:" tsav. Tom qab ntawd, ntaus hauv cd, ua raws li qhov chaw nyob ntawm "APK" nplaub tshev
Kauj Ruam 5. Ntaus hauv apktool yog tias, ua raws li lub npe APK cov ntaub ntawv
Lub moj khaum rau daim ntawv thov xaiv yuav raug teeb tsa tom qab.
Piv txwv li, yog tias koj lub npe APK cov ntaub ntawv yog "kuv-thawj-game.apk", ntaus apk yog tias kuv-thawj-game.apk rau hauv Command Prompt
Kauj Ruam 6. Ntaus hauv apktool d, ua raws li lub npe ntawm APK cov ntaub ntawv
Cov ntaub ntawv APK yuav raug suav sau tom qab. Cov ntsiab lus ntawm cov ntawv yuav raug muab tso rau hauv daim nplaub tshev cais nrog tib lub npe zoo li APK cov ntaub ntawv npe hauv “APK” nplaub tshev. Tam sim no, koj tuaj yeem hloov kho cov ntsiab lus ntawm unpacked/decompiled APK file. Koj yuav xav tau cov txuj ci los kho qee cov ntaub ntawv hauv daim nplaub tshev.
Rau tib qho piv txwv zoo li saum toj no, ntaus apktool d my-firstgame.apk rau hauv qhov hais kom ua qhov rai
Ntu 3 ntawm 3: Rov Ua Haujlwm APK Cov Ntaub Ntawv
Kauj Ruam 1. Qhib lub Windows tshawb bar thiab ntaus cmd
Qhov bar no feem ntau yog sab xis ntawm "Pib" cov ntawv qhia zaub mov. Tom qab koj ua tiav kho cov ntaub ntawv hauv APK cov ntawv tais ceev tseg, koj yuav tsum tau sau cov ntawv tais ceev tseg rau hauv APK file.
Kauj Ruam 2. Nyem Command Prompt ntawm qhov tshawb pom
Qhov haujlwm no tau qhia los ntawm lub vijtsam dub cim nrog tus cursor dawb.
Kauj Ruam 3. Nkag mus rau "APK" nplaub tshev los ntawm Command Prompt
Koj tuaj yeem qhib daim nplaub tshev los ntawm Command Prompt los ntawm kev ntaus cov lus txib cd, tom qab ntawd lub npe ntawm daim nplaub tshev. Piv txwv li, yog tias koj nyob hauv cov npe tseem ceeb "C: / Users / Username>" thaum koj qhib Command Prompt, koj tuaj yeem qhib lub desktop los ntawm kev ntaus cd desktop. Yog tias koj theej cov ntawv "APK" rau koj lub desktop, koj tuaj yeem qhib nws los ntawm kev ntaus cd apk. Koj tuaj yeem pom qhov chaw nyob "C: / users / username / desktop / apk>" nyob ib sab ntawm qhov hais kom ua.
Yog tias "APK" nplaub tshev tau khaws rau lwm phau ntawv teev npe, ntaus cd / ib sab ntawm qhov hais kom rov mus rau lub hauv paus lossis lub ntsiab "C:" tsav. Tom qab ntawv, ntaus hauv cd, ua raws li qhov chaw nyob ntawm "APK" nplaub tshev
Kauj Ruam 4. Ntaus hauv apktool b, ua raws li lub npe nplaub tshev ntawm APK cov ntaub ntawv koj xav rov sau dua
Tom qab ntawd, daim nplaub tshev yuav rov sau rau hauv APK cov ntaub ntawv. Cov ntaub ntawv sau tshiab APK tuaj yeem pom nyob rau hauv "cov ntaub ntawv" nyob deb, hauv lub unpacked/decompiled APK nplaub tshev uas Apktool thov tsim.
Piv txwv li, yog tias daim ntawv thov uas koj tab tom kho npe hu ua "my-first-game.apk", ntaus apktool b my-first-game.apk rau hauv qhov hais kom ua qhov rai
Kauj Ruam 5. Tsim daim nplaub tshev tshiab hu ua "Signapk" ntawm lub desktop
Txhawm rau tsim daim nplaub tshev tshiab ntawm lub desktop, nyem rau ntawm qhov chaw khoob ntawm lub desktop thiab xaiv " Tshiab " Tom qab ntawd, nyem " Cov ntawv tais ceev tseg " Txoj cai nyem rau daim nplaub tshev tshiab thiab xaiv " Hloov npe " Tom ntej no, ntaus hauv "Signapk" raws li lub npe tshiab rau daim nplaub tshev.
Kauj Ruam 6. Luam daim ntawv APK uas tau sau ua ke rov qab mus rau "Signapk" nplaub tshev
Koj tuaj yeem pom cov ntaub ntawv APK rov ua dua tshiab hauv "cov ntaub ntawv" nyob deb, hauv cov ntaub ntawv APK decompiled uas tau khaws cia hauv "Apktool" nplaub tshev. Txoj cai nyem rau APK ntaub ntawv thiab xaiv " Luam " Tom qab ntawd, rov qab mus rau "Signapk" nplaub tshev thiab muab cov ntawv APK tso rau hauv daim nplaub tshev ntawd.
Kauj Ruam 7. Nyem qhov no mus download tau cov ntaub ntawv " SignApk.zip ".
Cov ntaub ntawv SignApk xav tau los kos npe rau APK cov ntaub ntawv yuav raug rub tawm.
Kauj Ruam 8. Luam cov ntsiab lus ntawm "SignApk.zip" cov ntaub ntawv mus rau "Signapk" nplaub tshev
Cov ntawv "certificate.pem", "key.pk8", thiab "signapk.jar" cov ntaub ntawv yuav raug rho tawm mus rau "Signapk" nplaub tshev.
Kauj Ruam 9. Qhib cov ntawv "Signapk" ntawm Command Prompt
Txhawm rau nkag mus rau daim nplaub tshev ntawm Command Prompt, ntaus cd / kom rov qab mus rau hauv paus lossis cov npe tseem ceeb. Ntaus hauv cd, ua raws li qhov chaw nyob ntawm "Signapk" nplaub tshev.
Yog tias koj tsim daim ntawv "Signapk" ntawm koj lub desktop, qhov chaw nyob ntawm daim nplaub tshev yuav yog "C: / users / username / desktop / Signapk>"
Kauj ruam 10. Ntaus java -jar signapk.jar certificate.pem key.pk8 [filename].apk [filename] -signed.apk hauv Command Prompt window
Hloov "[filename]" nrog lub npe ntawm APK cov ntaub ntawv koj xav kos npe. Cov ntaub ntawv APK tshiab uas tau kos npe yuav raug tsim hauv "Signapk" nplaub tshev. Siv cov ntawv no los teeb tsa qhov program ntawm koj li Android.