yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] evildog1:
No I don't even know how to compile it. Best way is to use apktool for now

First of all, need more important details

Your logs (Decompiling, compiling and signing)

What app are you working with it? (Send private message or email me if you don't want to say here)

If you open APK using WInrar or 7-zip, are META-INF folder there containing "APKEASYT" files?

Curious why APK won't install on all phones... :confused:

Since you are new to XDA, please read whole OP thread including FAQ. I still improving FAQ when it's needed
[Android Software/Hacking General [Developers Only]] evildog1:
Wow you are better finding this kind of stuff :D
[Android Software/Hacking General [Developers Only]] Cerberus007:
[MENTION=4623971]evildog1[/MENTION]

Good at researching and reverse engineering. ;) Now if users can understand the info that is another question. lol
[Android Software/Hacking General [Developers Only]] Cerberus007:
[MENTION=4623971]evildog1[/MENTION]

I see you include the original aapt.exe from android studio I take it for compiling and not using apktool internal aapt. Can we also add aapt2.exe to directory and use it for compiling instead of the internal apktool one? Do you have code to look for aapt2.exe in same directory? Was curious.
[Android Software/Hacking General [Developers Only]] evildog1:
aapt.exe was mainly for grabbing apk infomation, nothing else. I'm not sure how you can use it for compiling or use aapt externally tbh (If I understood right).

Any sources about it?
[Android Software/Hacking General [Developers Only]] Cerberus007:
[MENTION=4623971]evildog1[/MENTION]

Apktool uses internal modified aapt and aapt2. Sometimes to rebuild depending on the sdk used aapt or aapt2 would need matching versions of aapt and aapt2. Apktool can use external aapt or aapt2 if using the --aapt option.

https://ibotpeaches.github.io/Apktool/documentation/

Hope you understand what I was trying to say. This would be a feature request.
[Android Software/Hacking General [Developers Only]] evildog1:
Oh thanks

--aapt option is easy to add as a feature :)
[Android Software/Hacking General [Developers Only]] geechild:
:good:
[Android Software/Hacking General [Developers Only]] Cerberus007:
Found a cosmetic bug...doesn't display apktool version (2.4.1 but 2.3.4 shows when selected) in upper right corner within your apk easy tool banner. Seem's if both are present inside apktool folder then it shows 2.3.4 but runs 2.4.1 when decompiling/compiling. Sometimes shows nothing. Strange behavior. If only 2.4.1 then shows correctly all the time.

[IMG="beta1"]https://i.postimg.cc/3NJ4Qtb6/Untitled.png[/IMG]
[Android Software/Hacking General [Developers Only]] Hen Ry:
View attachment 4904679 :good:

View attachment 4904683 v1.57 beta-1
[Android Software/Hacking General [Developers Only]] papas-1:
cannot read app icon

www70.zippyshare.com/i/vPVlwL24/4018/2019-12-22_100521.png
[Android Software/Hacking General [Developers Only]] evildog1:
Thanks for report :)

Thanks for german translation :)

That's the default app icon that came from apk file

Also don't use zippyshare because it's blocked in Europe and some non-EU countries. I had to use asian VPN to access it
[Android Software/Hacking General [Developers Only]] evildog1:
I'm not much active due to holiday so updates are coming next year :)
[Android Software/Hacking General [Developers Only]] Cerberus007:
Enjoy the holidays. :)
[Android Software/Hacking General [Developers Only]] Cerberus007:
Updated dev build of apktool…

https://www.mirrored.to/files/FHOVD3VF/apktool-2.4.2-0143dc.jar_links
[Android Software/Hacking General [Developers Only]] Hen Ry:
View attachment 4913761 v1.57 beta-1 Fix
[Android Software/Hacking General [Developers Only]] Cerberus007:
Happy New Years. If out on the roads please do not drink and drive. Have fun but be safe.
[Android Software/Hacking General [Developers Only]] abdoosman:
Problem install & decompile framework
[Android Software/Hacking General [Developers Only]] Cerberus007:
That's a apktool issue. Please report it to the developer of that tool...

https://github.com/iBotPeaches/Apktool/issues
[Android Software/Hacking General [Developers Only]] g9m:
Hello.

I want do a downgrade of an app (LINE)

I have the old .apk but I can't install normally, so i was wondering if with this app I could just modify the information about the app version.

In this way I can put a recent number and the phone will believe I'm upgrading the app and let me downgrade it.

Is it possible with this app?

Thnak you
[Android Software/Hacking General [Developers Only]] Cerberus007:
Edit the last line in the apktool.yml in decompiled directory. You could also change internal name within the apktool.yml (advantage to this is if you have more then one modified version you can install both for testing). ;)
[Android Software/Hacking General [Developers Only]] Cerberus007:
apktool issue

Please report any apktool issues to the dev of that individual tool...

https://github.com/iBotPeaches/Apktool/issues
[Android Software/Hacking General [Developers Only]] enettrek:
W: ERROR: input directory '503' does not exist

Getting "W: ERROR: input directory '503' does not exist" errors when compiling

I: Using Apktool 2.4.1

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

I: Building resources...

W: ERROR: input directory '503' does not exist

brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [C:\Users\userprofile\AppData\Local\Temp\brut_util_Jar_725523864420400177.tmp, p, --forced-package-id, 127, --min-sdk-version, 21, --target-sdk-version, 28, --rename-manifest-package, , --version-code, 503, --version-name, 3.2.2, --no-version-vectors, -F, C:\Users\userprofile\AppData\Local\Temp\APKTOOL5270932840407416659.tmp
[Android Software/Hacking General [Developers Only]] Cerberus007:
Actually, you more then likely had decompiling errors also that you did not share. After finding the app you were trying to decompile and noticing log file entries this looks like AndResGuard protection of resource files. You can decompile/compile without resources and that works.
[Android Software/Hacking General [Developers Only]] evildog1:
I'm still busy and mostly out of my computer so this project is on hold

I will just let you know, windows 7 support will end on january 14, 2020 but I will continue to support Win7 and have no plans to end the support

When using Win7, please secure your PC as much as possible and avoid suspecious softwares and websites. And disable UPnP on your router as well :)
[Android Software/Hacking General [Developers Only]] Atmans:
[MENTION=4623971]evildog1[/MENTION]

thanks work like charm,

today I downloaded again Apk Easy Tool, it showed me some errors, but the solution turned out to be very easy, now I am able to compile applications that always showed an error

solution for me, maybe it will also be useful to you?

https://github.com/iBotPeaches/Apktool/issues/1880#issuecomment-422867023
[Android Software/Hacking General [Developers Only]] g9m:
Thanks for the help.

I found it easily, but i can'r recompile the .apk again!

This happens only with LINE. I tried other .apk and all works well.

What's the problem?

Thank you
[Android Software/Hacking General [Developers Only]] MarcAnt01:
Graphic bug

[MENTION=4623971]evildog1[/MENTION] first of all, thanks for adding dpi awarness in the file picker as I asked some time before, anyway (dunno if new version or new PC) now the main page looks like that in a 3000x2000 screenView attachment 4952749
[Android Software/Hacking General [Developers Only]] evildog1:
I will take a look

Thanks for report, that must be 150% dpi right?

I think i need to do manual optimization but I'm afraid I can't fix this

And i don't have monitor with higher res to test, I just have a 1080p gaming monitor without requiring high dpi :D
[Android Software/Hacking General [Developers Only]] MarcAnt01:
Nope, it's 250% scaling.
[Android Software/Hacking General [Developers Only]] evildog1:
Wow that's the highest scaling i ever heard.

I'll see what i can do with it
[Android Software/Hacking General [Developers Only]] faruqx:
Hi friends. I compile and sign the apk, the apk works everything, but the google maps api in the application does not work.
[Android Software/Hacking General [Developers Only]] faruqx:
Ok, I solved.
[Android Software/Hacking General [Developers Only]] kyu001:
hello guys,

I still have a bug on this program

someone can help me? I can't compile

he marks me

decompile first when I already did
[Android Software/Hacking General [Developers Only]] emad-tvk:
hi everyone

I have a problem, I can decompile an apk, but recompiling face to error. I use apk studio and apk easy tool, both can decompile the apk but it can't be recompiled even without any changes.

here is the log

I used different apktool version but error remain. some one help please
[Android Software/Hacking General [Developers Only]] Cerberus007:
This is just a third party tool which uses apktool. Please contact the dev of apktool via GitHub and let the dev know the issue. I would recommend you include log files to help with troubleshooting to the dev of the apktool.

https://github.com/iBotPeaches/Apktool/issues
[Android Software/Hacking General [Developers Only]] Hamidreza2010:
[MENTION=4623971]evildog1[/MENTION]

Hi bro

I checked "sign apk after compile" in setting but your tool didnt it and i should sign apk after compile manually

this problem just when happened when i use recompile/decompile via right click contex menu

i used last beta version

how can be fixed?

thanks
[Android Software/Hacking General [Developers Only]] jony797:
**** apktool decompiles but doesn't compile apk any apk play store decompiles apk systemUI framework settings a waste of time

---------- Post added at 07:15 AM ---------- Previous post was at 07:00 AM ----------

apk tool was never useful for there are for android 2.1 apk because android 9 and Q does not compile SystemUI framework settings does not decompile or compile anything any apk from play store works better than this crap of apk tools

---------- Post added at 07:18 AM ---------- Previous post was at 07:15 AM ----------

apk tool was never useful for there are for android 2.1 apk because android 9 and Q does not compile SystemUI framework settings does not decompile or compile anything any apk from play store works better than this crap of apk tools
[Android Software/Hacking General [Developers Only]] Cerberus007:
wow such language wont get you any help for sure. With that being said, I will practice what I just preached and not help you. Good day.
[Android Software/Hacking General [Developers Only]] pilloman3:
Hello, good morning.

I'm trying to modify the FOX APP application. (The new Disney version). Decompile without any problem, and compile without problems (the configuration I use is: Use aapt2, without framework installed as well as with the framework installed). It generates the signed application for me, but at the moment of installing it in my device, it simply does not install it, it marks installation error.

What could it be?

Thank you very much. :good:
[Android Software/Hacking General [Developers Only]] Hamidreza2010:
anybody dont know?
[Android Software/Hacking General [Developers Only]] And91:
Apk decompile folder is empty

Hi, I'm trying to decompile my own app built with Unity for educational purpose. It seems that the decompile action gone well, but when I open the destination folder, this is empty. Can someone help me to find out why?
[Android Software/Hacking General [Developers Only]] nils 6l:
I think I have some issues with framework.

Decompiling works fine, but I get an error while trying to compile again.

Compile failes. Please read the log

brut.androlib.AndroiliExceprion: brut.common.BrutException:

could not exec (exit code = 1)

I have .NET Framwork 4.8 installed.

I've changed the Apktool version to 2.4.0 and back to 2.3.4 without succes.

When I tried to clear the framework chache from the framework tab I get the exact same error.

Any suggestions?
[Android Software/Hacking General [Developers Only]] nils 6l:
OK, just an update from my post above.

I created the directory "C:\Users\Nils\AppData\Local\apktool\framework" myself.

After I had done that, now there is an file created when decompiling the APK file named: "1.apk", and stored in the above directory.

Strange though that somehow the Easy APK Tool couldnt create a system folden (even when running is in administrator mode with virus protection turned off)

But I'm still not able to Compile again.

I get the same error but the log shows different information as I have no problems with finding the framework folder anymore.

I know still get exception code = 1 with this log:

I think it has something to do with the version name and value being empty or unspecified.

I tried to decompile and compie without any changes, but it gives the exact same error and log file.
[Android Software/Hacking General [Developers Only]] nils 6l:
Okay, I think I know what the problem is regarding my previous post (2 posts up).

It stuck at the "version name".

I tried a new version of the same (Chinese) app.

The version name is: 单片机之家-2020-03-08

So now I got the almost the same error, but instead of "version name ???" I know see "version name ???-2020-02-08.

So obviously it can't handle the Chinese signs.

Is there a possibility to change the version name in the decompiled app?

If so, where can I find it?
[Android Software/Hacking General [Developers Only]] NeonWolf Gaming:
I have this exact same problem with both the portable and the installation version of this tool. I'm hoping to find an answer as to how to fix it soon.
[Android Software/Hacking General [Developers Only]] Gold_Danny04:
Decompiling works great, but to recompile is an issue.
[Android Software/Hacking General [Developers Only]] evildog1:
It is not supported yet. I will fix it

Did you uninstall the previous version first?

And does it also happen on other devices or emulators?

This is normal. The only way to fix is to change the locale to chinese on your system settings.

What is your path set to? Did you tried to set the path again?

Use FolderChangesView and record to see where it is stored at

https://www.nirsoft.net/utils/folder_changes_view.html
[Android Software/Hacking General [Developers Only]] Hamidreza2010:
Thanks a lot

Wait for that:good:
[Android Software/Hacking General [Developers Only]] avmon:
When i try to decompile, I get nothing in "Decompiled APKs" output folder. I think the problem is related to the fact that my Windows username (Ramón) has an accent mark.

I have seen that a new Windows user folder is created (C:\Users\Ram¾n) containing the path \AppData\Local\Temp\AET\ and inside it are the folders with the names of the APKs that I tried to decompile.

Maybe the problem is that those folders are being created in the wrong place but the log does not indicate any errors and it appears that the decompilation was successful.

I had a similar problem with APK Studio since it gave me an error due to my username. I don't know if this will be difficult to solve.
[Android Software/Hacking General [Developers Only]] ilie25:
Hy.I want to modify in XML, because the application does not work in split screen but after modifying and I want to compile it gives me an error. I am attaching the log file with the error and the application I want to modify so that it works in a split screen in the hope that someone can help me. It is a taxi application that I want to use in a split screen with another application on my Samsung T715 tablet.Thanks.
[Android Software/Hacking General [Developers Only]] papas-1:
Why don't you close this project and this page

Since there is no progress and no support
[Android Software/Hacking General [Developers Only]] TotallyAnxious:
Why don't you close your account? You only have 2 posts. And at least 50% of them are useless.
[Android Software/Hacking General [Developers Only]] evildog1:
Sounds like an error to either apktool.jar or CMD because it is normal it does not support accent marks and asian characters like chinese, unless you set to correct region in system settings i guess?

I can try to recreate the problem

Sorry for not being active here, I try to come back to this project
[Android Software/Hacking General [Developers Only]] evildog1:
I see the warning

W: invalid resource directory name: C:\Users\ilie2\OneDrive\Desktop\Folder nou\GoCab RoDriver-eu.gocab.driver-210010407-v1.4.7\res navigation

I'm not sure if it can be ignored. Check the res folder?

This error is sometime hard to understand why

brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1):

Have you tried clearing framework under framework tab?

Can you try with latest apktool.jar 2.4.1 and maybe try use the command line directly?

https://ibotpeaches.github.io/Apktool/
[Android Software/Hacking General [Developers Only]] Ubudragon:
Can't do anything with this app

Log says - Decompiling APK file...

/c "java -Xmx1024m -jar "C:\Program Files\APK Easy Tool\Apktool\apktool_2.3.4.jar" d -f -o "C:\Users\User\Desktop\apk\1-Decompiled APKs\OCTO Mobile" "C:\Users\User\Desktop\apk\OCTO Mobile.apk""

there is a message - decompile succesfull, but nothing inside dir (

Win7 x64, last java SDK installed
[Android Software/Hacking General [Developers Only]] evildog1:
Nothing in this folder? C:\Users\User\Desktop\apk\1-Decompiled APKs\OCTO Mobile

Can you use FolderChangesView and record to see where it is stored at?

https://www.nirsoft.net/utils/folder_changes_view.html

After months of no time and project being hold due to pandemic, it's now time to work with this

Stay tuned!
[Android Software/Hacking General [Developers Only]] Ubudragon:
SOLVED

I moved all folders to disk's root (D:\APK\)

and all works just fine

guess problem was in my long path to initial folders using white spaces as well

Thanks for the App, bro!
[Android Software/Hacking General [Developers Only]] narutam:
Hi I am getting this error when trying to launch apkeasytool v 1.56 ,I installed netframwork 4.6.2 and java 14.0.1 anyone can help on this please
[Android Software/Hacking General [Developers Only]] evildog1:
Good to hear to solved it but would be nice to report me where the path are located, because i was unable to reproduce the problem

aapt.exe is failing to run.

Can you try updating your Windows or installing Microsoft Visual C++ Redistributable? i'm not sure which version is required but this could help

https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads
[Android Software/Hacking General [Developers Only]] Ubudragon:
neither me =)

now everything works even in previuos location (C:\Users\User 1\Desktop\apk)
[Android Software/Hacking General [Developers Only]] avmon:
I have tried using apktool.jar manually using Windows CMD and in this case the decoding works correctly.

This is the output from the command line:

D:\apktool>java.exe -Xmx1024m -jar "d:\apktool\apktool.jar" d "d:\apktool\App.apk"
I: Using Apktool 2.3.4 on App.apk
I: Loading resource table...
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\Ram¾n\AppData\Local\apktool\framework\1.apk
I: Regular manifest package...
I: Decoding file-resources...
W: Cant find 9patch chunk in file: "drawable-hdpi-v4/tab_selected.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi-v4/tab_unselected.9.png". Renaming it to *.png.
I: Decoding values */* XMLs...
I: Baksmaling classes.dex...
I: Copying assets and libs...
I: Copying unknown files...
I: Copying original files...

It shows my user folder (Ramón) replaced with wrong character (C:\Users\Ram¾n\) but in this case apktool load the resource file from the correct folder.

The problem doesn't seem related to CDM or apktool.
[Android Software/Hacking General [Developers Only]] evildog1:
Yeah, I also tested it, works fine too. It just output that doesn't encode correctly

My CMD can understand accent letters fine since my locale is Europe

I spent a lot of time to figure it out why, it seems English US was the default which wouldn't support these letters. I programmed to auto set encoding based on the system and it works now finally :D

I also added option to manually set the code page so anyone can use any other foreign characters but apktool may not support some.

See more info about Code Page: https://docs.microsoft.com/en-us/windows/win32/intl/code-page-identifiers
[Android Software/Hacking General [Developers Only]] evildog1:
Sorry for late release. Finally i can finish the project and release after been struggling with my life :)

APK Easy Tool v1.57 (2020-06-12)

===[ Notes ]===

Executeable is no longer signed due to an error.

Some DLLs are merged into an executeable file

Your security software may detect APK Easy Tool as an unwanted or malcious software. Please ask your vendor to check APK Easy Tool again

If you use portable version, please EXTRACT ALL FILES AND FOLDERS, not just only .exe file

===[ New features ]===

- Added option to set code page to be able to use any foreign characters in the file path. By default, it is set based on your system language configuration. See this page for more infomation https://docs.microsoft.com/en-us/windows/win32/intl/code-page-identifiers

- New icons with high DPI support

- Addded more XML languages

===[ Enhancements ]===

- Dropped x64 only executeable because it is now target as AnyCPU, means that the executeable will run natively on the CPU it is currently running on. Meaning, it will run as 64-bit on a 64-bit machine and 32-bit on a 32-bit machine.

- Updated Apktool to apktool 2.4.1

- UI improvements for high DPI 125%, 150%, and 250% (untested)

- UI improvements for multi languages

- Expanded log window separated in order to support high DPI screens

- Some improvements

- Updated to aapt2 (getting APK infomation) to eliminate encoding problem

===[ Removed features ]===

- Removed Enable log output checkbox. Logs are very important because there are many common apk errors so it makes no sense to disable it

===[ Fixed issues ]===

- Fixing some language related issues

- Doesn't sign after compile when using context menu
[Android Software/Hacking General [Developers Only]] evildog1:
APK Easy Tool v1.57-1 Installer Fix

- Disabled DLL registering (damn installer)

- Added languages

Sorry for the inconvenience
[Android Software/Hacking General [Developers Only]] cge_95:
Hi [MENTION=4623971]evildog1[/MENTION]

Thanks for the new release V1.57

For your info, building apk still fails if they're special chars in the path (Code page is set to 850)

Regards

Christophe
[Android Software/Hacking General [Developers Only]] evildog1:
Working fine for me

Squares characters is just apktool that fails to encode in output

The error you showed me sounds like resource error and directory error. Can you try switch CMD mode to Batch under Options to see if it works? or use apktool.jar with CMD to test?

Tried to clear the framework?

Translate that france sentence shown in the log for me

Send me your APK file(s) if you don't mind :)
[Android Software/Hacking General [Developers Only]] NougaAb:
Help plz

HELLO EVERYONE

PLZ HoW CAN I FIX THIS ERROR PROB

[IMG="apk easy tool prob"]https://5zznly.com/d/7zD1I_prob.png[/IMG]
[Android Software/Hacking General [Developers Only]] evildog1:
Hey, check the logs and read what it says and show me your full log

Mostly the issues are apktool.jar related. Read the FAQ, your answers might be there. Search the issue on https://github.com/iBotPeaches/Apktool/issues and/or baksmali/smali related here: https://github.com/JesusFreke/smali/issues for more infomation. Do remove "is:issue is : open" to search better. Keep in mind that there's a big difference between identifying issues related specifically to the "APK Easy Tool Software (by evildog1)" and the "Apktool Java Utility (by iBotPeaches). Detailed infomation by Ibuprophen https://xdaforums.com/showpost.php?p=79520098&postcount=491
[Android Software/Hacking General [Developers Only]] NougaAb:
hi sir

i did what i found there but its not working .

this is my full log .

thank u sir[IMG="log prob"]https://5zznly.com/d/LokGT_pic2.png[/IMG]