[General Questions and Answers] jibinpmathew:
Hello all,

I am new to Android world and in reverse engg. More over I am not sure this is the correct room for asking this question.

I disassembled an apk file using EasyApkDisassembler and modified it. But when i Assemble it again I get a heap of errors as follow

<<<<<<<<ERROR>>>>>>

(0) Apktool Dissasembly

(1) Apktool Assembly AND Sign it

(2) DISASSEMBLY a classes.dex with smali

(3) ASSEMBLY a classes.dex with baksmali

(4) Sign an APK

(5) Convert an Xml Binairy to Xml

(6) Launch CMD

(7) Launch Notepad++

(8) About

(9) EXIT

Please enter the number of your choice: 1

Enter the name of the folder to assembly (ex: dis_Name.apk) : dis_g.apk

FICHIER

I: Checking whether sources has changed...

I: Checking whether resources has changed...

I: Building resources...

(skipping (null) file 'G:\APK_HACK\EasyApkDisassembler.V1.3.2\dis_g.apk\res\

drawable-hdpi\_r2_c2.9.png')

(skipping (null) file 'G:\APK_HACK\EasyApkDisassembler.V1.3.2\dis_g.apk\res\

drawable-hdpi\_r4_c2.9.png')

invalid resource directory name: G:\APK_HACK\EasyApkDisassembler.V1.3.2\dis_g.ap

k\res/drawable-xxhdpi

Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.Androl

ibException: brut.common.BrutException: could not exec command: [aapt, p, --min-

sdk-version, 8, --target-sdk-version, 15, -F, C:\Users\Imet\AppData\Local\Temp\A

PKTOOL8203745195223044340.tmp, -0, arsc, -I, C:\Users\Imet\apktool\framework\1.a

pk, -S, G:\APK_HACK\EasyApkDisassembler.V1.3.2\dis_g.apk\res, -M, G:\APK_HACK\Ea

syApkDisassembler.V1.3.2\dis_g.apk\AndroidManifest.xml]

at brut.androlib.Androlib.buildResourcesFull(Androlib.java:358)

at brut.androlib.Androlib.buildResources(Androlib.java:283)

at brut.androlib.Androlib.build(Androlib.java:206)

at brut.androlib.Androlib.build(Androlib.java:176)

at brut.apktool.Main.cmdBuild(Main.java:228)

at brut.apktool.Main.main(Main.java:79)

Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not

exec command: [aapt, p, --min-sdk-version, 8, --target-sdk-version, 15, -F, C:\

Users\Imet\AppData\Local\Temp\APKTOOL8203745195223044340.tmp, -0, arsc, -I, C:\U

sers\Imet\apktool\framework\1.apk, -S, G:\APK_HACK\EasyApkDisassembler.V1.3.2\di

s_g.apk\res, -M, G:\APK_HACK\EasyApkDisassembler.V1.3.2\dis_g.apk\AndroidManifes

t.xml]

at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav

a:357)

at brut.androlib.Androlib.buildResourcesFull(Androlib.java:336)

... 5 more

Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sd

k-version, 8, --target-sdk-version, 15, -F, C:\Users\Imet\AppData\Local\Temp\APK

TOOL8203745195223044340.tmp, -0, arsc, -I, C:\Users\Imet\apktool\framework\1.apk

, -S, G:\APK_HACK\EasyApkDisassembler.V1.3.2\dis_g.apk\res, -M, G:\APK_HACK\Easy

ApkDisassembler.V1.3.2\dis_g.apk\AndroidManifest.xml]

at brut.util.OS.exec(OS.java:89)

at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav

a:355)

... 6 more

java.io.FileNotFoundException: dis_g.apk\dist\g.apk (The system cannot find the

path specified)

at java.util.zip.ZipFile.open(Native Method)

at java.util.zip.ZipFile.<init>(Unknown Source)

at java.util.zip.ZipFile.<init>(Unknown Source)

at java.util.jar.JarFile.<init>(Unknown Source)

at java.util.jar.JarFile.<init>(Unknown Source)

at com.android.signapk.SignApk.main(SignApk.java:320)

Press any key to continue . . .

Can anyone please help me