yashsingh1/xdaforums huggingface dataset:
[Android Software Development] guriroyals:
can somebody help me please.i am getting this error everytime i decompile something

'mode' is not recognized as an internal or external command,

operable program or batch file.

java version "1.8.0_25"

Java(TM) SE Runtime Environment (build 1.8.0_25-b18)

Java HotSpot(TM) 64-Bit Server VM (build 25.25-b02, mixed mode)

I: Baksmaling...

I: Loading resource table...

Exception in thread "main" brut.androlib.AndrolibException: Could not decode ars

c file

at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:54)

at brut.androlib.res.AndrolibResources.getResPackagesFromApk(AndrolibRes

ources.java:540)

at brut.androlib.res.AndrolibResources.loadMainPkg(AndrolibResources.jav

a:76)

at brut.androlib.res.AndrolibResources.getResTable(AndrolibResources.jav

a:68)

at brut.androlib.Androlib.getResTable(Androlib.java:51)

at brut.androlib.ApkDecoder.getResTable(ApkDecoder.java:191)

at brut.androlib.ApkDecoder.decode(ApkDecoder.java:116)

at brut.apktool.Main.cmdDecode(Main.java:148)

at brut.apktool.Main.main(Main.java:77)

Caused by: java.io.IOException: Expected: 0x001c0001, got: 0x00000000

at brut.util.ExtDataInput.skipCheckInt(ExtDataInput.java:48)

at brut.androlib.res.decoder.StringBlock.read(StringBlock.java:43)

at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:10

0)

at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:81)

at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:49)

... 8 more
[Android Software Development] ninja_unmatched:
Try making sure your envirnmental variables are set so you can use the tools anywhere in windows.

---------- Post added at 03:26 PM ---------- Previous post was at 03:24 PM ----------

Can the Batch APK do more than one APK? I know batch is the keyword here but so far when I try it does not seem to work. Is there a way to batch several apks and batch optimize and zipalign them????
[Android Software Development] exodius48:
[MENTION=2968938]raziel23x[/MENTION] Any chance to update? apktool 2.0.2 has been released for public.
[Android Software Development] bovirus:
[MENTION=4093587]exods49[/MENTION]

I believe that raziel23x cannot post frequently because he has serious health problem.

You can replace directly the apktool 2.0.2 in APK Multitool.
[Android Software Development] qtipbailey:
Download link?

So where can I download this utility? There are no download links I can find at apkmultitool.com. In the first post where it says "Latest test build here: http://hugefiles.net/79bvb14x2f8p" I downloaded that file and ran it. Immediately I started getting infected with malware. Canceled the installer as quick as I could but not before it shoved 4 or 5 unwanted pieces of crapware on me and had Windows Defender pitching a fit. Not cool.
[Android Software Development] toda81:
Does someone could edit the two applications? The problem is that both applications tailored for the tablet and when installed in the phone can not see the fields for registration because it can not be skroloj the dale. Can someone to rewrite applications that within the application itself can scroll down
[Android Software Development] bovirus:
[MENTION=2838788]toda81[/MENTION]

Which two applications?

Is not clear what do you mean.
[Android Software Development] toda81:
http://www.mediafire.com/download/f866xmbfx1gm32c/app-klett.apk

This application is as should be changed because when it is installed on the phone can not see the field for the registration and login. Only when you switch DPI on the phone can not see the registration fields and logging. Can it be amended application to be seen in the registration and login? Thanks in advance
[Android Software Development] bovirus:
[MENTION=2838788]toda81[/MENTION]

Nothing to do in this tool (APK Multitool).

This tool works with app that use standard layout for programmaing (released by Google).

If the app that you want to unpack/repack don't follow this line you cannot see anything in Android Multitool.
[Android Software Development] toda81:
Thank you very much because you wanted to help me! I wish you all the best
[Android Software Development] objr:
Here is my log. I'm pretty much sure I've done everything right... Can anyone helpme out?

I'm on latest test build 2.0.1 "WIP". #ImaNoobieHere :) But I understand, just speak out ;)

|17/11/2015 -- 12:26:49,03|

--------------------------------------------------------------------------

java version "1.8.0_66"

Java(TM) SE Runtime Environment (build 1.8.0_66-b17)

Java HotSpot(TM) 64-Bit Server VM (build 25.66-b17, mixed mode)

Exception in thread "main" brut.androlib.AndrolibException: Could not decode arsc file

at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:52)

at brut.androlib.res.AndrolibResources.getResPackagesFromApk(AndrolibResources.java:538)

at brut.androlib.res.AndrolibResources.loadMainPkg(AndrolibResources.java:63)

at brut.androlib.res.AndrolibResources.getResTable(AndrolibResources.java:55)

at brut.androlib.Androlib.getResTable(Androlib.java:64)

at brut.androlib.ApkDecoder.setTargetSdkVersion(ApkDecoder.java:209)

at brut.androlib.ApkDecoder.decode(ApkDecoder.java:92)

at brut.apktool.Main.cmdDecode(Main.java:165)

at brut.apktool.Main.main(Main.java:81)

Caused by: java.io.IOException: Expected: 0x00000008, got: 0x00000001

at brut.util.ExtDataInput.skipCheckShort(ExtDataInput.java:56)

at brut.androlib.res.decoder.ARSCDecoder.readValue(ARSCDecoder.java:254)

at brut.androlib.res.decoder.ARSCDecoder.readEntry(ARSCDecoder.java:203)

at brut.androlib.res.decoder.ARSCDecoder.readConfig(ARSCDecoder.java:191)

at brut.androlib.res.decoder.ARSCDecoder.readType(ARSCDecoder.java:159)

at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:116)

at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:78)

at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:47)

... 8 more
[Android Software Development] ninja_unmatched:
I think only 2 at a time may work... Ive tried more before and the tool screws it up. It seems to do it and all files are gone but I only saw one file optimized. I didnt trust it.....I couldve sworn it put them all together in 1 file. So I just do 1 at a time. Look on google for another app to batch optimize. I think there is one. I remember searching before and finding a bunch that only can optimize the images and you have to put all images back in after. (Helpful I guess but not really time saving) Honestly I have a bunch of different apps ive tried but unsure if any work cause once I found this one I stopped using them. I guess ill poke around and see...lol
[Android Software Development] ykumar00:
I would like to know too, please.
[Android Software Development] romracer:
You can download the latest version directly from GitHub here:

https://github.com/APK-Multi-Tool/APK-Multi-Tool/archive/WIP-2.0.zip

Extract it, run Setup.bat, choose option 3 (to create directories). You can the quit setup.bat (00 to exit) and use Script.bat to run like normal.
[Android Software Development] chem20:
please give me direct download link Java for windows 10 x64

when run script this error was occur
[Android Software Development] Dzepar:
You need to put Java in path variable so it can be used system wide. ;)
[Android Software Development] exodius48:
I get error when try batch optimize , how to solve?

SOLVED!
[Android Software Development] bovirus:
@ exodius48

Sorry but I didn't understand.

Which function is batch optimize?
[Android Software Development] bunnys7679:
Hello

Are today tells me that Rev. multitool that java does not find when I want to decompile what. Then I tried to reinstall the engine. Same error with Java.

Can someone help me? Hello

Silk Today tells me Apk multitool it java can not find when I want to decompile what. Then I tried to reinstall the engine. Same error with Java.

Can anybody help me ?

Error ocurrend during initialization of WM

java/lang/NoClassDeffoundError: java/lang/Object
[Android Software Development] bovirus:
[MENTION=5893445]bunnys7679[/MENTION]

Check if javac and java are in the path

Run java from dos command line and check that it run.

check that javac can be run from dos comamnd line.

Check jAVA_HOME variable.
[Android Software Development] sgian217:
Is it fixed already? I have this error too but I already found a solution for it if it doesn't fix yet just tell me I will show you the solution

[MENTION=6963403]qtipbailey[/MENTION]

that link works but you need to answer the captcha and when you answer it scroll down till you find create download link and click it so it can be downloaded
[Android Software Development] ANDjROID:
what next?

i have decompiled, made only exml edits and am now trying to recompile. have gotten thus far with no errors and am almost done. have the apk recompiled and used the keep method to avoid errors. but now it says to delete SOME files in the keep foleder. i am at a loss as to WHAT exactly to delete? can someone PLEASE help me???? lol,,,,,, NOOB here !!! :confused:
[Android Software Development] SLCMotor:
Solution?

What was your solution? I get the same error.
[Android Software Development] ANDjROID:
fixed

when the tool goes through the first step and you are asked if you want to copy over unmodified say yes. when keep folder appears open and delete .arsc

then hit enter. after tool creates .apk open with zip ,not decompress.just open copy over META-INF and .arsc FROM orig. over to new .apk.

you wouldnt happen to know how to mod and replace apk's with classes.dex would you? am having a hell of a time theming my settings.apk.

---------- Post added at 01:56 PM ---------- Previous post was at 01:12 PM ----------

im sorry. i didnt realize that you werent talking to me. but the fix to your problem , far as that goes, if i remember correctly, make sure all tools inside "other" folder are up to date, and that you go into properties/permissions and set each one to " allow executing file as program".

hope this helps
[Android Software Development] kaducomk:
supports MM?
[Android Software Development] Chandro-ID:
how to change directory's adb push brother?
[Android Software Development] aestivalisakito:
hey guys i have uploaded it to my afh so click below.

APK-Multi-Tool-2.0.zip

Virustotal: https://www.virustotal.com/en/file/...2b6a438f8cf4a28a8f4e4458/analysis/1458268112/
[Android Software Development] Dexter_nlb:
DELETED!
[Android Software Development] bovirus:
[MENTION=1564916]Dexter_nlb[/MENTION]

Could be more specifc?

Wat kind of links/programs contains malware?
[Android Software Development] Dexter_nlb:
sorry, wrong link
[Android Software Development] sgian217:
can someone update this to the newest android sdk or put the link of android sdk that works on this
[Android Software Development] bovirus:
[MENTION=7247496]sgian217[/MENTION]

try this

http://xdaforums.com/showthread.php?t=2326604
[Android Software Development] sgian217:
ok I'll try it
[Android Software Development] Reuben Tomy:
i have this problem to i dont know how to fix this can u help me if u get the fix process
[Android Software Development] bovirus:
[MENTION=7414144]Reuben Tomy[/MENTION]

Which problem?
[Android Software Development] XEROling:
im getting a downloader which downloads a 19KB corrupted file and opens ads page

+apkmultitool.com says "buy this domain" which means its unavailable in my country or theres a problem with the site
[Android Software Development] raziel23x:
I need to update the download links as i lost my website due to lack of payment
[Android Software Development] mrskorpz:
need help with compiling

hi I'm trying to compile my apk and just keep getting this message
[Android Software Development] giew13:
I can't see it. It's too small. Did you place the tool in the C driver?
[Android Software Development] elidoe89:
I want to decompile systemUI.apk so I press 9

then I edit values/strings.xml that is my project

last I press 11 and I am done??

no need to import something from original apk?no need to sign??

thanks
[Android Software Development] giew13:
The things what i always do is after press 11 then press y afterwards there will be a keep folder and delete all the files inside of those folder that contains modified apk and press enter. After that, sign the Apk. Because if i don't sign the apk there is no meta-inf folder inside the modified apk
[Android Software Development] Rapha88:
When compiling system apps, there will be 2 options to be answered. The first one about keeping some files, you should answer (n), and the second about original androidmanifest, which you should answer (y). Thats it, your file will be in "modified-system-apk-files-here" folder. No need to sign the app because this option (11) keeps the original signature, "test-keys" that are used to sign regular apps don't work with system apk.
[Android Software Development] giew13:
Btw how to zipalign apps with this tool? I've been use this tool since 2013 until now i don't know how to zipalign apps with this tool :3
[Android Software Development] Rapha88:
It's the fifth option, it should be done after signing the app. Usually I only do this for regular apps. But if you want to, just rename the app to "signedAPPNAME" and place it in the "place-apk-here-for-signing" folder, then choose option number 5. The aligned app will be in the "place-apk-here-for-modding" with the name "signedalignedAPPNAME".
[Android Software Development] David Insja:
hey guys, recently i just download the apk multi tool to decompile an APK, i've follow all the instruction to decompilling but when im doing it, the script.bat window closed ( after im choose number 9 to decompile apk ), and i checked the projects folder nothing happen, it still empty.. can somebody help and guide me.. Thank you..
[Android Software Development] bovirus:
[MENTION=7880276]David Insja[/MENTION]

Please check that apk file name is without space.
[Android Software Development] XxSUPRAxX:
Java error on decompile

Hi i have tried to get this program to work in loooong time ive installed many different java version and it didnt fix anything right now im receiving this error:

java version "1.7.0_51"

Java(TM) SE Runtime Environment (build 1.7.0_51-b13)

Java HotSpot(TM) 64-Bit Server VM (build 24.51-b03, mixed mode)

Input file (Myapk.apk) was not found or was not readable.

I dont know the exact version of Java i have to install can and can i install more then one?

If someone could send a link to direct download java version it would be awesome thanks for the help :svetius:
[Android Software Development] bovirus:
[MENTION=7880594]XxSUPRAxX[/MENTION]

The problem "probably" is not JAVA.

Could be the apk file name (the file name should be withou spaces) or you don't install Java JDK, or you don't setup right the JAVA:_HOME variable.

Please read carefully first post.

Please make a search with Google about Java Download (by Sun website).
[Android Software Development] David Insja:
i've checked it, the file does not contain any space..
[Android Software Development] bovirus:
[MENTION=7880276]David Insja[/MENTION]

Please post the link to download the apk (to check it).
[Android Software Development] David Insja:
The link that im using is just like in the first page ( sory i cant post a link, before reach 10 posts )

Thank you for your big help [MENTION=637263]bovirus[/MENTION]
[Android Software Development] 5taavenida:
Bovirus is possible to install apkmultitool in windows 10?

Thanks in advance:good:
[Android Software Development] bovirus:
It works in any Windows system (Windows 10 included):

You just need to install JAva JDK and set JAVA_HOME variable.

[MENTION=7880276]David Insja[/MENTION]

Please send the APK link in a message to me.
[Android Software Development] 5taavenida:
Thanks for your answer, I am working in wind 7 installed in virtualbox, and is a little complicated,

Java 7.1 work well in windows 10?

Muchas gracias:good:
[Android Software Development] David Insja:
[MENTION=637263]bovirus[/MENTION] i've message the link..

thank you
[Android Software Development] bovirus:
[MENTION=7880276]David Insja[/MENTION]

I need the link to download the APK that you want to decompile.
[Android Software Development] RamHa:
Help pls. Note N7000 is in quest. TW based rom, Jo-sun rom Delirium Flat L. I wanna couple things to do with those tools(baksmali/smali manager on the first place and APK -Moolti Toll from this page)-

No(1) : To make TW launcher rotate(first page as well as manu),

No(2): Infinite app drawer scroll and

No(3): To make all apks 240 and/or 320dpi. First two is primary, any help? I have all tools, java instaled, win xp sp3 with all drivers, slow pc :( and will to do. I tried to extract-decompile with smali-backsmali editor and i succsed. Now, in SecLauncher2.apk and in /res folder i do not percive any value folder thasat contain xml . There is instruction:

- Decompile SecLauncher2.apk

- Go to \res\values folder and open integers.xml

- Search for this line:

Code:

<integer name="config_screenOrientation">1</integer>

but in SecLauncher2.apk there is no /value nor integer nor that lines... folder missing... Maybe its located somewere ellse???

And i did also tried with APK Moolti Tool but no succses at al, telling me to look at log folder for errors...

And Notepad++ gives me wierd symbols instead normal tekst if etid any xml file, so how to edit what i wanna change? (thats question No 4)

Now different questions: is there detailled instructions type : how to and if there isnt pls, can U and will U help me? Thank U very and extremlly much!

P.S i followed instruction from page:

https://xdaforums.com/showthread.php?t=2038675

---------- Post added at 10:39 AM ---------- Previous post was at 10:31 AM ----------

:highfive:

help/ :(:confused: me...
[Android Software Development] 5taavenida:
Thanks for your advice, it´s working flawlessly in windows 10.

Thanks bovirus!!!:good::good:
[Android Software Development] TDP_fujoshi:
When I tried to extract, I keep getting "archive not found".

I put the apk in the "place apk for batch optimize" folder. Did I do something wrong?
[Android Software Development] bovirus:
Are you sure that your apk has a filename without spaces?
[Android Software Development] Vij4k:
Anybody can help me? I want change one folder with emojis in Facebook Messenger .apk. I'm doing decompilation with this tool, I'm replacing files and next doing compilation. Installation doesn't work on smartphone. Do I have to sign an application? I try with tool from XDA, signed app but doesn't work all time.

edit.________

I found a solution, I do not need help. I signed app with this script: https://xdaforums.com/android/apps-games/app-messenger-day-disabler-t3572337
[Android Software Development] mjgeneroso:
Error

Hi,

I am trying to decompile apk to edit code but I am receiving this error.

i.imgur.com/kwgIP8r.jpg

What is the problem?
[Android Software Development] bovirus:
Please provide the details

apktool version

baksmali/smali version

link of the app (apk file)
[Android Software Development] mjgeneroso:
Version Version 2.0.0

where do i find the baksmali/smali version?

link of the app? do you mean in playstore?
[Android Software Development] bovirus:
Apktool version is quite old. The current stable version is 2.2.0.

baksmali/smali is not updated.

I will post a new APK-Multi tool version with apktool/baksmali/smali file updated.

Please provide the link of the app in Play Store.
[Android Software Development] mjgeneroso:
Where can i get the latest version?

Thanks, I will wait for the new APK-Multi tool version with apktool/baksmali/smali file updated.

I did not downloaded it from Playstore, the app was sent by a fried. you can donwload it here

drive.google.com/file/d/0BwKfhKUcC_ldbGpjbzBsM1FDNzA/view
[Android Software Development] bovirus:
[MENTION=397417]mjg[/MENTION]enerso

There are specifc thread for apktool.jar and baksmali.jar/smali.jar

Please update you installation with theese files

https://drive.google.com/open?id=0ByL-fx0GbfuiUzlKYlpDaDZqT3c

Downlaod, decompress the files and put them in the APK Multi Tool "other" folder (replacing the original ones)

Alternative: I tried with my prefereed tools (Android Multitool) and I didn't get any error using it.
[Android Software Development] mjgeneroso:
Thanks, I'm gonna try this and give you updates if it works.

---------- Post added at 08:27 AM ---------- Previous post was at 08:20 AM ----------

THANKS MAN!!! It worked n.n
[Android Software Development] bovirus:
What solution did you apply?

APK Multitool and new apktool/baks,mali/smali files or Android Multitool?
[Android Software Development] mjgeneroso:
I tried your alternative first, the "Android Multitool" but it did'nt work. So I tried updating apktool.jar and baksmali.jar/smali.jar, it worked for me n.n
[Android Software Development] mjgeneroso:
(DELETED)
[Android Software Development] bovirus:
I tried Android multitool (with my batch amt.bat & latest apktool/baksmali/smali jar files) and it worked with your app.
[Android Software Development] mjgeneroso:
Do i have to update the apktool/baksmali/smali jar files in the Android multitool too?
[Android Software Development] bovirus:
[MENTION=8284402]mjgeneroso[/MENTION]

Of course the .jar files should be updated on both program (APK Multi Tool) and Android Multi Tool.

For basic usage I prefer Android Multitool, that with my batch (AMT.BAT) it's very simple to use (load/save/sign) and has a simple structure for file & folders.
[Android Software Development] mjgeneroso:
App Crashes

I tried to change the image in this app. It doesnt work after i changed it

http://www.mediafire.com/file/o64da8m4y12xq41/CrypticVPNv2.8.apk
[Android Software Development] bovirus:
For me you are OT here.

This tool si related ONLY to the tool to compress/decompress the APK.

Is not related how to modify an app.
[Android Software Development] mjgeneroso:
Sorry my bad..
[Android Software Development] soltaneghalbha:
Hi, Please Help me

when compile apk, get error:

Image=> ibb.co/mNNn4v

error log:

java version "1.8.0_112"

Java(TM) SE Runtime Environment (build 1.8.0_112-b15)

Java HotSpot(TM) 64-Bit Server VM (build 25.112-b15, mixed mode)

java.io.FileNotFoundException: E:\APKMultiTool\place-apk-here-for-signing\unsignedablike.apk (The system cannot find the file specified)

at java.util.zip.ZipFile.open(Native Method)

at java.util.zip.ZipFile.<init>(Unknown Source)

at java.util.zip.ZipFile.<init>(Unknown Source)

at java.util.jar.JarFile.<init>(Unknown Source)

at java.util.jar.JarFile.<init>(Unknown Source)

at com.android.signapk.SignApk.main(SignApk.java:437)

The system cannot find the path specified.

error: protocol fault (no status)

can't find 'place-apk-here-for-signing/signedablike.apk' to install

Test with java 1.6 and 1.7

Image=> ibb.co/e4ZnMa

Please help me:)
[Android Software Development] Ibuprophen:
What exactly are you trying to do, have you tried to do, and what are you trying to accomplish that that resulted in a failure when trying to the recompile?

~~~~~~~~~~~~~~~

I Am The Egg Man,

They Are The Egg Men.

I Am The Walrus!

Coo Coo Cachoo!
[Android Software Development] soltaneghalbha:
Please Help for fix error :o
[Android Software Development] bovirus:
[MENTION=8487298]soltaneghalbha[/MENTION]

Please try using JDK updated (b144)
[Android Software Development] raziel23x:
There will be a update in the next few days to update the binaries to the application and mostly likes leave experimental releases
[Android Software Development] paradoxiumwind:
How do I decompile apks?

I just get this in the log:

The system cannot find the file C:\Users\parad\Desktop\APK-Multi-Tool-APK-Multi-Tool-bf66148\projects/None.

Input file (C:\Users\parad\Desktop\APK-Multi-Tool-APK-Multi-Tool-bf66148\place-apk-here-for-modding/None) was not found or was not readable.

does this mean it can't decompile that specific apk? what apks work for decompiling so I can test?

thanks
[Android Software Development] Ibuprophen:
The following thread is a decent tutorial on how to use the APK Multi-Tool.

https://xdaforums.com/showthread.php?t=2341351

Good Luck!

~~~~~~~~~~~~~~~

I DO NOT PROVIDE SUPPORT VIA PM UNLESS ASKED/REQUESTED BY MYSELF.

PLEASE KEEP IT IN THE THREADS WHERE EVERYONE CAN SHARE