FORUMS
Remove All Ads from XDA

[HOW TO] Add Ambient Display on Settings [Lollipop]

2,528 posts
Thanks Meter: 9,294
 
By raffaele88, Senior Member on 16th November 2014, 11:09 PM
Post Reply Email Thread
14th December 2017, 05:30 AM |#331  
cnkzlyr's Avatar
Senior Member
Flag Ankara
Thanks Meter: 695
 
More
Im looking on s5 exynos mm stock systemui and there is no folder "values"
 
 
14th December 2017, 05:37 AM |#332  
Senior Member
Thanks Meter: 49
 
More
Quote:
Originally Posted by cnkzlyr

Im looking on s5 exynos mm stock systemui and there is no folder "values"

It Is Under "res" Folder.
14th December 2017, 07:17 AM |#333  
cnkzlyr's Avatar
Senior Member
Flag Ankara
Thanks Meter: 695
 
More
Okay bro thank you
SM-G935F cihazımdan Tapatalk kullanılarak gönderildi

---------- Post added at 08:10 AM ---------- Previous post was at 07:11 AM ----------

Guys Im trying to edit and compile an apk for first time. I edited bools xml for 3 lines. And got this error when trying to recompile it. Any suggestions?


W: /storage/emulated/0/A/SystemUI_src/res/values/styles.xml:150: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Animation.ZoomButtons'.
W:
W: /storage/emulated/0/A/SystemUI_src/res/values/styles.xml:151: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Animation.ZoomButtons'.
W:
W: /storage/emulated/0/A/SystemUI_src/res/values/styles.xml:156: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Animation.ZoomButtons'.
W:
W: /storage/emulated/0/A/SystemUI_src/res/values/styles.xml:166: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Animation.ZoomButtons'.
W:
W: /storage/emulated/0/A/SystemUI_src/res/values/styles.xml:299: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Animation.Wallpaper'.
W:
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [/data/data/per.pqy.apktool/apktool/openjdk/bin/aapt6.0, p, --min-sdk-version, 23, --target-sdk-version, 23, --version-code, 23, --version-name, 6.0.1, -F, /data/data/per.pqy.apktool/APKTOOL937742853787201268.tmp, -0, arsc, -0, arsc, -I, /data/data/per.pqy.apktool/1.apk, -S, /storage/emulated/0/A/SystemUI_src/res, -M, /storage/emulated/0/A/SystemUI_src/AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib .java:478)
at brut.androlib.Androlib.buildResources(Androlib.jav a:412)
at brut.androlib.Androlib.build(Androlib.java:311)
at brut.androlib.Androlib.build(Androlib.java:264)
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): [/data/data/per.pqy.apktool/apktool/openjdk/bin/aapt6.0, p, --min-sdk-version, 23, --target-sdk-version, 23, --version-code, 23, --version-name, 6.0.1, -F, /data/data/per.pqy.apktool/APKTOOL937742853787201268.tmp, -0, arsc, -0, arsc, -I, /data/data/per.pqy.apktool/1.apk, -S, /storage/emulated/0/A/SystemUI_src/res, -M, /storage/emulated/0/A/SystemUI_src/AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(An drolibResources.java:439)
at brut.androlib.Androlib.buildResourcesFull(Androlib .java:464)
... 5 more
Caused by: brut.common.BrutException: could not exec (exit code = 1): [/data/data/per.pqy.apktool/apktool/openjdk/bin/aapt6.0, p, --min-sdk-version, 23, --target-sdk-version, 23, --version-code, 23, --version-name, 6.0.1, -F, /data/data/per.pqy.apktool/APKTOOL937742853787201268.tmp, -0, arsc, -0, arsc, -I, /data/data/per.pqy.apktool/1.apk, -S, /storage/emulated/0/A/SystemUI_src/res, -M, /storage/emulated/0/A/SystemUI_src/AndroidManifest.xml]
at brut.util.OS.exec(OS.java:95)
at brut.androlib.res.AndrolibResources.aaptPackage(An drolibResources.java:433)
... 6 more
I: Using Apktool 2.2.2-Black
I: Smaling smali folder into classes.dex...
I: Building resources...

---------- Post added at 08:17 AM ---------- Previous post was at 08:10 AM ----------

Btw Im using the latest apktool for android bcoz I dont have computer. Can you tell me if it is impossible to do it on mobile?
16th December 2017, 07:41 AM |#334  
Senior Member
Thanks Meter: 49
 
More
Quote:
Originally Posted by cnkzlyr

Okay bro thank you
SM-G935F cihazımdan Tapatalk kullanılarak gönderildi

---------- Post added at 08:10 AM ---------- Previous post was at 07:11 AM ----------

Guys Im trying to edit and compile an apk for first time. I edited bools xml for 3 lines. And got this error when trying to recompile it. Any suggestions?


W: /storage/emulated/0/A/SystemUI_src/res/values/styles.xml:150: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Animation.ZoomButtons'.
W:
W: /storage/emulated/0/A/SystemUI_src/res/values/styles.xml:151: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Animation.ZoomButtons'.
W:
W: /storage/emulated/0/A/SystemUI_src/res/values/styles.xml:156: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Animation.ZoomButtons'.
W:
W: /storage/emulated/0/A/SystemUI_src/res/values/styles.xml:166: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Animation.ZoomButtons'.
W:
W: /storage/emulated/0/A/SystemUI_src/res/values/styles.xml:299: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Animation.Wallpaper'.
W:
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [/data/data/per.pqy.apktool/apktool/openjdk/bin/aapt6.0, p, --min-sdk-version, 23, --target-sdk-version, 23, --version-code, 23, --version-name, 6.0.1, -F, /data/data/per.pqy.apktool/APKTOOL937742853787201268.tmp, -0, arsc, -0, arsc, -I, /data/data/per.pqy.apktool/1.apk, -S, /storage/emulated/0/A/SystemUI_src/res, -M, /storage/emulated/0/A/SystemUI_src/AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib .java:478)
at brut.androlib.Androlib.buildResources(Androlib.jav a:412)
at brut.androlib.Androlib.build(Androlib.java:311)
at brut.androlib.Androlib.build(Androlib.java:264)
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): [/data/data/per.pqy.apktool/apktool/openjdk/bin/aapt6.0, p, --min-sdk-version, 23, --target-sdk-version, 23, --version-code, 23, --version-name, 6.0.1, -F, /data/data/per.pqy.apktool/APKTOOL937742853787201268.tmp, -0, arsc, -0, arsc, -I, /data/data/per.pqy.apktool/1.apk, -S, /storage/emulated/0/A/SystemUI_src/res, -M, /storage/emulated/0/A/SystemUI_src/AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(An drolibResources.java:439)
at brut.androlib.Androlib.buildResourcesFull(Androlib .java:464)
... 5 more
Caused by: brut.common.BrutException: could not exec (exit code = 1): [/data/data/per.pqy.apktool/apktool/openjdk/bin/aapt6.0, p, --min-sdk-version, 23, --target-sdk-version, 23, --version-code, 23, --version-name, 6.0.1, -F, /data/data/per.pqy.apktool/APKTOOL937742853787201268.tmp, -0, arsc, -0, arsc, -I, /data/data/per.pqy.apktool/1.apk, -S, /storage/emulated/0/A/SystemUI_src/res, -M, /storage/emulated/0/A/SystemUI_src/AndroidManifest.xml]
at brut.util.OS.exec(OS.java:95)
at brut.androlib.res.AndrolibResources.aaptPackage(An drolibResources.java:433)
... 6 more
I: Using Apktool 2.2.2-Black
I: Smaling smali folder into classes.dex...
I: Building resources...

---------- Post added at 08:17 AM ---------- Previous post was at 08:10 AM ----------

Btw Im using the latest apktool for android bcoz I dont have computer. Can you tell me if it is impossible to do it on mobile?

Use ApkEditor And Compare Both style.xml And Edit Them .
Then Try Recompiling.
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes