yashsingh1/xdaforums huggingface dataset:
[IDEs, Libraries, & Programming Tools] Jarmezrocks:
JavaFX is your web based Java development platform. It does stuff like netbeans and so forth. You need to download the Java JDK. You need to also set JAVA_HOME variable to the root of the SDK folder and you need to have the Java/SDK/bin directory as the only Java reference loaded on your path.

Essentially Windows will load the first Environment reference first and ignore the rest there after, so even if you had JDK bin directory tacked on the end apktool would probably return a fault before Windows would get around to loading the right binaries. What I mean is, leave Java FX installed (you may require if for something else?) and just delete their references from the Windows path and make sure the JAVA JDK is the only referenced or you can if you like make it referenced first and put the JavaFX after it. Essentially Apktool will find the reference for the JDK and then stop looking there after.

Once you have done that then you have to set the Java classpath. Google is your friend for all of the things I have mentioned above.

Enjoy:good:

---------- Post added at 09:27 PM ---------- Previous post was at 09:12 PM ----------

Here is the documentation you will need to have a read of to learn about setting up your Java environment successfully.

http://docs.oracle.com/javase/7/docs/webnotes/install/windows/jdk-installation-windows.html

Seeing that you are on dying operating system you will need the JavaSE SDK win32 binaries. available here as a direct download:

http://download.oracle.com/otn-pub/java/jdk/7u51-b13/jdk-7u51-windows-i586.exe

However you need to have clicked and accepted the Oracle TOU's before that link becomes live so go to hear, check the little radio button accept and bobs ya aunty you got Java.....the proper one as well.

Just a word of warning and it is none of my business in anyway but I would suggest that you upgrade Windows 7 or 8 in the coming months. You have a little over a month before all support for Windows XP ceases from Microsoft. That may not come as a concern to you right now, but it will be when you realise that every patch and update that goes out for Windows 7 there after is basically a road map for hackers and virus makers to completely destroy your XP machine!! Combined that with Java and you have the biggest recipe for disaster just waiting to happen.
[IDEs, Libraries, & Programming Tools] brosster:
Thanks to Praetoriani and Jarmezrocks your useful information could solve my issue!

The trick was mainly to enter a proper path in the Environment variables. First SDK, then FX (if necessary).

While inserting the SDK path, I discovered to have version 1.6, but not in the first place as suggested.

Also useful were the info to update the Java version and documentation, thanks again to Jarmezrocks, to learn about setting up my Java environment.

Regarding to the Windows XP system I'll think about it. I'm a Mac user and I'm using Windows XP only for few things, such as this to correctly use APK Studio to try to localize some app in my language. :good:
[IDEs, Libraries, & Programming Tools] kira325:
It's cool...great job
[IDEs, Libraries, & Programming Tools] dvaderx:
When i try to rebuild an apk, the status bar goes about half way and then says

unexpected error occurred when rebuilding.

Any idea what the problem may be?
[IDEs, Libraries, & Programming Tools] Android-xp:
Very Cool and Simple tool, speed improvement would be awesome ;)

Thanks
[IDEs, Libraries, & Programming Tools] agent_G9:
great work vaibhav bhai.... ?

after reading this thread waiting for the new version... ?
[IDEs, Libraries, & Programming Tools] Chintan Vadhadiya:
Not Working App After Editing

I have a Application, I just Want to Change the String in Source, and want to add Toast after Adding and Rebulding, App Remain same as Original But the Layout will be Done..

Please Help me...
[IDEs, Libraries, & Programming Tools] Bouziane_Dr:
Help

Morning,

Great work, very useful for decompilation, compilation and signed application with little size (<200ko).

I have an PC for gamer.(i5, processor very strong, early mother card MSI, ...)

I don't decompile settings.apk. The decompilation stops at google/com/.../a/a....

Why?
[IDEs, Libraries, & Programming Tools] auricPuneet:
Seems promising. Does it have Proguard decoding built into it if the mapping file is provided?
[IDEs, Libraries, & Programming Tools] Shadowdriod:
I had the same issues... Where do I find logs?
[IDEs, Libraries, & Programming Tools] Alaa Elrifaie:
Great tool!

I've never tried to get into Android "reverse-engineering" because of the crappy cmd-thing. I face it everyday in Linux, so I didn't want to bother myself with again :D

Your tool is so amazing, it enables us [ GUI lovers ] to finally see some good code snippets! :cool:

Keep it up!

....

As some people mentioned earlier, the application actually makes crappy-old-computers lag and freeze.

But it's ok since it's targeting the ".Net Framework". << All my apps do the same :rolleyes:

And another thing, you could rewrite this tool using Qt, dunno why, but I really detest Java!
[IDEs, Libraries, & Programming Tools] fnice:
vaibhavpandeylive:

Awesome tool, any chance for source? would like to add some more options ;)
[IDEs, Libraries, & Programming Tools] John.lee:
I tired with this problem :( / Apk studio: Process exited with code -1

[IMG="https://scontent-lga3-1.xx.fbcdn.net/hphotos-xfp1/v/t34.0-12/12053128_769096373195137_145282380_n.jpg?oh=7eff6233a17cb085e8b67637819baa9d&oe=56219A85"]https://scontent-lga3-1.xx.fbcdn.net/hphotos-xfp1/v/t34.0-12/12053128_769096373195137_145282380_n.jpg?oh=7eff6233a17cb085e8b67637819baa9d&oe=56219A85[/IMG]
[IDEs, Libraries, & Programming Tools] vaibhavpandeyvpz:
The status bar shows it is unable find -> exec java. Make sure you either have java in path or JAVA_HOME pointing to a valid JDK in your user environment vars.
[IDEs, Libraries, & Programming Tools] :
Been using your tool since I made the full time switch to linux. I'm trying to compile the latest linux version, I have both the latest GCC and QT installed but always get this error

lrelease: could not exec '/usr/lib/x86_64-linux-gnu/qt4/bin/lrelease': No such file or directory

My linux skills still really suck and I'm guessing I just need to change some pathway, any help you can give is greatly appreciated and thank you for the great tool
[IDEs, Libraries, & Programming Tools] John.lee:
Can u give me link of Java Bro !
[IDEs, Libraries, & Programming Tools] vaibhavpandeyvpz:
You can get it here.

From your post, I can see you are building it against Qt4, while you need Qt5 to build it successfully. If you are on ubuntu, then you may want to look at travis config here. For Arch, there is a package maintained by wlritchi here which you can (figure out how to & then) install.
[IDEs, Libraries, & Programming Tools] John.lee:
Bro, i have jdk-7u51 its not work ?
[IDEs, Libraries, & Programming Tools] vaibhavpandeyvpz:
Post output from where java & ver in command prompt.
[IDEs, Libraries, & Programming Tools] :
I'm using qt 5.5.1 on Linux mint (which is Ubuntu based ) or at least that's what I downloaded anyway

---------- Post added at 01:39 PM ---------- Previous post was at 01:21 PM ----------

Ok I think I know the issue I just dont know how to fix it due to crap linux knowledge lol. I get this error a lot

Failed to fetch cdrom://Linux Mint 17.1 _Rebecca_ - Release amd64 20141126/dists/trusty/contrib/binary-amd64/Packages Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
[IDEs, Libraries, & Programming Tools] vaibhavpandeyvpz:
Why are you using apt-cdrom instead of apt-get? To my knowledge, apt-cdrom is used to install things from diskettes, no?
[IDEs, Libraries, & Programming Tools] vaibhavpandeyvpz:
Or if you downloaded official installer from Qt website as it includes Qt Creator, then you also follow screenshots from this folder to build it from source.
[IDEs, Libraries, & Programming Tools] Dissambler:
Thank you!
[IDEs, Libraries, & Programming Tools] :
I'm not using apt-cdrom that's the problem. I use apt-get and it gives me that error and I don't know why. It's not just with qt I've had the issue before using apt -get. I need to know why apt-get gives me an apt-cdrom error I haven't a clue. Thanks for you help, it is appreciated
[IDEs, Libraries, & Programming Tools] John.lee:
I did not understand:confused::confused:

---------- Post added at 02:48 PM ---------- Previous post was at 02:41 PM ----------

its working thanks u bro :cowboy:
[IDEs, Libraries, & Programming Tools] Tobi@s:
Great, thanks for the fix! I'm having another problem, regarding signing:

I provide my keystore details and try to sign my modified apk but I always get this:

$ jarsigner.exe -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore C:/Users/Tobi/.android/my-keystore.keystore -storepass ## -keypass ## -signedjar C:/Users/Tobi/AppData/Local/Temp/aqbC8wSA-signed.apk G:/Android/Projects/##/app.apk ##
Process exited with code -1

Strange thing is: When I sign it using jarsigner manually from 1.8 jdk it works (even when I copy and use the above command from apkstudio)
[IDEs, Libraries, & Programming Tools] vaibhavpandeyvpz:
Exit code -1 mostly comes up when apkstudio is unable to execute the executable for some reason. Do you have jarsigner in path?
[IDEs, Libraries, & Programming Tools] vaibhavpandeyvpz:
That's good to know. But I believe you are using initial release of apkstudio 3. Please update it from Github.
[IDEs, Libraries, & Programming Tools] vaibhavpandeyvpz:
Maybe this or this can help you out.

Otherwise, why don't you download the Qt Installer from here. That would get things done easy.
[IDEs, Libraries, & Programming Tools] Tobi@s:
thats it, thanks!
[IDEs, Libraries, & Programming Tools] GorranKurd:
Hi, Thanks for this helpful application I have a problem with newest version 3.0 i did everything you explained the app is de compiling the apk but can not re compiling ?!! it say successfully re built but when i want to Install the APK on my phone it say the ( Parse Error, there was a problem while parsing the package ) !! Also i try to install from my pc to device use MobileGo but it say the ( Failed, Invalid APK file! ) I don't had that errors when I used the older version ( 1.0 ) please give me the download link to the old version i was removed from Codeplex and it's Not available on the Github!

PLEASE HELP I NEED THIS APPLICATION :(

Here you are the screenshots:
[IDEs, Libraries, & Programming Tools] Tobi@s:
You need to sign the apk file
[IDEs, Libraries, & Programming Tools] vaibhavpandeyvpz:
As said by [MENTION=3246955]Tobi@s[/MENTION], you have most probably forgot to sign you apk.
[IDEs, Libraries, & Programming Tools] GorranKurd:
But how when i don't have a keystore or other passwords !!

So why in the old version Signing Not needed Manually ? Can you tell me how to sign it Please
[IDEs, Libraries, & Programming Tools] vaibhavpandeyvpz:
In the old version, the apk was signed with test-keys and that was not the desired behaviour for most devs.

This is how you can a create a keystore. developer.android.com/tools/publishing/app-signing.html#signing-manually
[IDEs, Libraries, & Programming Tools] GorranKurd:
Thank you this small tool was helped me :) APK & Zip Signer

I signed with platform and shared keys was worked like a charm :D

Thanks Bro For This Software You are amazing :good:
[IDEs, Libraries, & Programming Tools] johnlelan:
Re: IDE for Reverse Engineering Android APKs

try your PC Studio. It looks great and would like to use. But every time I try to open an APK,
[IDEs, Libraries, & Programming Tools] vaibhavpandeyvpz:
Where it shows this error An unexpected error occurred when extracting, can you post a screenshot?
[IDEs, Libraries, & Programming Tools] :
Sorry to keep bothering you, Ive installed qt creator and tried to build but I'm getting this error now

13:11:08: The process "/usr/bin/make" exited with code 2.

Error while building/deploying project apkstudio (kit: Desktop Qt 5.5.1 GCC 64bit)

When executing step "Make"
[IDEs, Libraries, & Programming Tools] vaibhavpandeyvpz:
You got make installed? On ubuntu, this can be achieved by running following commands in Terminal:

sudo apt-get install build-essential
[IDEs, Libraries, & Programming Tools] :
I'm on Linux mint which is Ubuntu based but I've already got build essentials installed. When I sudo apt-get it tells me I already have the newest version
[IDEs, Libraries, & Programming Tools] vaibhavpandeyvpz:
Can you make a paste of the output from Compile Output tab from bottom of Qt creator and link here?
[IDEs, Libraries, & Programming Tools] :
Thank you so much for your help

http://pastebin.com/zvmUdSfh
[IDEs, Libraries, & Programming Tools] vaibhavpandeyvpz:
At line #44 in your paste, it says it cannot find the compiled translation file. I believe you missed the #7 step here.
[IDEs, Libraries, & Programming Tools] :
I'm sorry to keep bothering you and spamming the thread my friend but I'm still getting build errors. I,ve been trying to trouble shoot myself but suck at linux

http://pastebin.com/nRuBj5CJ
[IDEs, Libraries, & Programming Tools] androcraze:
Line 105:

/usr/bin/ld: cannot find -lGL

Do you have openGL-devel installed? I think it's "mesa-common-dev" under Ubuntu.
[IDEs, Libraries, & Programming Tools] :
Thank you so much that fixed it
[IDEs, Libraries, & Programming Tools] John.lee:
sign apk

Heey,

any one tell me how to sign apk (create now certificate )

:(
[IDEs, Libraries, & Programming Tools] TheKaser:
does this software retrieve also the java files? I seem only to get the xmls...

thanks!
[IDEs, Libraries, & Programming Tools] lxender:
Did u all knows why apkstudio show downloaded updates with blank box?
[IDEs, Libraries, & Programming Tools] LiquidT:
Can you use this tool to work on custom ROMs?
[IDEs, Libraries, & Programming Tools] masumvali7:
getting error when i select decompali

$ java -Xmx128m -jar C:/Users/Lenovo/.apkstudio/vendor/apktool.jar -f d C:/Users/Lenovo/Desktop/apktool-install-windows/WhatsApp.apk -o C:/Users/Lenovo/Desktop/apktool-install-windows/WhatsApp

java.lang.UnsupportedClassVersionError: brut/apktool/Main : Unsupported major.minor version 51.0

at java.lang.ClassLoader.defineClass1(Native Method)

at java.lang.ClassLoader.defineClassCond(Unknown Source)

at java.lang.ClassLoader.defineClass(Unknown Source)

at java.security.SecureClassLoader.defineClass(Unknown Source)

at java.net.URLClassLoader.defineClass(Unknown Source)

at java.net.URLClassLoader.access$000(Unknown Source)

at java.net.URLClassLoader$1.run(Unknown Source)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

Could not find the main class: brut.apktool.Main. Program will exit.

Exception in thread "main"

Process exited with code 1

help me

---------- Post added at 03:15 PM ---------- Previous post was at 03:09 PM ----------

download zipsigner from playstore and select the apk you want to sign and save it to the desitination path :good:
[IDEs, Libraries, & Programming Tools] DzmitryF Dev:
:good:
[IDEs, Libraries, & Programming Tools] hami497:
Someone help me i am unable to recompile the apk. this is the log:

$ java -Xmx128m -jar "C:/Users/Hammad T/.apkstudio/vendor/apktool.jar" -f b D:/apktool-install-windows/base -o D:/apktool-install-windows/base.apk

I: Using Apktool 2.0.2

I: Smaling smali folder into classes.dex...

Exception in thread "main" java.lang.OutOfMemoryError: Java heap space

at org.jf.smali.smaliFlexLexer.newToken(smaliFlexLexer.java:3094)

at org.jf.smali.smaliFlexLexer.newToken(smaliFlexLexer.java:3115)

at org.jf.smali.smaliFlexLexer.yylex(smaliFlexLexer.java:3594)

at org.jf.smali.smaliFlexLexer.nextToken(smaliFlexLexer.java:3037)

at org.antlr.runtime.BufferedTokenStream.fetch(BufferedTokenStream.java:143)

at org.antlr.runtime.BufferedTokenStream.sync(BufferedTokenStream.java:137)

at org.antlr.runtime.CommonTokenStream.consume(CommonTokenStream.java:68)

at org.antlr.runtime.BaseRecognizer.match(BaseRecognizer.java:106)

at org.jf.smali.smaliParser.register_list(smaliParser.java:7267)

at org.jf.smali.smaliParser.insn_format35c_method(smaliParser.java:13531)

at org.jf.smali.smaliParser.instruction(smaliParser.java:10067)

at org.jf.smali.smaliParser.ordered_method_item(smaliParser.java:2015)

at org.jf.smali.smaliParser.statements_and_directives(smaliParser.java:1738)

at org.jf.smali.smaliParser.method(smaliParser.java:1537)

at org.jf.smali.smaliParser.smali_file(smaliParser.java:615)

at brut.androlib.mod.SmaliMod.assembleSmaliFile(SmaliMod.java:82)

at brut.androlib.src.SmaliBuilder.buildFile(SmaliBuilder.java:70)

at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:55)

at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:41)

at brut.androlib.Androlib.buildSourcesSmali(Androlib.java:378)

at brut.androlib.Androlib.buildSources(Androlib.java:305)

at brut.androlib.Androlib.build(Androlib.java:288)

at brut.androlib.Androlib.build(Androlib.java:261)

at brut.apktool.Main.cmdBuild(Main.java:225)

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

Process exited with code 1
[IDEs, Libraries, & Programming Tools] M4st3rZeus:
can we compile APK Studio for OS X ?
[IDEs, Libraries, & Programming Tools] vaibhavpandeyvpz:
Yes absolutely. As per this & many more sources, people are already running it on Mac OSX.
[IDEs, Libraries, & Programming Tools] vaibhavpandeyvpz:
You can trying adding to the JavaHeap size in Settings dialog in order to overcome this.
[IDEs, Libraries, & Programming Tools] minhhoa:
help I

I not decode :

$ java -Xmx128m -jar C:/Users/Admin/.apkstudio/vendor/apktool.jar -f d D:/akp_pro/PID.apk -o D:/akp_pro/PID

I: Using Apktool 2.0.2 on PID.apk

I: Loading resource table...

I: Decoding AndroidManifest.xml with resources...

I: Loading resource table from file: C:\Users\Admin\apktool\framework\1.apk

I: Regular manifest package...

I: Decoding file-resources...

W: Could not decode attr value, using undecoded value instead: ns=android, name=layout_height, value=0x010102eb

W: Could not decode attr value, using undecoded value instead: ns=android, name=background, value=0x0101032c

W: Could not decode attr value, using undecoded value instead: ns=android, name=background, value=0x0101032c

W: Could not decode attr value, using undecoded value instead: ns=android, name=background, value=0x0101032c

W: Could not decode attr value, using undecoded value instead: ns=android, name=background, value=0x0101032c

I: Decoding values */* XMLs...

Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec: 0x010301f8

at brut.androlib.res.data.ResPackage.getResSpec(ResPackage.java:59)

at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:65)

at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:61)

at brut.androlib.res.data.value.ResReferenceValue.getReferent(ResReferenceValue.java:57)

at brut.androlib.res.data.value.ResReferenceValue.encodeAsResXml(ResReferenceValue.java:47)

at brut.androlib.res.data.value.ResScalarValue.encodeAsResXmlAttr(ResScalarValue.java:46)

at brut.androlib.res.data.value.ResStyleValue.serializeToResValuesXml(ResStyleValue.java:49)

at brut.androlib.res.data.value.ResBagValue.serializeToResValuesXml(ResBagValue.java:41)

at brut.androlib.res.AndrolibResources.generateValuesFile(AndrolibResources.java:502)

at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:252)

at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:135)

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

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

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

Process exited with code 1
[IDEs, Libraries, & Programming Tools] Dzepar:
You need to install proper/more resources file. The 0x0 error is usually when you have wrong framework or not installed second framework.

Good Luck!
[IDEs, Libraries, & Programming Tools] minhhoa:
I do not really understand.

You can guide
[IDEs, Libraries, & Programming Tools] :
In settings you usually need to install the framework-res.apk from the rom your apk is from then make sure to select it when decompliling
[IDEs, Libraries, & Programming Tools] harry wilson:
hey and best to u

a grate Toooooooll, I have decompile and recompile an APK but when I want to install the new Apk this message come: Apk installation failed: install_PARSE_FAILLED_NO_CERTIFICATes

help me PLZ...

thank u very much
[IDEs, Libraries, & Programming Tools] :
Sounds like the apk just needs signing
[IDEs, Libraries, & Programming Tools] silvagroup:
Totally noob to all this trying to use in Ubuntu 15.04 when I try to run get 1: apkstudio-d49d3de-linux-x64.run: Syntax error: Unterminated quoted string????

So tried Windows version and runs fine in XP in a virtual machine.
[IDEs, Libraries, & Programming Tools] sipoysatish:
USER PASSWORD- from andoid file

i have software(pc and android) which opens some pdf files, whenever i open those files from another pdf reader it asks for "user password". I need it for to read and print some points. Is there any way can we READ user password from that software (android or pc). Please needed for my exams( website was KOPYKITABdotCOM)
[IDEs, Libraries, & Programming Tools] silvagroup:
No this wont help you that's in PDF security itself, but there are many ways to do what you want so since this isn't the thread just do a Google search.
[IDEs, Libraries, & Programming Tools] blueberry6401:
Decompile with framework tag (installed by apktool if -t) is not worked correctly.

After install with tag "g3_5.0", I've got 2 files named 1-g3_5.0.apk & 2-g3_5.0.apk.

When open APK file, framework tag combobox shows "1-g3_5.0" and "2-g3_5.0", command runs with wrong tag also.
[IDEs, Libraries, & Programming Tools] djsvetljo:
I have de-compiled smali to .java, edited the .java logic that I needed fixed. I can't figure out how to compile back to .smali so I can repack. Neither with this tool, neither with anything I've read in the past 72 hours. I barely understand Java, impossible for me to understand .SMALI. Allthough, the change I make is super simple - doubling of one function with slightly modified string.

Can anyone assist somehow ?
[IDEs, Libraries, & Programming Tools] sandys1:
hi guys, I have an android app that I'm inspecting which has json files inside "assets". Decompiling it shows the json as a bytestream (I guess). Anyway to get back the original json ?
[IDEs, Libraries, & Programming Tools] cpsense:
Better off you can also give decompileandroid.com a try
[IDEs, Libraries, & Programming Tools] Soft Phan:
Thanks for sharing.

Marked. I will try it later.
[IDEs, Libraries, & Programming Tools] BillNyeTheRussianSpy:
I cant seem to get it working. I went to decompile an APK and it failed. Ok, no problem. I then went to an online decompiler, got the apk decompiled there with an apktool yml and imported it into the app. changed 1 line of code and went to build and the build failed. What am I doing wrong here?
[IDEs, Libraries, & Programming Tools] nucleisoft:
isnt this software iilegal i thought your not alowed to decompile other peoples apk's
[IDEs, Libraries, & Programming Tools] :
You can decompile anything that's what apktool is for. Kanging other people's work and warez aren't allowed. For example you can decompile tapatalk and theme it but you can't decompile an apk like Spotify to get premium version for free
[IDEs, Libraries, & Programming Tools] nucleisoft:
oh that's ok then, i was worried poeple could use it to copy code, as it can take a long time to make a decent game and not really fair if someone can just take it and use it to make a clone.
[IDEs, Libraries, & Programming Tools] Bob in Northern NJ:
What does this error mean? I've searched for documentation, but to no avail.

$ java -Xmx128m -jar "C:/Documents and Settings/HP_Administrator/.apkstudio/vendor/apktool.jar" -f d "C:/HTC One M8/Viper ROM for One M8/ViperOneM8_5.0.2/HtcWeatherClockWidget.apk" -o "C:/HTC One M8/Viper ROM for One M8/ViperOneM8_5.0.2/HtcWeatherClockWidget"

Process exited with code -1