Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Error Help
Error Help [message #1386360] Tue, 17 June 2014 02:24 Go to next message
Kyle R is currently offline Kyle RFriend
Messages: 1
Registered: June 2014
Junior Member
I am using Eclipse and cannot figure out how to correct the following error that occurs on all new projects that are created.

"Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'."

This error appears to stem from <style name="AppBaseTheme" parent="Theme.AppCompat.Light"> in the styles.xml folders.

The other error is "R cannot be resolved to a variable"

I have spent all day trying to figure this out. I have re-installed the ADT bundle 22.6.3, Eclipse 4.3.2, Java JRE and JDK.

Many posts pointed toward android-support-v7-appcompt.jar not being in the libs folder and yes that did solve some of the errors that I had.

Any information would be much appreciated.
Re: Error Help [message #1386432 is a reply to message #1386360] Tue, 17 June 2014 13:43 Go to previous messageGo to next message
Eric Rizzo is currently offline Eric RizzoFriend
Messages: 3070
Registered: July 2009
Senior Member
Did you see the "announcement" post at the top of this forum titled "Trouble with Android Development Tools (ADT) or questions about Android programming? READ THIS FIRST"?
Re: Error Help [message #1386507 is a reply to message #1386360] Wed, 18 June 2014 02:34 Go to previous messageGo to next message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 06/17/2014 06:19 AM, Kyle R wrote:
> I am using Eclipse and cannot figure out how to correct the following
> error that occurs on all new projects that are created.
> "Error retrieving parent for item: No resource found that matches the
> given name 'Theme.AppCompat.Light'."
>
> This error appears to stem from <style name="AppBaseTheme"
> parent="Theme.AppCompat.Light"> in the styles.xml folders.
> The other error is "R cannot be resolved to a variable"
>
> I have spent all day trying to figure this out. I have re-installed the
> ADT bundle 22.6.3, Eclipse 4.3.2, Java JRE and JDK.
> Many posts pointed toward android-support-v7-appcompt.jar not being in
> the libs folder and yes that did solve some of the errors that I had.
>
> Any information would be much appreciated.

What Eric said.

However, I will throw you one bone since I happen to know what you're
talking about.

http://www.javahotchocolate.com/tutorials/android.html#r-java
Re: Error Help [message #1456892 is a reply to message #1386507] Thu, 30 October 2014 20:48 Go to previous message
Jorgesys sys is currently offline Jorgesys sysFriend
Messages: 8
Registered: October 2014
Junior Member
into your AndroidManifest.xml set android:targetSdkVersion="21"

Previous Topic:I can't import a project
Next Topic:Eclipse IDE - Tutorial -> 20.5. Write a test class
Goto Forum:
  


Current Time: Thu Apr 25 21:38:23 GMT 2024

Powered by FUDForum. Page generated in 0.08058 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top