The "R.java" file is generated by AAPT after parsing the res folder.
If the R class disappears, it's a good sign you have aapt errors when
building your project. In eclipse look at the console view to find the
build errors. You might want to tell us what errors you get if it's
relevant.

R/

On Sun, Dec 14, 2008 at 1:19 PM, Josh Dobbs <joshdo...@gmail.com> wrote:
> I figured out the cause of my problems. I copied 4 sound files into the raw
> folder but was only using one at the time in my application. I removed the 3
> unused sounds and all the errors went away. So basically if i want to add
> sounds to my app i have to add them one at a time or implement all of them
> before building/running the app.
>
> On Sat, Dec 13, 2008 at 6:22 PM, Josh Dobbs <joshdo...@gmail.com> wrote:
>>
>> ok this is wierd. It broke on me again. All i did was replace one of the
>> images in the drawable folder and now im getting the following error again.
>>
>> Description Resource Path Location Type
>> Unparsed aapt error(s)! Check the console for output. Unknown Generic ADT
>> Problem
>>
>> along with a lot of errors on references to items in the drawable folder.
>>
>> This morning i just deleted  the import statement for R but i did it this
>> time and no luck.
>>
>> Any ideas as to what im doing wrong?
>>
>>
>> On Sat, Dec 13, 2008 at 8:33 AM, Josh Dobbs <joshdo...@gmail.com> wrote:
>>>
>>> I got it! I don't know how this got in my activity but once i removed the
>>> following import everything went back to normal.
>>>
>>> import android
>>>
>>> .R;
>>>
>>>
>>> Thanks!
>>>
>>> On Sat, Dec 13, 2008 at 8:27 AM, Josh Dobbs <joshdo...@gmail.com> wrote:
>>>>
>>>> I still cannot resolve this issue. Whenever i try to access something in
>>>> my layout folder like this
>>>>
>>>> R.Layout.somelayout
>>>>
>>>> None of my layouts are suggested by autocomplete. Its as if my
>>>> application lost reference to the layout folder.
>>>>
>>>> any suggestions would be appreciated
>>>>
>>>>
>>>> btnGo =(Button) findViewById(R.id.btnGo);
>>>>
>>>> On Sat, Dec 13, 2008 at 12:43 AM, Josh <joshdo...@gmail.com> wrote:
>>>>>
>>>>> Im not sure what i did but now every line of code that specifies a
>>>>> resource in the res folder is underlined in red. I tried to manually
>>>>> add the raw directory under res and ithe compiler could not resolve
>>>>> any of the items in the raw folder. i took one of eclipses suggestions
>>>>> to fix the problem(can't remember which option i chose) and then
>>>>> everything broke. Any suggestions?
>>>>>
>>>
>>>
>>>
>>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to