Welcome to World of IPTV

Join us now to get access to all our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, and so, so much more. It's also quick and totally free, so what are you waiting for?

Forum Rules

Our Rules: Read to avoid getting banned!

Advertising

Introduce Yourself to the World with Us!

Resource Database

Find the newest resources around IPTV!

Account upgrade

Upgrade your account to unlock more benefits!

Question Please HELP! - Compile apk

xpress

Extended Member
Ext. Member
Joined
Jan 16, 2020
Messages
94
Reaction score
594
Points
94
Age
33
Location
London
Hi, how can I recompile apk file?
I have problem when compile apk error message is: brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1):

how can I fix it?
 
Hi, how can I recompile apk file?
I have problem when compile apk error message is: brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1):

how can I fix it?
  1. Download latest apktool version.
  2. Download the batch file and aapt.exe.
  3. Create a folder anywhere in the PC and put all the apktool.jar, aapt.exe and the batch script in that folder.
  4. Open command prompt.
  5. Navigate to the folder where you placed apktool.jar, batch script and the aapt.exe.
  6. Now, you need to install the file using the " IF " command.
  7. Type the following command.
    apktool if name-of-the-app.apk
  8. For decompiling use the command "d". The "d" stands for decompile.
    apktool d name-of-the-app.apk
  9. After the app is correctly decompiled, a new folder will be created in the same folder where you placed your app. This contains all the xml's and smali files which can be edited for different mode's.
  10. To recompile the app use the following command " B ". The "b" simply means recompile.
    apktool b name-of-the-app-folder
  11. The final modded app will be in the "dist" folder located inside the original app folder created by apktool.
Signing the apk

  1. open a new command prompt and change into the sign-apk directory using cmd
  2. move the modified-unsigned apk into this folder
  3. then type the following command -
    java -jar signapk.jar certificate.pem key.pk8 path-of-the-folder-contaning-the-apk.apk path-of-the-new-signed-apk.apk
  4. Once compiled, the signed apk will be found in the same folder.
 
shape1
shape2
shape3
shape4
shape5
shape6
Back
Top