yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] chankruze:
I always get this errors while compiling though decompiling using framework-res.apk was error less.

Exception in thread "main" brut.androlib.AndrolibException: brut.directory.PathNotExist: apktool.yml
at brut.androlib.Androlib.readMetaFile(Androlib.java:265)
at brut.androlib.Androlib.build(Androlib.java:277)
at brut.androlib.Androlib.build(Androlib.java:270)
at brut.apktool.Main.cmdBuild(Main.java:227)
at brut.apktool.Main.main(Main.java:75)
Caused by: brut.directory.PathNotExist: apktool.yml
at brut.directory.AbstractDirectory.getFileInput(AbstractDirectory.java:106)
at brut.androlib.Androlib.readMetaFile(Androlib.java:261)
... 4 more
[Android Software/Hacking General [Developers Only]] Ibuprophen:
The error "brut.directory.PathNotExist: apktool.yml" reflects that the apktool.yml is missing/can't be located or just can't read it.

This is typical for either:

1) The apk wasn't decompiled properly.

2) The apk wasn't decompiled fully/completely.

3) The apk was decompiled but, the user either edited the "apktool.yml" inappropriately/with errors or had deleted it advertently or inadvertently.

When an apk is decompiled, amongst the final steps, the "apktool.yml" and the "AndroidManifest.xml" is produced. Those are very important because they have the outline/instructions for Recompiling the apk file.

I've seen allot of individuals edit one or both the "apktool.yml" and the "AndroidManifest.xml" using an... inappropriate text editor.

What I mean by inappropriate is one that really should not or cannot perform the task at all or very well.

One of the Primary editors that I use (and is free) is called Notepad++ from the following link:

SIDE-NOTE: During the installation process (of the Notepad++ software), be sure to keep all the options on its default selection.

https://www.notepad-plus-plus.org/

Then just delete the whole, decompiled app folder...

Typically located in the "C:/Users/{Your PC Profile Name Here}/Documents/APK Easy Tool/1-Decompiled APKs/"

... and then, run the APK Easy Tool again, and then select the apk and decompile it again to start from scratch.

I hope that I had explained this okay via text... :)

Good Luck!

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

I DO NOT provide support via PM unless asked/requested by myself. PLEASE keep it in the threads where everyone can share.
[Android Software/Hacking General [Developers Only]] chankruze:
Yeh i checked the decompiled folder , i didn't found apktool.yml then delete whole folder again decompile, left pc alone ....

Volla ! Decompiled successfully.

By the way i was thinking that it is not decompile d correctly.

Now another problem,Apk is not installing (Settings.apk) adb pull didn't work.In manually installation also not installing (tried by both signed & unsigned ).

Now i have an oath that i will learn deeply,ordered a book on android system waiting to be a good dev.?

Thanks for responding.
[Android Software/Hacking General [Developers Only]] Ibuprophen:
I really haven't gotten into editing a Settings.apk but, I do know that this app is handled differently depending on what's being modified within it. I know that, sometimes, the use of the Framework is involved as well.

Here's some reading material (I just randomly picked out of a ton of search results) that's specific to the Settings.apk to, hopefully, help you out further...

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

https://forums.androidcentral.com/o...anyone-know-how-edit-settings-apk-solved.html

https://github.com/iBotPeaches/Apktool/issues/1701

The following will provide you with a search result regarding the Settings.apk within iBotPeaches Github page (iBotPeaches is the Developer for the Apktool.jar that this software primarily uses).

https://github.com/iBotPeaches/Apktool/search?o=desc&q=settings.apk&s=updated&type=Issues

This should, hopefully, help give you a great start...

Good Luck!

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

I DO NOT provide support via PM unless asked/requested by myself. PLEASE keep it in the threads where everyone can share.
[Android Software/Hacking General [Developers Only]] chankruze:
Thank you for your response.

I have read 2 of them you provided thread, one thing i forgot to mention that i have read original documentation of apktool.jar before starting editing system app.

I found APK Easy Tool is very useful for installing framework-res.apk than apktool.jar itself,I don't know why !

I was unable to decompile Settings.apk (using tagged framework) by Command line (cause framework was not installing properly ,though it says installed successfully) but APK Easy Tool decompiled it using apktool.jar provided all the command are correct.:laugh:

OK , thank you buddies for your valuable suggestions.

Love you XDAians.:cool:
[Android Software/Hacking General [Developers Only]] Ibuprophen:
I'm happy that your happy and now... all is well in the world... LMAO!

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

I DO NOT provide support via PM unless asked/requested by myself. PLEASE keep it in the threads where everyone can share.
[Android Software/Hacking General [Developers Only]] bovirus:
[MENTION=3777895]techker[/MENTION]

Please read carefully.

Is not an error. It's a warning.

Your apk has some problems on translations.

Some strings has not set in default language.
[Android Software/Hacking General [Developers Only]] Ibuprophen:
I just noticed something odd [MENTION=4623971]evildog1[/MENTION] that I'm not sure if this can be confirmed by another member (this isn't a real show stopper for me).

I'll just state this first...

After successfully compiling of an apk, then if you then select the option to "zip align" the app, the app is placed where it should be (within the Recompiled App folder).

BUT, if you select the option to zip align (the box in the main display of the software, below the signing of the app option, under the compile category), and then select to recompile the apk and it is successful, the zip aligned apk file is placed within the decompiled directory.

That's the weird part! :)

Now... Here's another weird thing regarding the zip aligned app, using either of the above steps, neither of them will work. For some reason I will receive a Parsing error.

BUT, the other apps that weren't zip aligned works without any issues...

I'm not complaining and I don't, typically, use the zip alignment feature for apps but, I gave the feature a try and wanted to report my findings.

Thank you very much and keep up the great work!!!

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

I DO NOT provide support via PM unless asked/requested by myself. PLEASE keep it in the threads where everyone can share.
[Android Software/Hacking General [Developers Only]] Zackptg5:
Same thing for me. The reason for the parsing error is that the META-INF folder is missing in that apk
[Android Software/Hacking General [Developers Only]] Ibuprophen:
Thank you very much for your response in confirming this and with pointing out the exact reason. :)

I should have known that this Parsing error is, typically, that directory in question, reflects that error message and i didn't think to open up the apk to look but, it is missing and the big guy should take a look at this specific function the software isn't appropriately handling/functioning.

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

I DO NOT provide support via PM unless asked/requested by myself. PLEASE keep it in the threads where everyone can share.
[Android Software/Hacking General [Developers Only]] evildog1:
Nice find, I spotted the error. It will be fixed in next release

You should sign the apk after Zip alignment. Compile APK -> Zipalign -> Sign APK

If you Zip align an APK file after signing, the apk will become unsigned until you sign it again :)
[Android Software/Hacking General [Developers Only]] Ibuprophen:
Ahhh... :eek:

Please correct me if I'm wrong here...

The temporary workaround:

After compiling the apk, it doesn't matter if it was signed at all because after Zip Aligning it, the apk would need the to be Signed anyway.

CORRECTION: Before Zip Align (aka Zipalign), the app needs to be signed first, or the it won't be appropriately Aligned. So the temporary workaround would be to compile and sign the app first, Zip Align it and then Sign it again. My apologies for my temporary insanity... :)

Not all apps require it but, this is just for those who require/prefer their specific app to be Zip Aligned.

Thank you for pointing this out! :)

I should have realized this myself LOL! :D

Until your next release big guy :thumbup:

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

I DO NOT provide support via PM unless asked/requested by myself. PLEASE keep it in the threads where everyone can share.
[Android Software/Hacking General [Developers Only]] atarek:
Hello,

Zipalign has to be used as below either way it's functionality will be messed.

If using apksigner: zipalign must only be performed

before the APK file has been signed.
(zipalign after sign will lead to invalid signature).

If using jarsigner: zipalign must only be performed after the APK file has been signed.
(sign after zipalign will lead to messing align functionality).

In this tool we use signAPK.jar so just compile align then sign no need for extra sign before align if i understand correctly

Regards,

Ahmed
[Android Software/Hacking General [Developers Only]] Ibuprophen:
I just kept the signing process at default since I've, personally, never had a reason to change it.

I've got to compile and sign first before I Zip Align it but, that extra step of signing afterwards does the trick.

My new (about to be released) development installs & updates without an issue and performs extremely well too.

I can't state that all apps are handled this exact way since system apps and others are handled a bit differently and I've rarely ever ventured in those types of apps.

I guess everyone has their way of doing things with the notion of "if it works, and isn't broken, don't fix it" mindset. LOL! :)

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

I DO NOT provide support via PM unless asked/requested by myself. PLEASE keep it in the threads where everyone can share.
[Android Software/Hacking General [Developers Only]] shegeloaf:
First time. Checking this app out. It seems easy to use. Here we go.
[Android Software/Hacking General [Developers Only]] Ibuprophen:
[MENTION=4623971]evildog1[/MENTION], I just uploaded some screenshots that reflects what I receive when I attempt to clear all logs via the APK Easy Tool software.

In addition, when I select the option to open the logs directory, it opens the correct one.

I've got a hunch (though I'm not sure) that the software may not be looking at the same directories between selecting the option to clear all the logs and the one to open the log directory.

Thank you very much! :)

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

I DO NOT provide support via PM unless asked/requested by myself. PLEASE keep it in the threads where everyone can share.
[Android Software/Hacking General [Developers Only]] techker:
What does it mean when you try to compile and it just spins and never stops??i updated the apktool.jar file to the latest and still juts tries to compile without success??
[Android Software/Hacking General [Developers Only]] Ibuprophen:
I just wanted to Congratulate [MENTION=4623971]evildog1[/MENTION] for his APK Easy Tool development recently receiving Softpedia's "100% CLEAN" Award!

This means that Softpedia now Guarantees that the Apk Easy Tool is 100% Clean (which means it does not contain any form of malware, including but not limited to: spyware, viruses, trojans and backdoors).

Everyone can see it on the following Softpedia link:

http://www.softpedia.com/get/Programming/Debuggers-Decompilers-Dissasemblers/Apk-Easy-Tool.shtml

CONGRATULATIONS!!!

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

I DO NOT provide support via PM unless asked/requested by myself. PLEASE keep it in the threads where everyone can share.
[Android Software/Hacking General [Developers Only]] raphael-couto:
:good:
[Android Software/Hacking General [Developers Only]] zaroonrashid:
Hi, i am recompiling the decompiled folder .. but problem is, i start to recompile the folder after 3 hours ... it is still compiling ... what should be the problem ??
[Android Software/Hacking General [Developers Only]] fandofast:
how to change package name ?
[Android Software/Hacking General [Developers Only]] Ibuprophen:
The first thing I had noticed is that your using the Apktool v2.3.1 when the following thread post reflects the announcement from iBotPeaches regarding the release of Apktool v2.3.3.

https://xdaforums.com/showthread.php?p=76348010

Keeping the Apktool up to date can make a huge difference.

Good Luck!

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

I DO NOT provide support via PM unless asked/requested by myself. PLEASE keep it in the threads where everyone can share.
[Android Software/Hacking General [Developers Only]] Spannaa:
There's only one error and it tells you what it is! - Fix the .9.png!

It's a well known issue - Google "pip_dismiss_scrim.9.png"

[EDIT] Use the png attached on this post [/EDIT]
[Android Software/Hacking General [Developers Only]] D200P13:
can i use this to change the app version?
[Android Software/Hacking General [Developers Only]] Ibuprophen:
Yes you can! :)

Decompile...

Open the "apktool.yml" file using an editor like Notepad++.

The very bottom 2 lines reflects the Version Code and the Build. Make the version/build changes you want and save it.

Recompile the app and you should be all set.

Good Luck!

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

I DO NOT provide support via PM unless asked/requested by myself. PLEASE keep it in the threads where everyone can share.
[Android Software/Hacking General [Developers Only]] snyperstyle:
this is my error

5/12/2018 10:39:40 PM

Compiling APK file...

/c "java -Xmx1210m -jar "C:\Users\HS DESIGN\Desktop\New folder (2)\Apktool\apktool_2.3.3.jar" b -f -o "C:\Users\HS DESIGN\Desktop\New folder (2)\New folder\1.apk" "C:\Users\HS DESIGN\Desktop\New folder (2)\1" "

I: Using Apktool 2.3.3

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

I: Smaling smali_classes2 folder into classes2.dex...

I: Smaling smali_classes3 folder into classes3.dex...

I: Building resources...

[Fatal Error] :55:11: The element type "application" must be terminated by the matching end-tag "</application>".

W: C:\Users\HS DESIGN\Desktop\New folder (2)\1\AndroidManifest.xml:55: error: Error parsing XML: mismatched tag

W:

brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [C:\Users\HSDESI~1\AppData\Local\Temp\brut_util_Jar_2424380276178157505.tmp, p, --forced-package-id, 127, --min-sdk-version, 17, --target-sdk-version, 19, --version-code, 10, --version-name, 1.5.3, --no-version-vectors, -F, C:\Users\HSDESI~1\AppData\Local\Temp\APKTOOL7619064050043902453.tmp, -0, arsc, -0, arsc, -I, C:\Users\HS DESIGN\AppData\Local\apktool\framework\1.apk, -S, C:\Users\HS DESIGN\Desktop\New folder (2)\1\res, -M, C:\Users\HS DESIGN\Desktop\New folder (2)\1\AndroidManifest.xml]
[Android Software/Hacking General [Developers Only]] APP Dev:
For Mac

I need your app for mac

can u give me if u have

thank :)
[Android Software/Hacking General [Developers Only]] Ibuprophen:
I don't believe that [MENTION=4623971]evildog1[/MENTION] has released this for the Mac.

The OP does state "Windows 7 or newer" as one of the requirements for this development and I did take a quick look at his AFH files with no luck.

Maybe he can chime in and, possibly, provide more information about this that hasn't been made public yet...

Good Luck!

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

I DO NOT provide support via PM unless asked/requested by myself. PLEASE keep it in the threads where everyone can share.
[Android Software/Hacking General [Developers Only]] APP Dev:
i do apk studio in mac

i get apk studio in mac

but i dk how to put apk tool
[Android Software/Hacking General [Developers Only]] Ibuprophen:
If your referring to the Android Studio software then your best bet is to go to the following area of the forum that's specific to the Android Studio.

https://xdaforums.com/tools/android-studio

Good Luck!

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

I DO NOT provide support via PM unless asked/requested by myself. PLEASE keep it in the threads where everyone can share.
[Android Software/Hacking General [Developers Only]] m4dbra1n:
[MENTION=4623971]evildog1[/MENTION] first thanks a lot for your program, really simple and useful :)

Just one question: is it possible to have the Log Output window visible while recompiling? Can be really useful to spot the error on the fly, instead of wait a lot of time 'til the end of the process or stopping it manually to check what's giving problems.

And can you align better the 2 text boxes Compile/Decompile? Sometimes the Decompile one overlap a little the Compile one.

Thanks in advance and keep up the good work!
[Android Software/Hacking General [Developers Only]] Ibuprophen:
I've got a quick question and a supporting statement [MENTION=2265000]m4dbra1n[/MENTION]...

Quick Question: I, personally, don't see the overlap you had mentioned but, I'm not stating that you don't have this happening to you. Would you be able to provide a screenshot so [MENTION=4623971]evildog1[/MENTION] can see what your seeing?

Supporting Statement: The ability to see a "Real Time" log as the various actions are performed is a very good idea and it had popped up in my mind from time to time as well.

Maybe some type of settings open to check off for a "Popup log window" to happen when performing one or more actions are performed within the main menu (Decompile, Recompile, etc...).

This would also be helpful to determine if the process is still good/going but, is just taking time to accomplish as well being able to see if it's getting hung up somewhere and having to stop it without waiting and wondering if either is the case.

This is a very good idea [MENTION=4623971]evildog1[/MENTION]! :)

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

I DO NOT provide support via PM unless asked/requested by myself. PLEASE keep it in the threads where everyone can share.
[Android Software/Hacking General [Developers Only]] m4dbra1n:
You can see in the screenshot attached what I'm talking about: it's only a graphic thing, no problems during the use ;)

See ya!
[Android Software/Hacking General [Developers Only]] Ibuprophen:
That is an odd thing...

If you compare it to the one from my following post in this thread you'll even notice that the big black area on the top of yours has a mirror like way (where the big APK Easy Tool words are.

https://xdaforums.com/showthread.php?p=76210377

Do you have Windows 10? I use the software on my Windows 8.1 Pro.

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

I DO NOT provide support via PM unless asked/requested by myself. PLEASE keep it in the threads where everyone can share.
[Android Software/Hacking General [Developers Only]] Ibuprophen:
The following is only regarding the display issue your experiencing.

The suggestion regarding the Log (I had supported on my previous post) is still a great idea.

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

I DO NOT provide support via PM unless asked/requested by myself. PLEASE keep it in the threads where everyone can share.
[Android Software/Hacking General [Developers Only]] Ibuprophen:
~DELETED ~
[Android Software/Hacking General [Developers Only]] Ibuprophen:
I had decided to provide you, [MENTION=2265000]m4dbra1n[/MENTION], with a screenshot of the same "Main/Home Screen" of the software so you can see what I'm seeing myself.

~ WHAT I SEE ~

View attachment 4502776

~ WHAT YOU SEE ~

View attachment 4502777​

This was why I had asked if you had Windows 10 but, I'm not sure if this is a Windows 10 issue or something else.

I've got Windows 8.1 Pro MCE and just wanted to compare your system with mine to see if it's something related to the PC differences.

I hope that I had explained this okay via text... :)

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

I DO NOT provide support via PM unless asked/requested by myself. PLEASE keep it in the threads where everyone can share.
[Android Software/Hacking General [Developers Only]] evildog1:
I have not developed the tool for mac yet but you can try Wine-HQ.

I had this idea long time ago but I can't just figure it out how and I don't know if it's possible for .NET based programs. I never seen any .NET based programs that uses real time log. I might end up showing CMD dialog box if it does show real time logs.

You have set DPI to high (maybe 150%). High DPI is not optimized for WinForms but I will see if I can optimize it.
[Android Software/Hacking General [Developers Only]] m4dbra1n:
That's right, on my Xiaomi Air 13,3 I'm using DPI @ 125%

Didn't know that the cause could be that: well, at least it's not your fault :P
[Android Software/Hacking General [Developers Only]] evildog1:
Haha well I optimized the tool for high DPI :) https://imgur.com/aGbZRE2

I think there is something wrong with your Androidmanifest.xml file. You may decompile again and start over
[Android Software/Hacking General [Developers Only]] Ibuprophen:
This issue looks familiar to some of the AAPT1/AAPT2 issues that are being reported to iBotPeaches on Github. I can't state this 100% either.

[MENTION=9174415]spamsub[/MENTION], Though I don't do this often but, there's been times when I've run into this and, about 30-40% of the time, using one of the previous Apktool releases had (oddly) worked.

I just thought that I'd mention this to be helpful [MENTION=4623971]evildog1[/MENTION]... :thumbup:

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

I DO NOT provide support via PM unless asked/requested by myself. PLEASE keep it in the threads where everyone can share.
[Android Software/Hacking General [Developers Only]] m4dbra1n:
Looking for the next release then :D
[Android Software/Hacking General [Developers Only]] LilBrown123:
Hello,

First off, Thanks OP for this Amazing tool! but I'm having a little bit of an issue

I used to de-compile an APK file and edit some text in some of the smali files

And used to recompile it easily

But a couple of days ago, it started to show me an error whenever I try to re-compile "Compile Error, Open Log"

And now it just keep saying compiling, I left it like this for a whole hour and it stayed like this :confused: :

is there any fix for this?

---------- Post added at 03:17 AM ---------- Previous post was at 03:03 AM ----------

Also I just checked the log output, and this is what it shows:

Compiling APK file...

/c "java -Xmx512m -jar "C:\Users\User\Desktop\all regarding apk change\APK+Easy+Tool+v1.50+portable\Apktool\apktool_2.3.1.jar" b -f -o "C:\Users\User\Documents\APK Easy Tool\2-Recompiled APKs\Fortnite season 4.apk" "C:\Users\User\Documents\APK Easy Tool\1-Decompiled APKs\Fortnite season 4" "

I: Using Apktool 2.3.1
I: Smaling smali folder into classes.dex...
I: Building resources...
W: res\raw\3 - Kopia.mp4: Invalid file name: must contain only [a-zA-Z0-9$_.]. Ignoring...
W: res\raw\3 - Kopia.mp4: Invalid file name: must contain only [a-zA-Z0-9$_.]. Ignoring...
W: res\raw\3 - Kopia.mp4: Invalid file name: must contain only [a-zA-Z0-9$_.]. Ignoring...
W: C:\Users\User\Documents\APK Easy Tool\1-Decompiled APKs\Fortnite season 4\res\values-anydpi-v26\mipmaps.xml:3: error: Resource entry ic_launcher is already defined.
W: res\mipmap-anydpi-v26\ic_launcher.xml:0: Originally defined here.
W:
W: C:\Users\User\Documents\APK Easy Tool\1-Decompiled APKs\Fortnite season 4\res\values-anydpi-v26\mipmaps.xml:4: error: Resource entry ic_launcher_round is already defined.
W: res\mipmap-anydpi-v26\ic_launcher_round.xml:0: Originally defined here.
W:
Exception in thread "main"
------------------------------------------
[Android Software/Hacking General [Developers Only]] Bat-Maniac:
Maybe you should update apktool to latest version 2.3.3... steps are explained in Quick Help
[Android Software/Hacking General [Developers Only]] LilBrown123:
I already have the 2.3.3 version
[Android Software/Hacking General [Developers Only]] Ibuprophen:
You may have the current version of Apktool but, the following portion of the Code you had provided states...

I: Using Apktool 2.3.1

... you probably didn't select the newest one from the Apktool drop down list within the options area of the APK Easy Tool software.

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

I DO NOT provide support via PM unless asked/requested by myself. PLEASE keep it in the threads where everyone can share.