iBotPeaches / Apktool

A tool for reverse engineering Android apk files
https://apktool.org/
Apache License 2.0
19.79k stars 3.56k forks source link

Solved the problem in linux based system. I've edited jar. #2949

Closed John-Irungu closed 1 year ago

John-Irungu commented 1 year ago
    Solved the problem in linux based system. I've edited jar.

ignore unnecessary line as its added by to to view commands of processbuilder. image

Originally posted by @nikzdevz in https://github.com/iBotPeaches/Apktool/issues/1969#issuecomment-1200244673

Please tell me how you edited your jar file

iBotPeaches commented 1 year ago

I don't see a problem or solution.

John-Irungu commented 1 year ago

I want to know how to solve the problem for building using apktool it results in an error even after considering the answers posted it still doesn't work

On Tue, Nov 22, 2022, 2:01 PM Connor Tumbleson @.***> wrote:

Closed #2949 https://github.com/iBotPeaches/Apktool/issues/2949 as not planned.

— Reply to this email directly, view it on GitHub https://github.com/iBotPeaches/Apktool/issues/2949#event-7866671249, or unsubscribe https://github.com/notifications/unsubscribe-auth/A3CI65MQZY4BVQFYUN5QWK3WJSR2NANCNFSM6AAAAAASHVF56M . You are receiving this because you authored the thread.Message ID: @.***>

Rawanrao29 commented 1 year ago

Where is the solution?

Rawanrao29 commented 1 year ago

I: Building resources... W: aapt: brut.common.BrutException: brut.common.BrutException: Could not extract resource: /prebuilt/linux/aapt_64 (defaulting to $PATH binary) W: /home/blackhat/Vaim-RamSom/vaimpier/res/values/strings.xml:5: error: Apostrophe not preceded by \ (in You're being hacked!) W: brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [aapt, p, --min-sdk-version, 8, --target-sdk-version, 21, --version-code, 1, --version-name, 1.0, --no-version-vectors, -F, /tmp/APKTOOL3649120788464392945.tmp, -0, png, -0, arsc, -I, /root/.local/share/apktool/framework/1.apk, -S, /home/blackhat/Vaim-RamSom/vaimpier/res, -M, /home/blackhat/Vaim-RamSom/vaimpier/AndroidManifest.xml] [!] Failed to signed APK's

Got this error

iBotPeaches commented 1 year ago

@Rawanrao29 - This issue looks unrelated. As the error suggests I would fix the apostrophe