Eclipse error - Android Q&A, Help & Troubleshooting

i have a error in my app
error: Error retrieving parent for item: No resource found that matches the given name '@*android:style/Theme.Holo'.
please help

You are compiling the project using an older API (a version below Android 4.0).
Be careful when you choose "Minimum Required SDK", "Target SDK" and "Compile With" for your project.

R: Eclipse error
Quote !
Keep up MEGA project.
Bye

Related

[Q] ADT Debug error for invalid resource

I am extremely NOOB in Android development and ADT..I am taking baby steps in learning it..
I was working on trying to create my first `HelloWorld` in ADT but something messed up so I deleted all the files and folders and started a new project from scratch..but I am not able to debug this new project. I tried to create another project but everytime I am getting this error:
[2014-04-25 14:12:39 - App1] invalid resource directory name: /Users/Android_Mac/appcompat_v7/res/Icon
[2014-04-25 14:12:39 - appcompat_v7] invalid resource directory name: /Users/Android_Mac/appcompat_v7/res/Icon
There was an 'Icon' file in appcompat_v7..which I have deleted but the problem is still persisting
Can someone please help me with that..
also whats the use of `appcompat_v7`? i did not create it..
Thanks in advance.
Help pls guys..Help

Chartboost and Unity

Hi,
Does anyone use Chartboost plugin with Unity? I use plugin from Chartboost site. During building occurs error with manifest.
Error: No resource found that matches the given name (at 'value' with value '@integer/google_play_services_version').
Please, help
Thanks

[Q] Error: Your project location contains whitespace.

When I try to create a new project android studio show up this error:
Error: Your project location contains whitespace.
How can I solve this?

Need Help to recompile custom-framwork-res.apk

Whenever i tried to recompile any custom framework-res.apk (like oppo-framework-res.apk, oxygen-framework-res.apk, lenovo-res.apk, vivo-res.apk) i got error
errors are like:
W: Could not find sources
oxygen-framework-res.apk\res\layout\preference_dialog_colorpicker.xml:4: error: Error: No resource found that matches the given name (at 'id' with value '@id/colors_row_1').
preference_dialog_colorpicker.xml:6: error: Error: No resource found that matches the given name (at 'id' with value '@id/check_0'
oxygen-framework-res.apk\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:465)
at brut.androlib.Androlib.buildResources(Androlib.java:403)
at brut.androlib.Androlib.build(Androlib.java:291)
at brut.androlib.Androlib.build(Androlib.java:261)
at brut.apktool.Main.cmdBuild(Main.java:225)
at brut.apktool.Main.main(Main.java:84)
No issue with decompile
I can decompile and recompile any other apps including framework-res.apk, just problem xxxy-framework-res.apk
please help...
how decompile framwork-res.apk?
pradeepsmehra said:
Whenever i tried to recompile any custom framework-res.apk (like oppo-framework-res.apk, oxygen-framework-res.apk, lenovo-res.apk, vivo-res.apk) i got error
errors are like:
W: Could not find sources
oxygen-framework-res.apk\res\layout\preference_dialog_colorpicker.xml:4: error: Error: No resource found that matches the given name (at 'id' with value '@id/colors_row_1').
preference_dialog_colorpicker.xml:6: error: Error: No resource found that matches the given name (at 'id' with value '@id/check_0'
oxygen-framework-res.apk\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:465)
at brut.androlib.Androlib.buildResources(Androlib.java:403)
at brut.androlib.Androlib.build(Androlib.java:291)
at brut.androlib.Androlib.build(Androlib.java:261)
at brut.apktool.Main.cmdBuild(Main.java:225)
at brut.apktool.Main.main(Main.java:84)
No issue with decompile
I can decompile and recompile any other apps including framework-res.apk, just problem xxxy-framework-res.apk
please help...
Click to expand...
Click to collapse
ARe you installing all the frameworks files? Could be that apktool is not updated to work with that os. It is a common thing with china based OS that they make changes that apktool cant and wont support.
zelendel said:
ARe you installing all the frameworks files? Could be that apktool is not updated to work with that os. It is a common thing with china based OS that they make changes that apktool cant and wont support.
Click to expand...
Click to collapse
Thanks for reply ,
buddy i am using latest apktool version 2.02
only two framework are available in ROM both are installed.
yes ..i was thinking same that they are modding apk so that apktool not able to do re-engineering.
i also post error in apktool thread in github lets see if iBoatPaches will add support in next version of apktool ...
Have you tried installing systemui as well as the frameworks? It might be worth a shot usually helps with dummy files
Sent from my SM-N920C using Tapatalk
sawdoctor said:
Have you tried installing systemui as well as the frameworks? It might be worth a shot usually helps with dummy files
Sent from my SM-N920C using Tapatalk
Click to expand...
Click to collapse
yes buddy, i also tried that..
if i tried recompile in normal way its giving very log error log. then i tried to rename framework-res.apk into 1.apk and oxygen-framework-res.apk into 2.apk and place them c:/apktool/
now the error log is short, only 4xml value showing no resource.
C:\apktool\oxygen-framework-res\res\values\styles.xml:40: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Theme.Material.BaseDialog'.
C:\apktool\oxygen-framework-res\res\values\styles.xml:44: error: Error retrieving parent for item: No resource found that matches the given name'@android:style/Theme.Material.Dialog.BaseAlert'.
C:\apktool\oxygen-framework-res\res\values\styles.xml:51: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Theme.Material.SearchBar'.
C:\apktool\oxygen-framework-res\res\values\styles.xml:54: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Theme.Material.CompactMenu'.
pradeepsmehra said:
yes buddy, i also tried that..
if i tried recompile in normal way its giving very log error log. then i tried to rename framework-res.apk into 1.apk and oxygen-framework-res.apk into 2.apk and place them c:/apktool/
now the error log is short, only 4xml value showing no resource.
C:\apktool\oxygen-framework-res\res\values\styles.xml:40: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Theme.Material.BaseDialog'.
C:\apktool\oxygen-framework-res\res\values\styles.xml:44: error: Error retrieving parent for item: No resource found that matches the given name'@android:style/Theme.Material.Dialog.BaseAlert'.
C:\apktool\oxygen-framework-res\res\values\styles.xml:51: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Theme.Material.SearchBar'.
C:\apktool\oxygen-framework-res\res\values\styles.xml:54: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Theme.Material.CompactMenu'.
Click to expand...
Click to collapse
Have you tried a different apktool? I had to switch back to android 2.00 to decompile marshmallow framework
Sent from my SM-N920C using Tapatalk
sawdoctor said:
Have you tried a different apktool? I had to switch back to android 2.00 to decompile marshmallow framework
Sent from my SM-N920C using Tapatalk
Click to expand...
Click to collapse
yes i tried 2.0 also...
pradeepsmehra said:
yes i tried 2.0 also...
Click to expand...
Click to collapse
if any body can help, please here is the uploaded framework files. and error log
http://pastebin.com/KPbExsRE
https://drive.google.com/file/d/0B4wqBB_yOlMwNGh0YzZoWlFmSEk/view?usp=sharing

How to build stock Android TV rom for S805, S812 .... ?

Hi there,
Recently, I was curious to know and learn how to build Android from source code.
I have AceMax M8S+ and I want to install stock Android TV os in it.
I have done the research and found a few repositories that have Amlogic build tools and etc.
I downloaded the manifest, update to the proper revisions and old packages and still got an error after 1 hour of building.
Code:
device/amlogic/n200/overlay/packages/apps/DeskClock/AndroidManifest.xml:39: error: Error: No resource found that matches the given name (at 'theme' with value '@style/DeskClock').
device/amlogic/n200/overlay/packages/apps/DeskClock/AndroidManifest.xml:179: error: Error: No resource found that matches the given name (at 'theme' with value '@style/ScreensaverSettingsActivityTheme').
device/amlogic/n200/overlay/packages/apps/DeskClock/AndroidManifest.xml:194: error: Error: No resource found that matches the given name (at 'theme' with value '@style/TimerAlertFullScreenTheme').
ninja: build stopped: subcommand failed.
make: *** [ninja_wrapper] Error 1
make: Leaving directory `/home/t1000/android'
#### make failed to build some targets (01:47:50 (hh:mm:ss)) ####
Here are the sources that I found
amlogic_android_manifest -> github/firmanjml
android_device_amlogic -> github/Android-Amlogic
github.com/khadas

Categories

Resources