0

This is my first post here, but I've been following the problems and solutions on the forums for a few months now. Having some issues and would really appreciate someone's two cents on this.

I've heavily researched this topic, but if someone finds a duplicate that I haven't seen I apologize.

So a little background: I've been working on this project on/off for a few months on my desktop. My job allows me to bring in my laptop and work on whatever in my free time. So, I installed Eclipse on my laptop so I can work on the app at work as well as at home. When I exported the file system from my desktop to my laptop, about 44 errors popped up. After tedious troubleshooting and by following other's solutions, I narrowed it down to only 4. Here they are:

Error generating final archive: java.io.FileNotFoundException: G:\App5-24-14\Eclipse Workspace\Noteworthy\bin\resources.ap_ does not exist  Noteworthy      Unknown Android Packaging Problem

Error retrieving parent for item: No resource found that matches the given name '@android:style/Theme.AppCompat.Light'. styles.xml  /Noteworthy/res/values  line 8  Android AAPT Problem

Error retrieving parent for item: No resource found that matches the given name '@android:style/Theme.AppCompat.Light'. styles.xml  /Noteworthy/res/values-v11  line 7  Android AAPT Problem

Error retrieving parent for item: No resource found that matches the given name '@android:style/Theme.AppCompat'.   styles.xml  /Noteworthy/res/values-v14  line 8  Android AAPT Problem

I am currently running the app file system off of my external hard drive (G:). I have tried off of my hard drive in multiple locations as well, of course.

Oh, and also my R.java went M.I.A, so I deleted the gen folder, ran a clean on the project, but my R.java did not regenerate. So, I had to manually find it in my file system and I dropped into the gen folder. After another clean, the R.java disappears yet again.

I'm 99.9% positive I'm completely updated. I reinstalled the latest version of Eclipse. I'm at minSdkVersion 13, and targetSdkVersion 20. I have the appcompat library added. None of my .xml files have capital letters.

Here is one of my styles.xml: The other two look fairly identical. The error is located on on the tag. If you need me to post that, or anything else, let me know and I will update.

<resources>

<!--
    Base application theme for API 14+. This theme completely replaces
    AppBaseTheme from BOTH res/values/styles.xml and
    res/values-v11/styles.xml on API 14+ devices.
-->

<style name="AppBaseTheme" parent="@android:style/Theme.AppCompat"> 

    <!-- API 14 theme customizations can go here. -->

</style>

</resources>

Thank you guys so much in advance. I'm at my wit's end and about to pull my hair out. I guess I finally know how my Grandma feels when she needs computer help over the phone, hahaha.

~ DeltaWolf

MrFlick
  • 178,638
  • 15
  • 253
  • 268
DeltaWolf
  • 3
  • 2
  • `Theme.AppCompat` suggests that you're using [v7 appcompat library](https://developer.android.com/tools/support-library/features.html#v7). Have you installed and included it on your working environment? (note: it's an Android project library, unlike v4 appcompat, which is .jar) – Andrew T. Jul 24 '14 at 03:25
  • Try Right clicking on you project -> Android Tools -> Fix Project Properties and if that doesn't work just delete those three attributes references \@android:style/Theme.AppCompat.Light, \@android:style/Theme.AppCompat.Light, and \@android:style/Theme.AppCompat (the ones mentioned in your error log). – Stephan Branczyk Jul 24 '14 at 03:25
  • @AndrewT. I'm not sure what you mean by install, per se. I placed the .jar into the libs folder. I also have gone into the project properties and added the appcompat library, if that is what you mean. – DeltaWolf Jul 24 '14 at 03:35
  • @StephanBranczyk I have tried to delete, and it comes up with 5 errors (total, it gets rid of the styles errors), something about indirectly referencing from required .class. Also tried the fix project properties and, unfortunately that did not do anything. – DeltaWolf Jul 24 '14 at 03:41
  • Create an empty text file under G:\App5-24-14\Eclipse Workspace\Noteworthy\bin\resources.ap_. This may solve your first problem. – VVB Jul 24 '14 at 04:28
  • @RIT That did get rid of that error, thank you. If I have another question of a mildly-different topic in eclipse should I make a new thread or keep going on this one? – DeltaWolf Jul 25 '14 at 15:20
  • Always create new thread/post for new questions. – VVB Jul 28 '14 at 04:04

0 Answers0