Compiling APK problem - Android Q&A, Help & Troubleshooting

Code:
C:\Users\David\Desktop\Android Tools\apktool1.5.2>apktool if framework-res.apk
I: Framework installed to: C:\Users\David\apktool\framework\1.apk
C:\Users\David\Desktop\Android Tools\apktool1.5.2>apktool d Home.apk
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\David\apktool\framework\1.apk
I: Loaded.
I: Regular manifest package...
I: Decoding file-resources...
I: Loading resource table from file: C:\Users\David\apktool\framework\2.apk
I: Loaded.
I: Decoding values */* XMLs...
I: Done.
I: Copying assets and libs...
C:\Users\David\Desktop\Android Tools\apktool1.5.2>apktool b Home Home.apk
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
C:\Users\David\Desktop\Android Tools\apktool1.5.2\Home\res\values\styles.xml:21:
error: Error retrieving parent for item: No resource found that matches the giv
en name 'Layout'.
C:\Users\David\Desktop\Android Tools\apktool1.5.2\Home\res\values\styles.xml:29:
error: Error retrieving parent for item: No resource found that matches the giv
en name 'Layout.CuiMainMenuItem'.
C:\Users\David\Desktop\Android Tools\apktool1.5.2\Home\res\values-land\styles.xm
l:3: error: Error retrieving parent for item: No resource found that matches the
given name 'Layout.CuiMainMenuItem'.
C:\Users\David\Desktop\Android Tools\apktool1.5.2\Home\res\values\styles.xml:45:
error: Error retrieving parent for item: No resource found that matches the giv
en name 'Layout.CuiMainMenuItem'.
C:\Users\David\Desktop\Android Tools\apktool1.5.2\Home\res\values\styles.xml:53:
error: Error retrieving parent for item: No resource found that matches the giv
en name 'Layout'.
C:\Users\David\Desktop\Android Tools\apktool1.5.2\Home\res\values-land\styles.xm
l:24: error: Error retrieving parent for item: No resource found that matches th
e given name 'Layout'.
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.Androl
ibException: brut.common.BrutException: could not exec command: [aapt, p, --min-
sdk-version, 16, --target-sdk-version, 16, -F, C:\Users\David\AppData\Local\Temp
\APKTOOL8829101515579145139.tmp, -0, arsc, -I, C:\Users\David\apktool\framework\
1.apk, -I, C:\Users\David\apktool\framework\2.apk, -S, C:\Users\David\Desktop\An
droid Tools\apktool1.5.2\Home\res, -M, C:\Users\David\Desktop\Android Tools\apkt
ool1.5.2\Home\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, 16, --target-sdk-version, 16, -F, C:
\Users\David\AppData\Local\Temp\APKTOOL8829101515579145139.tmp, -0, arsc, -I, C:
\Users\David\apktool\framework\1.apk, -I, C:\Users\David\apktool\framework\2.apk
, -S, C:\Users\David\Desktop\Android Tools\apktool1.5.2\Home\res, -M, C:\Users\D
avid\Desktop\Android Tools\apktool1.5.2\Home\AndroidManifest.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, 16, --target-sdk-version, 16, -F, C:\Users\David\AppData\Local\Temp\A
PKTOOL8829101515579145139.tmp, -0, arsc, -I, C:\Users\David\apktool\framework\1.
apk, -I, C:\Users\David\apktool\framework\2.apk, -S, C:\Users\David\Desktop\Andr
oid Tools\apktool1.5.2\Home\res, -M, C:\Users\David\Desktop\Android Tools\apktoo
l1.5.2\Home\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:355)
... 6 more
Here is the log. as you can see the framework is installed but I still get some problem in the values

Related

[Q] UOT kitchen Help

Well, I'm trying to create a theme[Based On one from CM7], but each time i'm done uploading the androidian.apk[Name changed, duh], and go to the pickup, there's always an error.
Decompiling themer.apk UOT-01-14-10-34-3
I: Loading resource table...
I: Loaded.
I: Loading resource table from file: /root/apktool/framework/1.apk
I: Loaded.
I: Decoding file-resources...
I: Decoding values*/* XMLs...
I: Done.
I: Copying assets and libs...
Compiling themer.apk UOT-01-14-10-34-3
W: Could not find sources
I: Building resources...
aapt: /usr/lib/libz.so.1: no version information available (required by aapt)
/home/uotftp/port5/data/working_dir/UOT-01-14-10-34-3/th_dec/res/values/styles.xml:113: error: Error: Integer types not allowed (at 'android:measureWithLargestChild' with value '1').
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, /tmp/APKTOOL5138942739872585286.tmp, -x, -I, /home/uotftp/apktool/framework/1.apk, -S, /home/uotftp/port5/data/working_dir/UOT-01-14-10-34-3/th_dec/res, -M, /home/uotftp/port5/data/working_dir/UOT-01-14-10-34-3/th_dec/AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)
at brut.androlib.Androlib.buildResources(Androlib.java:248)
at brut.androlib.Androlib.build(Androlib.java:171)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:174)
at brut.apktool.Main.main(Main.java:59)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, /tmp/APKTOOL5138942739872585286.tmp, -x, -I, /home/uotftp/apktool/framework/1.apk, -S, /home/uotftp/port5/data/working_dir/UOT-01-14-10-34-3/th_dec/res, -M, /home/uotftp/port5/data/working_dir/UOT-01-14-10-34-3/th_dec/AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 6 more
Anyone know where I went wrong? It's a bit generic, I know, so don't flame me either. Pweaashe.

[Q] [HELP] Unable to build LGPhone_2c.apk

Sorry my bad english.
I have a rooted LG Optimus EX SU-880 phone android ICS version v19c
I want to edit LGPhone_2c.apk but always get 1 error.
I tried many methods but unsuccessful:
- Used many version of appt.exe apktool.jar (appt newest from sdk + appt >5MB from miui dev team
apktool 1.4.2 --> 1.5
- Deodexed rom
- Used apkmanager, ....
Please guide me fix this error. Thank of all
This is my log decompiling and build without edit any file by apktool1.5 on windows XP and java JDK 1.7
Code:
C:\Documents and Settings\Home\Desktop\apk tool>apktool d LGPhone_2c.apk
I: Loading resource table...
W: Skipping "android" package group
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Documents and Settings\Home\apktool\fram
ework\1.apk
I: Loaded.
I: Loading resource table from file: C:\Documents and Settings\Home\apktool\fram
ework\2.apk
I: Loaded.
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Done.
I: Copying assets and libs...
C:\Documents and Settings\Home\Desktop\apk tool>
This message box appear (attachment)
then i click "close" button ---> this log
Code:
C:\Documents and Settings\Home\Desktop\apk tool>apktool b LGPhone_2c
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutExce
ption: could not exec command: [aapt, p, --min-sdk-version, 15, --target-sdk-ver
sion, 15, -F, C:\DOCUME~1\Home\LOCALS~1\Temp\APKTOOL8934582910798488423.tmp, -I,
C:\Documents and Settings\Home\apktool\framework\1.apk, -I, C:\Documents and Se
ttings\Home\apktool\framework\2.apk, -S, C:\Documents and Settings\Home\Desktop\
apk tool\LGPhone_2c\res, -M, C:\Documents and Settings\Home\Desktop\apk tool\LGP
hone_2c\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:255)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:337)
at brut.androlib.Androlib.buildResources(Androlib.java:284)
at brut.androlib.Androlib.build(Androlib.java:207)
at brut.androlib.Androlib.build(Androlib.java:180)
at brut.apktool.Main.cmdBuild(Main.java:209)
at brut.apktool.Main.main(Main.java:72)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sd
k-version, 15, --target-sdk-version, 15, -F, C:\DOCUME~1\Home\LOCALS~1\Temp\APKT
OOL8934582910798488423.tmp, -I, C:\Documents and Settings\Home\apktool\framework
\1.apk, -I, C:\Documents and Settings\Home\apktool\framework\2.apk, -S, C:\Docum
ents and Settings\Home\Desktop\apk tool\LGPhone_2c\res, -M, C:\Documents and Set
tings\Home\Desktop\apk tool\LGPhone_2c\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:253)
... 6 more
C:\Documents and Settings\Home\Desktop\apk tool>
I upload an apks in attachment including:
+ framework-res.apk
+ lge-res.apk
+ LGPhone_2c.apk
Please help me! I can't rebuild this apk.
Any body here?

[JB][ERROR]Error while recompiling JB framework

So i was trying to modify stuff in the framework from Sony i.e. SemcGenericUxpRes.apk file with apktool...... but even without modifying the files when i try to re-compile it gives the same error which i get when i modify something.......
below is the error....
if I get any help it will be highly appreciated......
Code:
E:\New_folder\adt\APKTool>apktool d SemcGenericUxpRes.apk
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Loading resource table from file: C:\Users\Wipro-MIT\apktool\framework\1.apk
I: Loaded.
I: Decoding file-resources...
I: Decoding values*/* XMLs...
I: Done.
I: Copying assets and libs...
E:\New_folder\adt\APKTool>apktool b SemcGenericUxpRes
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutExce
ption: could not exec command: [aapt, p, -F, C:\Users\WIPRO-~1\AppData\Local\Tem
p\APKTOOL701504902397480999.tmp, -x, -I, C:\Users\Wipro-MIT\apktool\framework\1.
apk, -S, E:\New_folder\adt\APKTool\SemcGenericUxpRes\res, -M, E:\New_folder\adt\
APKTool\SemcGenericUxpRes\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)
at brut.androlib.Androlib.buildResources(Androlib.java:248)
at brut.androlib.Androlib.build(Androlib.java:171)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\U
sers\WIPRO-~1\AppData\Local\Temp\APKTOOL701504902397480999.tmp, -x, -I, C:\Users
\Wipro-MIT\apktool\framework\1.apk, -S, E:\New_folder\adt\APKTool\SemcGenericUxp
Res\res, -M, E:\New_folder\adt\APKTool\SemcGenericUxpRes\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:191)
... 6 more
thanks in advance...
Bump...
Sent from my MT27i using xda app-developers app

[ASK] APKTOOL Recompiling Error

I'm using APKTool to modify AndroidManifest.xml of an APK. I've installed framework-res.apk. The decompile is success, after I'm changed some line on the manifest then rebuilding, the error happened. Even if I didn't make any changes, rebuild is still error.
Code:
C:\ApkTool>apktool b flappymod flappymod.apk
I: Copying classes.dex file...
I: Checking whether resources has changed...
I: Building resources...
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 8, --target-sdk-version, 15, -F, C:\Users\Risal\AppData\Local\Temp\APKTOOL5476941189381566523.tmp, -I, C:\Users\Risal\apktool\framework\1.apk, -S, C:\ApkTool\flappymod\res, -M, C:\ApkTool\flappymod\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:255)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:324)
at brut.androlib.Androlib.buildResources(Androlib.java:269)
at brut.androlib.Androlib.build(Androlib.java:192)
at brut.androlib.Androlib.build(Androlib.java:174)
at brut.apktool.Main.cmdBuild(Main.java:188)
at brut.apktool.Main.main(Main.java:70)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 8, --target-sdk-version, 15, -F, C:\Users\Risal\AppData\Local\Temp\APKTOOL5476941189381566523.tmp, -I, C:\Users\Risal\apktool\framework\1.apk, -S, C:\ApkTool\flappymod\res, -M, C:\ApkTool\flappymod\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:87)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:253)
... 6 more
Caused by: java.io.IOException: Cannot run program "aapt": CreateProcess error=2, The system cannot find the file specified
at java.lang.ProcessBuilder.start(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at brut.util.OS.exec(OS.java:78)
... 7 more
Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(Unknown Source)
at java.lang.ProcessImpl.start(Unknown Source)
... 11 more
How to fix this ??
When ever i start compiling with apktool it always gives error,no matter whether it is a system app or normal app.
I want to remove ads in shareit & home screen feed and some annoying things.
After doing all modification i encounter comilation error.
Therefore i delete every thing clean the pc re install JDK,do decompile & it was successful but this time i did nothing modification.Just decompile & recompile.But same error.
Code:
C:\Users\CHANDU\Documents\APK Easy Tool\1-Decompiled APKs>apktool b shareitoriginal
I: Using Apktool 2.2.2
I: Checking whether sources has changed...
I: Smaling smali folder into classes.dex...
I: Checking whether sources has changed...
I: Smaling smali_classes2 folder into classes2.dex...
I: Checking whether resources has changed...
I: Building resources...
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec: [aapt, p, --forced-package-id, 127, --min-sdk-version, 16, --target-sdk-version, 19, --version-code, 4040058, --version-name, 4.0.58_ww, --no-version-vectors, -F, C:\Users\CHANDU\AppData\Local\Temp\APKTOOL9574286527521199604.tmp, -0, webp, -0, ini, -0, arsc, -I, C:\Users\CHANDU\AppData\Local\apktool\framework\1.apk, -S, C:\Users\CHANDU\Documents\APK Easy Tool\1-Decompiled APKs\shareitoriginal\res, -M, C:\Users\CHANDU\Documents\APK Easy Tool\1-Decompiled APKs\shareitoriginal\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:477)
at brut.androlib.Androlib.buildResources(Androlib.java:411)
at brut.androlib.Androlib.build(Androlib.java:310)
at brut.androlib.Androlib.build(Androlib.java:263)
at brut.apktool.Main.cmdBuild(Main.java:227)
at brut.apktool.Main.main(Main.java:84)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec: [aapt, p, --forced-package-id, 127, --min-sdk-version, 16, --target-sdk-version, 19, --version-code, 4040058, --version-name, 4.0.58_ww, --no-version-vectors, -F, C:\Users\CHANDU\AppData\Local\Temp\APKTOOL9574286527521199604.tmp, -0, webp, -0, ini, -0, arsc, -I, C:\Users\CHANDU\AppData\Local\apktool\framework\1.apk, -S, C:\Users\CHANDU\Documents\APK Easy Tool\1-Decompiled APKs\shareitoriginal\res, -M, C:\Users\CHANDU\Documents\APK Easy Tool\1-Decompiled APKs\shareitoriginal\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:440)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:463)
... 5 more
Caused by: brut.common.BrutException: could not exec: [aapt, p, --forced-package-id, 127, --min-sdk-version, 16, --target-sdk-version, 19, --version-code, 4040058, --version-name, 4.0.58_ww, --no-version-vectors, -F, C:\Users\CHANDU\AppData\Local\Temp\APKTOOL9574286527521199604.tmp, -0, webp, -0, ini, -0, arsc, -I, C:\Users\CHANDU\AppData\Local\apktool\framework\1.apk, -S, C:\Users\CHANDU\Documents\APK Easy Tool\1-Decompiled APKs\shareitoriginal\res, -M, C:\Users\CHANDU\Documents\APK Easy Tool\1-Decompiled APKs\shareitoriginal\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:97)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:434)
... 6 more
Caused by: java.io.IOException: Cannot run program "aapt": CreateProcess error=2, The system cannot find the file specified
at java.base/java.lang.ProcessBuilder.start(Unknown Source)
at java.base/java.lang.ProcessBuilder.start(Unknown Source)
at brut.util.OS.exec(OS.java:90)
... 7 more
Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified
at java.base/java.lang.ProcessImpl.create(Native Method)
at java.base/java.lang.ProcessImpl.<init>(Unknown Source)
at java.base/java.lang.ProcessImpl.start(Unknown Source)
... 10 more
Note that decompilation was always error less.
Code:
C:\Users\CHANDU\Documents\APK Easy Tool\1-Decompiled APKs>apktool d shareitoriginal.apk
I: Using Apktool 2.2.2 on shareitoriginal.apk
I: Loading resource table...
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\CHANDU\AppData\Local\apktool\framework\1.apk
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Baksmaling classes.dex...
I: Baksmaling classes2.dex...
I: Copying assets and libs...
I: Copying unknown files...
I: Copying original files...
So can somebody tell me why this error is occuring ?
THIS TIME I DID NOT MODIFY RESOURCES BUT STILL ERROR
Code:
D:\APK>apktool d -f -r shareit.apk
I: Using Apktool 2.2.2 on shareit.apk
I: Copying raw resources...
I: Baksmaling classes.dex...
I: Copying assets and libs...
I: Copying unknown files...
I: Copying original files...
D:\APK>apktool b shareit
I: Using Apktool 2.2.2
I: Checking whether sources has changed...
I: Smaling smali folder into classes.dex...
I: Checking whether resources has changed...
I: Copying raw resources...
I: Copying libs... (/lib)
I: Building apk file...
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec: [aapt, p, --no-version-vectors, -F, D:\APK\shareit\dist\shareit.apk, -0, arsc, -0, hcp, -0, arsc, -A, D:\APK\shareit\assets, D:\APK\shareit\build\apk]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:440)
at brut.androlib.Androlib.buildApk(Androlib.java:674)
at brut.androlib.Androlib.build(Androlib.java:314)
at brut.androlib.Androlib.build(Androlib.java:263)
at brut.apktool.Main.cmdBuild(Main.java:227)
at brut.apktool.Main.main(Main.java:84)
Caused by: brut.common.BrutException: could not exec: [aapt, p, --no-version-vectors, -F, D:\APK\shareit\dist\shareit.apk, -0, arsc, -0, hcp, -0, arsc, -A, D:\APK\shareit\assets, D:\APK\shareit\build\apk]
at brut.util.OS.exec(OS.java:97)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:434)
... 5 more
Caused by: java.io.IOException: Cannot run program "aapt": CreateProcess error=2, The system cannot find the file specified
at java.base/java.lang.ProcessBuilder.start(Unknown Source)
at java.base/java.lang.ProcessBuilder.start(Unknown Source)
at brut.util.OS.exec(OS.java:90)
... 6 more
Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified
at java.base/java.lang.ProcessImpl.create(Native Method)
at java.base/java.lang.ProcessImpl.<init>(Unknown Source)
at java.base/java.lang.ProcessImpl.start(Unknown Source)
... 9 more
D:\APK>

[Q] Pixel Animated Navigation Bar Porting Issues

I was porting Pixel navigation bar and I have an issue and that is when I am compiling the systemUI.apk and it is throwing me an error I have followed all the steps from this tutorial
Error:
Code:
C:\Users\Xaif\Desktop\LineagePort>java -jar apktool.jar b SystemUI -c
I: Using Apktool 2.2.2
I: Checking whether sources has changed...
I: Smaling smali folder into classes.dex...
I: Checking whether resources has changed...
I: Building resources...
W: C:\Users\Xaif\Desktop\LineagePort\SystemUI\res\values\styles.xml:2139: error:
Error retrieving parent for item: No resource found that matches the given name
'@android:style/TextAppearance.StatusBar'.
W:
W: C:\Users\Xaif\Desktop\LineagePort\SystemUI\res\values\styles.xml:2140: error:
Error retrieving parent for item: No resource found that matches the given name
'@android:style/TextAppearance.StatusBar'.
W:
W: C:\Users\Xaif\Desktop\LineagePort\SystemUI\res\values\styles.xml:2145: error:
Error retrieving parent for item: No resource found that matches the given name
'@android:style/TextAppearance.StatusBar'.
W:
W: C:\Users\Xaif\Desktop\LineagePort\SystemUI\res\values\styles.xml:2155: error:
Error retrieving parent for item: No resource found that matches the given name
'@android:style/TextAppearance.StatusBar'.
W:
W: C:\Users\Xaif\Desktop\LineagePort\SystemUI\res\values\styles.xml:2258: error:
Error retrieving parent for item: No resource found that matches the given name
'@android:style/Theme.DeviceDefault.Settings.Dark'.
W:
W: C:\Users\Xaif\Desktop\LineagePort\SystemUI\res\values\styles.xml:2365: error:
Error retrieving parent for item: No resource found that matches the given name
'@android:style/Theme.DeviceDefault.Settings.Dark'.
Exception in thread "main" W:
brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.Br
utException: could not exec (exit code = 1): [C:\Users\Xaif\AppData\Local\Temp\b
rut_util_Jar_4007376053499372905.tmp, p, --forced-package-id, 127, --min-sdk-ver
sion, 25, --target-sdk-version, 25, --version-code, 25, --version-name, 7.1.1, -
-no-version-vectors, -F, C:\Users\Xaif\AppData\Local\Temp\APKTOOL889014957634349
2479.tmp, -0, arsc, -0, arsc, -I, C:\Users\Xaif\AppData\Local\apktool\framework\
1.apk, -S, C:\Users\Xaif\Desktop\LineagePort\SystemUI\res, -M, C:\Users\Xaif\Des
ktop\LineagePort\SystemUI\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:477)
at brut.androlib.Androlib.buildResources(Androlib.java:411)
at brut.androlib.Androlib.build(Androlib.java:310)
at brut.androlib.Androlib.build(Androlib.java:263)
at brut.apktool.Main.cmdBuild(Main.java:227)
at brut.apktool.Main.main(Main.java:84)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not
exec (exit code = 1): [C:\Users\Xaif\AppData\Local\Temp\brut_util_Jar_400737605
3499372905.tmp, p, --forced-package-id, 127, --min-sdk-version, 25, --target-sdk
-version, 25, --version-code, 25, --version-name, 7.1.1, --no-version-vectors, -
F, C:\Users\Xaif\AppData\Local\Temp\APKTOOL8890149576343492479.tmp, -0, arsc, -0
, arsc, -I, C:\Users\Xaif\AppData\Local\apktool\framework\1.apk, -S, C:\Users\Xa
if\Desktop\LineagePort\SystemUI\res, -M, C:\Users\Xaif\Desktop\LineagePort\Syste
mUI\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:440)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:463)
... 5 more
Caused by: brut.common.BrutException: could not exec (exit code = 1): [C:\Users\
Xaif\AppData\Local\Temp\brut_util_Jar_4007376053499372905.tmp, p, --forced-packa
ge-id, 127, --min-sdk-version, 25, --target-sdk-version, 25, --version-code, 25,
--version-name, 7.1.1, --no-version-vectors, -F, C:\Users\Xaif\AppData\Local\Te
mp\APKTOOL8890149576343492479.tmp, -0, arsc, -0, arsc, -I, C:\Users\Xaif\AppData
\Local\apktool\framework\1.apk, -S, C:\Users\Xaif\Desktop\LineagePort\SystemUI\r
es, -M, C:\Users\Xaif\Desktop\LineagePort\SystemUI\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:95)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:434)
... 6 more

Categories

Resources