desword / android-apktool

Automatically exported from code.google.com/p/android-apktool
Other
1 stars 0 forks source link

Can not compile the APK #686

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.it gives me a problem that i can't compile my program, it's the first time I 
get this and this is the LOG i think it's better:

D:\Programming\Android\Advanced ApkTool v3.0.0 By 
BDFreak\AdvancedApkTool\3-Out\Ma.apk\res\values-ar\strings.xml:778: error: 
Error parsing XML: mismatched tag

Exception in thread "main" brut.androlib.AndrolibException: 
brut.androlib.AndrolibException: brut.common.BrutException: could not exec 
command: 
[C:\Users\Ayham\AppData\Local\Temp\brut_util_Jar_351716713387646061.tmp, p, 
--forced-package-id, 127, --min-sdk-version, 9, --target-sdk-version, 19, 
--version-code, 239, --version-name, 3.3.4, -F, 
C:\Users\Ayham\AppData\Local\Temp\APKTOOL4420447617790885017.tmp, -0, arsc, -I, 
D:\Programming\Android\Advanced ApkTool v3.0.0 By 
BDFreak\AdvancedApkTool\1-BDFreak\Frameworks\1.apk, -S, 
D:\Programming\Android\Advanced ApkTool v3.0.0 By 
BDFreak\AdvancedApkTool\3-Out\Ma.apk\res, -M, D:\Programming\Android\Advanced 
ApkTool v3.0.0 By BDFreak\AdvancedApkTool\3-Out\Ma.apk\AndroidManifest.xml]
    at brut.androlib.Androlib.buildResourcesFull(Androlib.java:439)
    at brut.androlib.Androlib.buildResources(Androlib.java:367)
    at brut.androlib.Androlib.build(Androlib.java:290)
    at brut.androlib.Androlib.build(Androlib.java:262)
    at brut.apktool.Main.cmdBuild(Main.java:236)
    at brut.apktool.Main.main(Main.java:88)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could 
not exec command: 
[C:\Users\Ayham\AppData\Local\Temp\brut_util_Jar_351716713387646061.tmp, p, 
--forced-package-id, 127, --min-sdk-version, 9, --target-sdk-version, 19, 
--version-code, 239, --version-name, 3.3.4, -F, 
C:\Users\Ayham\AppData\Local\Temp\APKTOOL4420447617790885017.tmp, -0, arsc, -I, 
D:\Programming\Android\Advanced ApkTool v3.0.0 By 
BDFreak\AdvancedApkTool\1-BDFreak\Frameworks\1.apk, -S, 
D:\Programming\Android\Advanced ApkTool v3.0.0 By 
BDFreak\AdvancedApkTool\3-Out\Ma.apk\res, -M, D:\Programming\Android\Advanced 
ApkTool v3.0.0 By BDFreak\AdvancedApkTool\3-Out\Ma.apk\AndroidManifest.xml]
    at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:473)
    at brut.androlib.Androlib.buildResourcesFull(Androlib.java:420)
    ... 5 more
Caused by: brut.common.BrutException: could not exec command: 
[C:\Users\Ayham\AppData\Local\Temp\brut_util_Jar_351716713387646061.tmp, p, 
--forced-package-id, 127, --min-sdk-version, 9, --target-sdk-version, 19, 
--version-code, 239, --version-name, 3.3.4, -F, 
C:\Users\Ayham\AppData\Local\Temp\APKTOOL4420447617790885017.tmp, -0, arsc, -I, 
D:\Programming\Android\Advanced ApkTool v3.0.0 By 
BDFreak\AdvancedApkTool\1-BDFreak\Frameworks\1.apk, -S, 
D:\Programming\Android\Advanced ApkTool v3.0.0 By 
BDFreak\AdvancedApkTool\3-Out\Ma.apk\res, -M, D:\Programming\Android\Advanced 
ApkTool v3.0.0 By BDFreak\AdvancedApkTool\3-Out\Ma.apk\AndroidManifest.xml]
    at brut.util.OS.exec(OS.java:89)
    at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:467)
    ... 6 more

What is the expected output? What do you see instead?

I am expecting to compile the APK

What version of the product are you using? On what operating system?
I am using the V3.0.0, on Win 8.1

Please provide any additional information below.
I will attach the AndroidManifest.xml

Original issue reported on code.google.com by ayhamnaj...@gmail.com on 10 Oct 2014 at 1:18

GoogleCodeExporter commented 9 years ago

Original comment by ayhamnaj...@gmail.com on 10 Oct 2014 at 1:19

Attachments:

GoogleCodeExporter commented 9 years ago
D:\Programming\Android\Advanced ApkTool v3.0.0 By 
BDFreak\AdvancedApkTool\3-Out\Ma.apk\res\values-ar\strings.xml:778: error: 
Error parsing XML: mismatched tag

Fix the error at that line. You have mismatched XML tags. Line 778 of 
values-ar/strings.xml

Original comment by connor.tumbleson on 11 Oct 2014 at 1:06

GoogleCodeExporter commented 9 years ago
there is really no mismatch in that line, that's the end of the file 
</resources>
Because of that I am asking that's really strange!!
and this is the strings file

Original comment by ayham.lo...@gmail.com on 11 Oct 2014 at 6:09

Attachments: