yashsingh1/xdaforums huggingface dataset:
[IDEs, Libraries, & Programming Tools] shunsai:
Awesome program! Thanks so much for this. Makes nodding apks a lot more streamlined. I haven't yet read through all 10 pages yet, but wanted to comment while I remember.

First time I tried opening an app, it didn't work. I had to load the framework apks from my ROM the old-fashioned way (app tool command line). Would be nice if we could load frameworks from this program.

Also I couldn't search for specific values in the code, so I still had to use Notepad++ to edit.

If there's any way to implement these 2 functions in your studio, then it will really be an APK tool to rule the all! ? Anyway, thanks again for this great software and all the time and effort you've put into it. It really shows!
[IDEs, Libraries, & Programming Tools] Pankaj Rai:
its good bt its too sloow and laggy ...bt i use it

---------- Post added at 09:08 PM ---------- Previous post was at 09:06 PM ----------

hope u can fixe it
[IDEs, Libraries, & Programming Tools] m.pratap.singh:
Not working with some apps. Status not showing complete.
[IDEs, Libraries, & Programming Tools] magaedy:
I'm getting this error message : (Error java is not found) ????????

any help ?????

thanks in advance :)
[IDEs, Libraries, & Programming Tools] dragid10:
Will this be able to run on WINE in Ubuntu
[IDEs, Libraries, & Programming Tools] vaibhavpandeyvpz:
If current version, then I don't know as I never used wine but upcoming version will be available as a native ubuntu app.
[IDEs, Libraries, & Programming Tools] Ron36:
I am trying to learn a bit about making apps, so I grabbed this to have a look see.

Unfortunately I can not get this app to extract.... https://play.google.com/store/apps/details?id=com.sony.tvsideview.phone

I tried many times and it always hangs up on the same file.

Any ideas?
[IDEs, Libraries, & Programming Tools] halibil:
woooooooooooooooooooooooooooooow

amazing tool :laugh:
[IDEs, Libraries, & Programming Tools] vaibhavpandeyvpz:
Done!

Done as requested!
[IDEs, Libraries, & Programming Tools] shunsai:
Wow! Thanks for replying! I can't wait to try it out.
[IDEs, Libraries, & Programming Tools] vaibhavpandeyvpz:
Give the newer version a try please.
[IDEs, Libraries, & Programming Tools] Pankaj Rai:
ookkkk i'll try
[IDEs, Libraries, & Programming Tools] ferdiado:
interesting contribution
[IDEs, Libraries, & Programming Tools] xipxap:
Ummm... the Windows version 2.03b seem not running under W7... the "older" 4.0 from XDA page running OK with same apps.

Must configure something?

;)
[IDEs, Libraries, & Programming Tools] vaibhavpandeyvpz:
Whats the issue? Any error or some?

Also please check if you have BINARIES directory (included in archive) configured properly under File >Settings.
[IDEs, Libraries, & Programming Tools] Nima79:
new update is awsone ... tnx man

is it possible bring back source section from version 1 ?

that was helpful...
[IDEs, Libraries, & Programming Tools] BoostRoid:
I'm trying to install this program on Linux Mint 16 but I'm a bit lost. Any help lease?
[IDEs, Libraries, & Programming Tools] vaibhavpandeyvpz:
Sure!

Have plans for that on next Sunday! :)
[IDEs, Libraries, & Programming Tools] vaibhavpandeyvpz:
Easy

You don't need to install actually, just extract somewhere & execute apkstudio.sh
[IDEs, Libraries, & Programming Tools] fhem:
Missing something

First thanks for working on this tool. I very much want to try it out. I am running Kububtu 14.04 desktop and I am getting this error. Any help appreciated.

./apkstudio: error while loading shared libraries: libQt5PrintSupport.so.5: cannot open shared object file: No such file or directory

Thanks much
[IDEs, Libraries, & Programming Tools] xipxap:
Only the IDE is visible. When try decompile, it's show "Failed".. with all apps...same apps are open with the "old" 4.0 without problem in same machine.

And yes, we have the binaries.

:(
[IDEs, Libraries, & Programming Tools] vaibhavpandeyvpz:
Its not to just have it, you may need to go to FIle > Settings & check if directory is configured correctly. ALso, if you could, kindly post a screenshot of your apkstudio folder structure & File > Settings dialog.
[IDEs, Libraries, & Programming Tools] vaibhavpandeyvpz:
Please check if you are running a 64-Bit distro. If yes, then you need to install 32-Bit support libraries as APK Studio's build is itself 32-Bit. On Debian/Ubuntu, you can installl it as:

sudo apt-get install ia32-libs
[IDEs, Libraries, & Programming Tools] fhem:
Thanks for the quick reply. I am running 64-bit distro but I had already added the the 32-bit libs. http://askubuntu.com/questions/454253/64bit-ubuntu-14-04-running-32bit-binaries

sudo dpkg --add-architecture i386

sudo apt-get update

sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386

any other ideas.i would like to help trying your work but not sure what to try next.
[IDEs, Libraries, & Programming Tools] vaibhavpandeyvpz:
Well not sure, but I never installed 32-bit libraries that way as it seems it is installing minimal runtime libraries (of choice). I always did it by installing the complete package ia32-libs. I actually developed it on my AMD machine running trusty build, rebuilt on my sandybridge laptop running trusty too & did run it on both successfully. But if you want, I can rebuild a 64-bit package for you instead. Please give ia32-libs thing a try & tell me. If it fails, then I will download Kubuntu trusty ISO for 64-biut SPU & check with it in VM.
[IDEs, Libraries, & Programming Tools] xipxap:
Hi again:

We attach some captures.

Same in Windows XP 32 works fine, but not in W7 64.

Thanks
[IDEs, Libraries, & Programming Tools] vaibhavpandeyvpz:
Try disabling verbosity of logs! I didn't test the feature! :P
[IDEs, Libraries, & Programming Tools] fhem:
Here's what you get when you try sudo apt-get install ia32-libs I tried this on both Ubuntu 14.04(Vbox) 64-bit and Kubuntu desktop 14.04 64-bit. I did install the three noted libs that replace them. I still have no luck running your app on either 64-bit build. I am running other 32 bit apps w/o any issues - Archi's Kitchen example.

fred@UbuntuVB:~$ sudo apt-get install ia32-libs

[sudo] password for fred:

Reading package lists... Done

Building dependency tree

Reading state information... Done

Package ia32-libs is not available, but is referred to by another package.

This may mean that the package is missing, has been obsoleted, or

is only available from another source

However the following packages replace it:

lib32z1 lib32ncurses5 lib32bz2-1.0

E: Package 'ia32-libs' has no installation candidate

Do you have your app running a 64-bit os?
[IDEs, Libraries, & Programming Tools] vaibhavpandeyvpz:
Yeah absolutely I am able to run the 32-Bit build on my 64-Bit AMD machine. However, I clearly remember I had to install ia32-libs in Trusty using some backport or something. You may want to check this:

http://stackoverflow.com/questions/23182765/how-to-install-ia32-libs-in-ubuntu-14-04-lts

I also just ACTUALLY noticed you using Ubuntu distro on KDE desktop. Isn't it? Then you must have QT libraries pre-installed. I'll give you a 64-bit executable that you can directly execute by tonight. So if you could, kindly wait.
[IDEs, Libraries, & Programming Tools] fhem:
My ubuntu vbox is running on win 8.1 64 bit laptop. i prefer the Kubuntu kde setup I have on my other laptop, no vbox or dual boot on that setup. I tried running both apkstudio and apkstudio.sh from terminal on both linux builds and got same results. Shouldn't need a special build I have all the libs covered so not sure what the issue is. I'm in no hurry so if you need me try something diff just let me know. thanks for the help.

FYI: I did download your app on a 32 bit Ubuntu 14.04 decktop build. An old dell desktop I have and your app seems to run ok on the 32 bit build.
[IDEs, Libraries, & Programming Tools] Hyperiunn:
Doesn't work for me on Windows. Every time I've tried to add a framework, I get the message 'Unable to install framework from'.
[IDEs, Libraries, & Programming Tools] vaibhavpandeyvpz:
Means you may need 64-bit build as you don't have properly installed ALL 32-bit support libraries on you 64-bit machine. No problem, I'll build the 64-bit exec and will upload it to my site & let you know.
[IDEs, Libraries, & Programming Tools] vaibhavpandeyvpz:
Open a command prompt and type:

java -version

And let me know thw output.
[IDEs, Libraries, & Programming Tools] xipxap:
Ummm... not running with anyone config. I has been dissabled all permisions of W7 64 also... but, not luck.. I think it's a library compatibility with 64bits version problem..

Thanks again for you time.

;)
[IDEs, Libraries, & Programming Tools] Hyperiunn:
1.7.0_51

I think it may be the way the .jar is launched from apkstudio on Windows. If you check the .bat file that launches the .jar from apktools download website that may be the commands needed to work with apkstudio on Windows. Here they are so you don't have to do the former.

[MENTION=279333]ECHO[/MENTION] off

set PATH=%CD%;%PATH%;

java -jar "%~dp0\apktool.jar" %1 %2 %3 %4 %5 %6 %7 %8 %9
[IDEs, Libraries, & Programming Tools] olivierg13:
Really interesting tool ! I will definitely try that !

Cheers,

Olivier
[IDEs, Libraries, & Programming Tools] scavenger3:
sir, i'm having problem about java null... i installed the latest java and restart my laptop but i still can't decompile. TIA sir...
[IDEs, Libraries, & Programming Tools] JT1510365:
help please

Hi I want to decompile keygaurd.apk and when i do it with apk studio it says that it failed to decompile. Do I have to add my framework-res.apk from my phone? If i do where is the framework directory to put it in?
[IDEs, Libraries, & Programming Tools] scavenger3:
its on the system > framework folder find it there then copy and paste it on your sd card storage use root explorer. from there u can send it to your pc via bluetooth or use a cable to copy it to your pc.
[IDEs, Libraries, & Programming Tools] royal1262:
Video Instructions

Can someone post a video on how to decompile and recompile an APK using this tool. I cant figure out how to use this thing. Never did this before and want to learn how to modify APK's thanks.
[IDEs, Libraries, & Programming Tools] Superfebs:
Hello, thank you very much for this tool. Congrats bud, you have skills.

I need some help, though. :)

Running Linux Mint, java version "1.7.0_60".

First, whenever I click on "properties" on any item (either by right-click menu or from the "Property" button on the bar after selecting the file) I simply get nothing.

Second. I modify a file in assets/, then rebuild the app, and the original files remains there. Is that a bug or, more likely, I misunderstood how to replace a file in assets/?

Thanks so much!
[IDEs, Libraries, & Programming Tools] Superfebs:
Moreover... here's a feature request.

Being able to search and replace text recursively!

Thanks so much mate :)
[IDEs, Libraries, & Programming Tools] Flypwnz:
Wrong thread :(
[IDEs, Libraries, & Programming Tools] shevchovski:
thanks bro. you'r awesome :good: :D
[IDEs, Libraries, & Programming Tools] p30rayan:
please back the source section just like version 1 of apkstudio ... i and many users need it...
[IDEs, Libraries, & Programming Tools] vaibhavpandeyvpz:
The properties option only works under Windows (for now). Unsure about the assets thing, maybe apktool isn't putting it there in. Need to check.
[IDEs, Libraries, & Programming Tools] vaibhavpandeyvpz:
Considered :) But for now, this can replace the package name recursively under Windows. I use it myself & love it.
[IDEs, Libraries, & Programming Tools] e154037:
Sir,

Would like to try this on my windows 8 PC, which does not have any java or android related software installed yet. Before install your studio, do I have to install anything in advance like android dev tools, apktools, etc? How to install the studio, just unzip it, do I have to define any ENV var?

Thanks in advance
[IDEs, Libraries, & Programming Tools] vaibhavpandeyvpz:
Yeah, JDK

You only need to have JDK installed & the JDK's bin must be in your path (Will be added automatically if you use the Oracle's installer). Then just unzip & run!
[IDEs, Libraries, & Programming Tools] nicesoni_ash:
This is the only tool that worked for me, I tried several different utilities but none worked for me, always got some kind of error.. Finally.. Thanks a lot man.. :)
[IDEs, Libraries, & Programming Tools] Nima79:
hellow .. we are wating for new version bro
[IDEs, Libraries, & Programming Tools] coolbud012:
Hi Vaibhav,

I tried your tool for the first time. Its awesome... I just want to know that at the end it converts src files into smali... how to get the .java files for the same?

Thanks
[IDEs, Libraries, & Programming Tools] vaibhavpandeyvpz:
:(

I really feel regret but I am suffering from intensive lack of private working hours.:crying:
[IDEs, Libraries, & Programming Tools] Ivymike52:
i cannot to decompile some apk... why? :(

Many app i can to decompile, but lgcontacts.apk no... it's protect? or what?
[IDEs, Libraries, & Programming Tools] vaibhavpandeyvpz:
You may need to install framework first to decompile a system app
[IDEs, Libraries, & Programming Tools] Ivymike52:
i tried but perhaps i have made a mistake...how can i do?
[IDEs, Libraries, & Programming Tools] vaibhavpandeyvpz:
You tried to install framework but didn't succeed? Any error?
[IDEs, Libraries, & Programming Tools] Ivymike52:
i don't know the right way to install framework... can you help me?

i copy my framework-res.apk by phone into pc and then?
[IDEs, Libraries, & Programming Tools] arman12345:
Hi

I just wanna know that can we edit the PNG's of the de compiled app??
[IDEs, Libraries, & Programming Tools] vaibhavpandeyvpz:
Then go to File -> Settings & press Add below framework lists. Browse to the APK & choose Install. You can now try decompiling again.
[IDEs, Libraries, & Programming Tools] vaibhavpandeyvpz:
You need to update it manually & then recompile. For the purpose, you may use Show In Explorer from Project Explorer context menu to find 1 file in 100s.
[IDEs, Libraries, & Programming Tools] typk:
Is there a file size limit? I am trying to modify XBMC android by putting all my addons in the apk but I keep getting the error below:

When I only add a few add ons and make a couple of modifications it works fine but when addons lots 100mb+ it causes this error.

Can anyone help?
[IDEs, Libraries, & Programming Tools] Ivymike52:
Ok i tried but when i press "install" receive this message:

Unable install framework from H:/ ... ... /framwork-res.apk
[IDEs, Libraries, & Programming Tools] VHFG22:
It happens to me too and i only fixed this by formating my computer

Do anybody knows any method that solves this?
[IDEs, Libraries, & Programming Tools] reczzz:
Hi, thx for the tool. I will give it a shot tonight...

Keep up the great work
[IDEs, Libraries, & Programming Tools] gazza1988:
Hi guys having a bit of trouble.

I'm trying to decompile an app to have a look inside but I cant get it to decompile using this tool, I can decompile it using an app on my phone.

I have the latest JDK. Windows 8.1 (x64)

I have no frameworks installed and I can't install frameworks either. I extracted my framework-res.apk from my phone and pointed APK Studio to it but it just pops up and says "unable to install framework from (then lists the directory its in)"

I've tried running it as administrator.
[IDEs, Libraries, & Programming Tools] drexman8244:
Failed to decompile

Win 8 x64 cant get it to work at all
[IDEs, Libraries, & Programming Tools] typk:
Can you let me know if there is a file size limit on this?

I can replicated the issue by decompiling and recompiling the app below without any changes.

Beyond XBMC:

http://xdaforums.com/showthread.php?t=2655622

Are you able to have a look at this?

Thanks
[IDEs, Libraries, & Programming Tools] Angeloftheafterlife:
Hi all,

I have by trying out this tool for a bit and I seem to have run into a bit of a snag. I can decompile the apps and look around them just fine. However, on the particular app Im looking at, when I recompile it (even if I do it immediately, without changing anything), and go to install it on my device I get "INSTALL_PARSE_FAILED_MANIFEST_MALFORMED" error.

I have tried it on different (less complex) apps, and they seem to have recompiled just fine.

The app Im trying to recompile is this, which is the japanese version of this. What im trying to do is replace the strings.xml with a translated version.

any ideas?
[IDEs, Libraries, & Programming Tools] Bouziane_Dr:
Change version apktool

How change version apktool in folder binary of apkstudio-2.0.3.

I want use apktool 1.5.2.

Thank you
[IDEs, Libraries, & Programming Tools] Icon000:
Anyone have any kind of clue what these errors are about? I;ve read through 90% of the threat and have found similar people but they didn't get a solution either.

Any help would be appreciated thanks!
[IDEs, Libraries, & Programming Tools] AndreaFar:
How to decompile APK

I have downloaded Android Studio for windows, clicking on decompile APK appears a dialog where you have to choose apk path,project name, project location and framework... I have filled all sections but framework and the create button remains gray and cannot continue.

Why??

...and what is framewok??

EDIT

If I remove the spaces in name the create button become clickable but I get the error failed to decompile
[IDEs, Libraries, & Programming Tools] lamike:
trying to install apk studio

where do I unpack this app in linuxmint and or there dependencies..
[IDEs, Libraries, & Programming Tools] smaj:
I select an apk and when click create . I got error message "failed to decompile" ??!!!!

can anyone help me ? plz
[IDEs, Libraries, & Programming Tools] omdhar:
APKStudio (windows) & APKTool 4.4 (Android) both decompiles and recompile the given apk. Recompiled apk without any change installs fine but fails to run and stops abruptly. What can be the reasons & how to fix it ?
[IDEs, Libraries, & Programming Tools] mathan7:
this my error, i long more then 6 hours ?! what to do ? plz helpm e
[IDEs, Libraries, & Programming Tools] dearde4n:
wow... working for me.. thanks [MENTION=5490832]vaibhavpandeylive[/MENTION]
[IDEs, Libraries, & Programming Tools] indigobv:
Make sure you have selected the right path for binaries if you haven't already. I had the same error "Unable install framework from" until i noticed the path was wrong.

Also, I couldn't make it work until I placed it where I have rights and it doesn't require me to run it as administrator (ex. Desktop).

I used APK Studio 2.0.3b on a PC with Windows 8.1 64-bit.
[IDEs, Libraries, & Programming Tools] inspectaclueso:
Decompile MMS apk

Hi,

Looks like a nice tool, thank you for sharing it.

I am trying to decompile the MMS.apk file from my Kingelon G9000 Android phone so I can troubleshoot an issue receiving PXT messages by editing the mms_config.xml file.

I have loaded the framework-res.apk and mms.apk files from the phone however when I decompile I get the following error:

I: Using Apktool 2.0.0-Beta9 on Mms.apk

I: Loading resource table...

I: Loading resource table...

I: Decoding AndroidManifest.xml with resources...

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

I: Regular manifest package...

I: Decoding file-resources...

W: Could not decode attr value, using undecoded value instead: ns=mtk, name=smartFit, value=0xffffffff

I: Decoding values */* XMLs...

Can't find framework resources for package of id: 2. You must install proper framework files, see project website for more info.

Forgive my limited knowledge/experience but does someone have any ideas? Is it only possible with deodexed ROM's?

I've uploaded the mms and framework-res files here...

http://www.mediafire.com/?qwkkt5tpsxyt3

Thanks
[IDEs, Libraries, & Programming Tools] princeasi:
For awhile I was pulling the hairs out of my head trying to recompile a "framework-res.apk" file from my Note 3. Tried using APK Multitool, APK manager, and both of them would give me errors. As soon as I tried this app, everything worked flawless. Thanks.
[Android Q&A, Help & Troubleshooting] Papahyooie:
Hi everyone! I am very new to android development and am basically learning as I go to see Miui, my favorite Rom running at full capacity on my atrix HD, as interest in the rom is very high, but interest in developing the rom is very low. So it;s left to me, an admitted noob, to see it done.

My question is, how do I cleanly integrate a zip file into a rom? Specifically I want to integrate Jeeko's pureperformances X zip into my rom. Miui on the atrix HD is very very bad for performance and battery life, but after flashing pureperformances X gold edition it works perfectly. I'd like to integrate it into the rom so that the extra step is no longer involved. I have asked Jeeko himself, but have recieved no answer, and without knowing him personally or sharing any development devices with him, I don't even know if he is active any longer. If someone could at least point me in the right direction to some information it would be greatly appreciated, as googling for days has led me nowhere. I have tried simply adding it to the zip file drag and drop style, but my users have reported that the current version has introduced more bugs than it has fixed. Any information would be awesome. Thanks guys!
[Android Q&A, Help & Troubleshooting] demkantor:
Don't know what this is exactly but it may be as simple as adding it into your ROM and changing updater-script accordingly. You should look into how this mod is installed (what is added/changed and how its done)
[Android Q&A, Help & Troubleshooting] Papahyooie:
So basically the meta-inf scripts need to be integrated together? (I could be wording that wrong, but I am only just now looking into how all that works. Do I have the gyst of it?)
[Android Q&A, Help & Troubleshooting] demkantor:
Well not the update-binary, use the one from the ROM, and then add in the pieces from the updater-script in the mod to the one in the ROM and place files appropriately.

Now this won't always work as it depends on what the mod does and how it does it, if you get stuck feel free to post both updater-scripts and list the contents of mod and I can have a look when I'm near a PC, but for now try it yourself but make a nandroid first
[Android Q&A, Help & Troubleshooting] Papahyooie:
Okay, yea that was basically what I was envisioning. I have absolutely no experience with the updater scripts and such, so I just don't know how to phrase it yet, but from what I've read so far that was what I expected. Basically the mod adds a bunch of optimizations to battery life and performance. A lot of build.prop modifications, which of course I could do manually, but the rest of the "engine" as he calls it might as well be magic to my knowledge lol.

Here is a link to the page if you'd like to read about it. http://xdaforums.com/showthread.php?t=2360670. It really does help a lot. It is definitely not snake oil. I've had users going from 6 hours of battery life to 19 simply by flashing this mod. I'd just like to integrate it into the rom so that it's transparent to the user, and one less step. (and jeeko himself is cool with it, he gives permission in his thread). I will definitely give it a try myself before asking you to take a look at it for me, as this is a learning experience for me as much as anything else. Thanks a lot for the sense of direction!
[Android Q&A, Help & Troubleshooting] demkantor:
Yeah no worries, the build.prop is easy to edit as you noted, just do it in Linux or notepad++ if using windows. Same goes for the updater-script

Check my threads for a link on making update.zips, its not finished (as I'm lazy er busy) but it may help a bit

You'll have to see if the other files the mod adds/changes can be simply done in the updater-script or not, more than likely they can

Best of luck!
[Galaxy Ace S5830 Q&A, Help & Troubleshooting] orizont:
allright, i have once posted for help on xda and i got tons of info and got my phone working. here's second round. Only thing i can do is go to download mode, everything else i try, including recovery mode gets me this screen :

I want to know is this fixable? and if so then how?