Apktool If Framework-res.apk Error
Contents |
Support Search GitHub This repository Watch 351 Star 3,445 apktool commands Fork 1,138 iBotPeaches/Apktool Code Issues 56 Pull requests 4 Projects how to use apktool in windows 0 Pulse Graphs New issue apktool if /system/framework/framework-res.apk fails even through the file is
How To Install Apktool
on the device #406 Closed iBotPeaches opened this Issue Mar 18, 2015 · 4 comments Projects None yet Labels None yet Milestone No milestone
Apktool Apk Download
Assignees No one assigned 1 participant Owner iBotPeaches commented Mar 18, 2015 Original issue 295 created by darren.seet on 2012-01-24T16:37:32.000Z: What steps will reproduce the problem? 1. Runnning apktool if /system/framework/framework-res.apk What is the expected output? What do you see instead? I: Framework installed to: [HOMEDIR]/apktool/framework/2.apk apktool framework-res.apk download if /system/framework/framework-res.apk Exception in thread "main" brut.androlib.AndrolibException: java.util.zip.ZipException: error in opening zip file at brut.androlib.res.AndrolibResources.installFramework(AndrolibResources.java:404) at brut.androlib.Androlib.installFramework(Androlib.java:365) at brut.apktool.Main.cmdInstallFramework(Main.java:193) at brut.apktool.Main.main(Main.java:69) Caused by: java.util.zip.ZipException: error in opening zip file at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.
Stranger 2 Danger Developer This Topic's Starter
Apktool Linux
Joined: Jun 7, 2011 Messages: 3,906 Likes Received: 3,188 How-To: Decompile/Recompile how to use apktool on android apk's with ApkTool ------------------------------------------------------------------------------------------------------------ Requirements: ApkTool Java JDK/JRE 32 bit Basic Cmd/terminal knowledge ------------------------------------------------------------------------------------------------------------ Download ApkTool apktool could not decode arsc file here ApkTool.zip first you need to extract that zip folder to anywhere you choose, preferably on root of c/drive ie: C:/android/apktool extracting the files to 'apktool' folder https://github.com/iBotPeaches/Apktool/issues/406 Now place the STOCK framework-res.apk & whatever other apk's you would like to modify into the 'apktool' folder ------------------------------------------------------------------------------------------------------------ Getting to CMD directory Open up a Cmd Prompt (terminal) and get to the 'apktool' directory ie: Your cmd will probly look like this.. C:\users\yourname> so type in cd.. (yes include the '..' and press enter http://androidforums.com/threads/guide-how-to-properly-decompile-and-recompile-apks-with-apktool.520917/ after you type each command) this will get you to back directory so now you will see C:\users> so type again cd.. you should now see this: C:\> now type in: cd 'apktoo'l/'directory' for me it looks like: cd android/apktool now you should see: C:/android/apktool> and you are in the apktool directory Click to expand... ------------------------------------------------------------------------------------------------------------ Installing Framework Now that you are in directory we need to install the device's framework to your system for it to compile correctly so type this: apktool if framework-res.apk this will install the devices framework to your system (need to do this) ------------------------------------------------------------------------------------------------------------ Decompiling now to decompile the apk you want to edit.. type this: apktool d framework-res.apk framework1 or apktool d music.apk music music.apk is the apk your decompiling music is the folder you're creating for the decompiled apk now make your edits DO NOT Change/Edit ANY PNG's ------------------------------------------------------------------------------------------------------------ Recompiling/Finished Product now to recompile your new apk type this: apktool b music music-new.apk or apktool
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn http://stackoverflow.com/questions/20919772/decompiling-using-apktool-giving-error more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags http://stackoverflow.com/questions/30054156/apktools-apk-studio-could-not-decode-arsc-file Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Decompiling using apktool giving error up vote 2 down vote favorite 1 while decompiling an apk using apktool it gives me It's not the first how to time I got such error, there are some apks which give me this error. What could be the reason for that? android apk share|improve this question edited Jan 4 '14 at 12:43 asked Jan 4 '14 at 10:31 sankettt 1,00611228 Do you have latest version of the apktool? –piobab Jan 4 '14 at 11:49 Downloaded the new version but get new error.. check the question , updated the image –sankettt Jan 4 how to use '14 at 12:43 add a comment| 3 Answers 3 active oldest votes up vote 2 down vote Read over this: https://code.google.com/p/android-apktool/wiki/FrameworkFiles You are missing frameworks for whatever rom/place/thing that APK came from. share|improve this answer answered Jan 4 '14 at 13:13 Connor Tumbleson 1,8291526 add a comment| up vote 1 down vote in my opinion, you need a file framework from that apk file, that file framework place in /system/framework/ , if on the path having some apk file, you can try use it after that, try to decompile again using this step D:\apktool>apktool if framework-res.apk I: Framework installed to: C:\Users\Aduh\apktool\framework\1.apk and than D:\apktool>apktool d yourapk.apk I hope my answer can help you.... share|improve this answer answered May 30 '14 at 9:05 areg_noid 113 add a comment| up vote 1 down vote Try this: Click WIN + R Then enter apktool Delete all files Now you can use apktool d appilcation_name.apk share|improve this answer edited Apr 8 '15 at 8:17 Unihedron 7,996103660 answered Apr 8 '15 at 6:01 magedncc 111 Not working at all, give a different solution if possible. –AndroidHacker Mar 29 at 16:01 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up using Facebook Sign up using Email and Password Post as a guest Name Email Post as a gue
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up APKtools (APK Studio) Could not decode arsc file up vote 12 down vote favorite 9 I am tring to decompile an APK with AKP-Studio (it uses Apktool 2.0.0-Beta9) but on every APK I get this error: May 05, 2015 5:38:30 PM brut.androlib.ApkDecoder decode INFO: Using Apktool 2.0.0-Beta9 on com.****-1.apk May 05, 2015 5:38:30 PM brut.androlib.res.AndrolibResources loadMainPkg INFO: Loading resource table... Exception in thread "main" brut.androlib.AndrolibException: Could not decode arsc file at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:54) at brut.androlib.res.AndrolibResources.getResPackagesFromApk(AndrolibResources.java:604) at brut.androlib.res.AndrolibResources.loadMainPkg(AndrolibResources.java:74) I checked it on different systems with different versions of windows (64 and 32 bit) My java version is: "1.8.0_45" Please let me know if have any solution for this. android apk decompiling apktool share|improve this question asked May 5 '15 at 13:18 MscEliot 1661110 I know it is now an "answer" but it is a solution: code.google.com/p/androguard worked great for me everytime. –shkschneider May 5 '15 at 13:21 add a comment| 4 Answers 4 active oldest votes up vote 39 down vote accepted You must have to download apktoo_2.0.0rc file. then after You can decompile your apk file and will not get arcs file error. You can download latest file version from Here Now Rename your "apktool_2.0.0rc4.jar" to "apktool.jar". Now delete old "apktool.jar"