[ERROR] Signing Failed / could not execute zipalign - Run with '--debug' parameter
python3 androRAT.py --build -i 0.0.0.0 -p 8080 -o hehe.apk [INFO] Generating APK [INFO] Building APK | [SUCCESS] Successfully apk built in /data/data/com.termux/files/home/AndroRAT/hehe.apk [INFO] Signing the apk [INFO] Signing Apk | could not execute zipalign Run with '--debug' parameter to get additional information.
[ERROR] Signing Failed
I used android 11
I have the same issue !
python3 androRAT.py --build -i 0.0.0.0 -p 8080 -o hehe.apk [INFO] Generating APK [INFO] Building APK | [SUCCESS] Successfully apk built in /data/data/com.termux/files/home/AndroRAT/hehe.apk [INFO] Signing the apk [INFO] Signing Apk | could not execute zipalign Run with '--debug' parameter to get additional information.
[ERROR] Signing Failed
I used android 11 did you find any solution?
Exact problem here anyone figure it out?
Solution
Windows: Download build tools 30, unzip and add the directory to your environment path. Then run the AndroRAT.
Linux: Just normal apt-get install zipalign should work.
Termux: Run pkg install aapt.
Hope this should help :)
All good but I don't know how to download.The created application
Tried all the fixes to zipalign but none work....can anyone create for me the app using this ip 192.168.0.103 [email protected] (feedback)
Solution
Windows: Download build tools 30, unzip and add the directory to your environment path. Then run the AndroRAT.
Linux: Just normal
apt-get install zipalignshould work.Termux: Run
pkg install aapt.Hope this should help :)
thanks, karma it's fixed...
Solution
Windows: Download build tools 30, unzip and add the directory to your environment path. Then run the AndroRAT.
Linux: Just normal
apt-get install zipalignshould work.Termux: Run
pkg install aapt.Hope this should help :)
for kali linux, i tried apt-get as mentioned and it didnt work. try instead using sudo apt install zipalign and it should work just fine.
Zipalign is already installed Have you found any solution to this error
problem soll 🙏☺️Use apk Name is only evil.apk
python3 androRAT.py --build -i 0.0.0.0 -p 8080 -o hehe.apk [INFO] જનરેટ કરી રહ્યું છે APK [INFO] બિલ્ડીંગ APK | [સફળતા] /data/data/com.termux/files/home/AndroRAT/hehe.apk માં apk સફળતાપૂર્વક બિલ્ટ [INFO] apk પર સહી કરવી [INFO] Apk પર સહી કરવી | વધારાની માહિતી મેળવવા માટે '--debug' પરિમાણ સાથે zipalign Run એક્ઝિક્યુટ કરી શક્યું નથી .
[ERROR] સહી કરવાનું નિષ્ફળ થયું
મેં એન્ડ્રોઇડ 11 નો ઉપયોગ કર્યો
Olny neme is evil.apk not adhar name use 🙏😊
dawonlod MT manager and sing apk It's a soll 😊
I did the linux fix but it didn't work for me
sudo apt-get install zipalign
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
libavfilter8 libavformat59 libplacebo208 libpostproc56 libpython2-stdlib libpython2.7-minimal libpython2.7-stdlib libspatialite7 libsuperlu5 libswscale6 libwebsockets17 python2-minimal python2.7-minimal python3-py
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
android-libbacktrace android-libbase android-libcutils android-liblog android-libutils android-libziparchive libzopfli1
The following NEW packages will be installed:
android-libbacktrace android-libbase android-libcutils android-liblog android-libutils android-libziparchive libzopfli1 zipalign
0 upgraded, 8 newly installed, 0 to remove and 73 not upgraded.
Need to get 589 kB of archives.
After this operation, 2,046 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://ftp.belnet.be/pub/kali/kali kali-rolling/main arm64 android-liblog arm64 1:33.0.3-2 [36.5 kB]
Get:2 http://ftp.belnet.be/pub/kali/kali kali-rolling/main arm64 android-libbase arm64 1:33.0.3-2 [89.2 kB]
Get:3 http://ftp.belnet.be/pub/kali/kali kali-rolling/main arm64 android-libbacktrace arm64 1:33.0.3-2 [208 kB]
Get:4 http://ftp.belnet.be/pub/kali/kali kali-rolling/main arm64 android-libcutils arm64 1:33.0.3-2 [37.3 kB]
Get:5 http://ftp.belnet.be/pub/kali/kali kali-rolling/main arm64 android-libutils arm64 1:33.0.3-2 [53.7 kB]
Get:6 http://ftp.belnet.be/pub/kali/kali kali-rolling/main arm64 android-libziparchive arm64 1:33.0.3-2 [44.8 kB]
Get:7 http://ftp.belnet.be/pub/kali/kali kali-rolling/main arm64 libzopfli1 arm64 1.0.3-1 [91.2 kB]
Get:8 http://http.kali.org/kali kali-rolling/main arm64 zipalign arm64 1:10.0.0+r36-1 [27.9 kB]
Fetched 589 kB in 1s (466 kB/s)
Selecting previously unselected package android-liblog:arm64.
(Reading database ... 459236 files and directories currently installed.)
Preparing to unpack .../0-android-liblog_1%3a33.0.3-2_arm64.deb ...
Unpacking android-liblog:arm64 (1:33.0.3-2) ...
Selecting previously unselected package android-libbase:arm64.
Preparing to unpack .../1-android-libbase_1%3a33.0.3-2_arm64.deb ...
Unpacking android-libbase:arm64 (1:33.0.3-2) ...
Selecting previously unselected package android-libbacktrace:arm64.
Preparing to unpack .../2-android-libbacktrace_1%3a33.0.3-2_arm64.deb ...
Unpacking android-libbacktrace:arm64 (1:33.0.3-2) ...
Selecting previously unselected package android-libcutils:arm64.
Preparing to unpack .../3-android-libcutils_1%3a33.0.3-2_arm64.deb ...
Unpacking android-libcutils:arm64 (1:33.0.3-2) ...
Selecting previously unselected package android-libutils:arm64.
Preparing to unpack .../4-android-libutils_1%3a33.0.3-2_arm64.deb ...
Unpacking android-libutils:arm64 (1:33.0.3-2) ...
Selecting previously unselected package android-libziparchive:arm64.
Preparing to unpack .../5-android-libziparchive_1%3a33.0.3-2_arm64.deb ...
Unpacking android-libziparchive:arm64 (1:33.0.3-2) ...
Selecting previously unselected package libzopfli1.
Preparing to unpack .../6-libzopfli1_1.0.3-1_arm64.deb ...
Unpacking libzopfli1 (1.0.3-1) ...
Selecting previously unselected package zipalign.
Preparing to unpack .../7-zipalign_1%3a10.0.0+r36-1_arm64.deb ...
Unpacking zipalign (1:10.0.0+r36-1) ...
Setting up android-liblog:arm64 (1:33.0.3-2) ...
Setting up libzopfli1 (1.0.3-1) ...
Setting up android-libbase:arm64 (1:33.0.3-2) ...
Setting up android-libziparchive:arm64 (1:33.0.3-2) ...
Setting up android-libcutils:arm64 (1:33.0.3-2) ...
Setting up android-libbacktrace:arm64 (1:33.0.3-2) ...
Setting up android-libutils:arm64 (1:33.0.3-2) ...
Setting up zipalign (1:10.0.0+r36-1) ...
Processing triggers for libc-bin (2.37-6) ...
Processing triggers for man-db (2.11.2-3) ...
Processing triggers for kali-menu (2023.4.2) ...
Scanning processes...
Scanning linux images...
Running kernel seems to be up-to-date.
No services need to be restarted.
No containers need to be restarted.
No user sessions are running outdated binaries.
No VM guests are running outdated hypervisor (qemu) binaries on this host.
┌──(joepvandessel㉿kali)-[~/AndroRAT] └─$ python3 androRAT.py --build -i 192.168.64.4 -p 4444 -o joep.apk [INFO] Generating APK [INFO] Building APK | [SUCCESS] Successfully apk built in /home/joepvandessel/AndroRAT/joep.apk [INFO] Signing the apk [INFO] Signing Apk | Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true could not execute zipalign Run with '--debug' parameter to get additional information.
[ERROR] Signing Failed
can anyone help me
how do you move the apk to local after it's been built
Just install aapt
how do you move the apk to local after it's been built
Did you get that ?
sudo apt remove zipalign
then try again it will works
could not execute zipalign
I GOT THE SAME PROBLEM
THE SOLUTION IS
YOU COULD REMOVE THE zipalign USING THE FOLLOWING CODE
IN KALI LUNIX :
sudo apt remove zipalign
AFTER I WILL PASTE THE CODE
I GOT SUCESS
IF ANYBODY GOT THIS SAME ERROR YOU WILL CONTACT ME
how do you move the apk to local after it's been built
If you want to move the apk to an other place in your linux system, you can just type the following: "sudo mv /mounting-point /where you want it to be
This issue is stale because it has been open for 30 days with no activity.
我的apk 签名成功了 但是在安卓上安装失败,不知道是为什么
I got same problem but none of the solutions above worked. It still says this. Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true could not execute zipalign Run with '--debug' parameter to get additional information.
did you get a solution? i have the same issue as you im on kali
I got same problem but none of the solutions above worked. It still says this. Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true could not execute zipalign Run with '--debug' parameter to get additional information.
Launch another instance of terminal and use sudo apt-get remove zipalign then try again.
It worked for me.
still not solved anyone please help already tried https://github.com/karma9874/AndroRAT/issues/186#issuecomment-1153133754
could not execute zipalign
I GOT THE SAME PROBLEM
THE SOLUTION IS
YOU COULD REMOVE THE zipalign USING THE FOLLOWING CODE
IN KALI LUNIX :
sudo apt remove zipalignAFTER I WILL PASTE THE CODE
I GOT SUCESS
IF ANYBODY GOT THIS SAME ERROR YOU WILL CONTACT ME
This solved the problem i was facing ,try this guys . it might work for you as well.
I have tried this, it doesn't work It still shows:
Picked up _JAVA_OPTIONS: Dawt.useSystemAAFontSettings=on -Dswing.aatext=true could not execute zipalign Run with '--debug' parameter to get additional information.
[ERROR] Signing Failed
I am using Kali on my Mac Book Pro and ran this and got the same error message that everyone else was getting and then I removed zipalign, reinstalled it, update -y'd that batch and rebooted and then it was fine. Signed success.