kuter007 / android-apktool

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

Compiling Error #650

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Re-compiling an android .apk
2.
3.

What is the expected output? What do you see instead?
I get two different errors, using two different GUI's

1st error: 
C:\Users\Extosis\APK GUI\InProgress\tify.apk\res\values\styles.xml:671: error: 
Error retrieving parent for item: No resource found that matches the given name 
'TextAppearance.AppCompat.Base'.
C:\Users\Extosis\APK GUI\InProgress\tify.apk\res\values\styles.xml:1006: error: 
Error retrieving parent for item: No resource found that matches the given name 
'Theme.AppCompat.Base'.
C:\Users\Extosis\APK GUI\InProgress\tify.apk\res\values\styles.xml:1791: error: 
Error retrieving parent for item: No resource found that matches the given name 
'Widget.AppCompat.Base'.
C:\Users\Extosis\APK GUI\InProgress\tify.apk\res\values\styles.xml:1831: error: 
Error retrieving parent for item: No resource found that matches the given name 
'Widget.AppCompat.Base'.
C:\Users\Extosis\APK GUI\InProgress\tify.apk\res\values\styles.xml:1845: error: 
Error retrieving parent for item: No resource found that matches the given name 
'Widget.AppCompat.Base'.
C:\Users\Extosis\APK GUI\InProgress\tify.apk\res\values\styles.xml:1852: error: 
Error retrieving parent for item: No resource found that matches the given name 
'Widget.AppCompat.Base'.
C:\Users\Extosis\APK GUI\InProgress\tify.apk\res\values-v14\styles.xml:109: 
error: Error retrieving parent for item: No resource found that matches the 
given name 'Widget.AppCompat.Base'.
C:\Users\Extosis\APK GUI\InProgress\tify.apk\res\values\styles.xml:1864: error: 
Error retrieving parent for item: No resource found that matches the given name 
'Widget.AppCompat.Base.DropDownItem'.
C:\Users\Extosis\APK GUI\InProgress\tify.apk\res\values\styles.xml:1877: error: 
Error retrieving parent for item: No resource found that matches the given name 
'Widget.AppCompat.Base'.
C:\Users\Extosis\APK GUI\InProgress\tify.apk\res\values\styles.xml:1886: error: 
Error retrieving parent for item: No resource found that matches the given name 
'Widget.AppCompat.Base'.
C:\Users\Extosis\APK GUI\InProgress\tify.apk\res\values\styles.xml:1962: error: 
Error retrieving parent for item: No resource found that matches the given name 
'Widget.AppCompat.Light.Base'.
Exception in thread "main" brut.androlib.AndrolibException: 
brut.androlib.AndrolibException: brut.common.BrutException: could not exec 
command: [aapt, p, --min-sdk-version, 9, --target-sdk-version, 19, -F, 
C:\Users\Extosis\AppData\Local\Temp\APKTOOL764901866036565940.tmp, -0, arsc, 
-I, C:\Users\Extosis\apktool\framework\1.apk, -S, C:\Users\Extosis\APK 
GUI\InProgress\tify.apk\res, -M, C:\Users\Extosis\APK 
GUI\InProgress\tify.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, 9, --target-sdk-version, 19, -F, 
C:\Users\Extosis\AppData\Local\Temp\APKTOOL764901866036565940.tmp, -0, arsc, 
-I, C:\Users\Extosis\apktool\framework\1.apk, -S, C:\Users\Extosis\APK 
GUI\InProgress\tify.apk\res, -M, C:\Users\Extosis\APK 
GUI\InProgress\tify.apk\AndroidManifest.xml]
    at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:357)
    at brut.androlib.Androlib.buildResourcesFull(Androlib.java:336)
    ... 5 more
Caused by: brut.common.BrutException: could not exec command: [aapt, p, 
--min-sdk-version, 9, --target-sdk-version, 19, -F, 
C:\Users\Extosis\AppData\Local\Temp\APKTOOL764901866036565940.tmp, -0, arsc, 
-I, C:\Users\Extosis\apktool\framework\1.apk, -S, C:\Users\Extosis\APK 
GUI\InProgress\tify.apk\res, -M, C:\Users\Extosis\APK 
GUI\InProgress\tify.apk\AndroidManifest.xml]
    at brut.util.OS.exec(OS.java:89)
    at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:355)
    ... 6 more

2nd error:
..\Decompiled_apk\tify\smali\android\support\v4\app\aj.smali[293,4] Invalid 
literal value: 4096. Low 16 bits must be zeroed out.
Exception in thread "main" brut.androlib.AndrolibException: Could not smali 
file: android/support/v4/app/aj.smali
    at brut.androlib.src.SmaliBuilder.buildFile(SmaliBuilder.java:72)
    at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:56)
    at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:41)
    at brut.androlib.Androlib.buildSourcesSmali(Androlib.java:338)
    at brut.androlib.Androlib.buildSources(Androlib.java:299)
    at brut.androlib.Androlib.build(Androlib.java:285)
    at brut.androlib.Androlib.build(Androlib.java:258)
    at brut.apktool.Main.cmdBuild(Main.java:236)
    at brut.apktool.Main.main(Main.java:88)
The system cannot find the file specified.
The system cannot find the file specified.

What version of the product are you using? On what operating system?
I am using android

I am using the latest version 1.5.2 & r05 of apktool.jar & aapt.exe

Please provide any additional information below.

I am using Windows 7 Ultimate 64-bit
I have java installed (latest version)
1st error: I used the elesbbs APK Tool
2nd error: I used the Android Multitook v3.5 Tool
I have tried the manual way as well using command prompt but same errors

Original issue reported on code.google.com by suass...@gmail.com on 29 Jun 2014 at 9:16

GoogleCodeExporter commented 9 years ago
1) Duplicate of 544
2) As you can see there is an error / file-not-found. Neither of which is 
Apktool's fault.

Original comment by connor.tumbleson on 30 Jun 2014 at 12:42