[android-beginners] Re: R class not created or updating in Eclipe

2009-03-22 Thread Vertumnus

Hi,

with my first own project I had the problem, that the R class was not
automatically regenerated in Ecplipse by the Android plug-in. And a
clean of the project killed the file additionally.
Now I know why. In the layout resource was a reference to the string
"hello", which will be created on project creation. I have deleted
this string in the string resource, because I don't need it. But the
not resolved reference in the layout resource disturbs the
regeneration of the R class. Unresolved references to the resources in
the coding seem not to be a problem. I've removed the unresolved
reference in the layout resource and then the R class was regenerated
again.

I hope I can help you and some other developers with the same or a
similar problem.

Greets,

Vertumnus

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[android-beginners] Re: R class not created or updating in Eclipe

2009-02-18 Thread susanner





I find that the file name in res/raw also can not contain numbers。
 
 


在2009-02-18,srajpal  写道:
>
>I know whenever i had an error in an xml file or I used a capital
>letter in the name of a file or drawable the R class would not auto
>generate.  the console gives some cryptic messages about that but all
>in all one small error in anything inside res folder can cause the R
>file to be created.  I would look carefully into those files.
>
>On Feb 16, 5:23?pm, "mike.g.rai...@gmail.com"
> wrote:
>> Hi,
>>
>> I recently installed and got started with the android SDK. After
>> setting up the SDK and the Eclipse ADT plugin I ran the API Demo's
>> project fine. When trying to create my own HelloWorld project I
>> noticed that the R class was not auto created. After some searching I
>> found that the problem was not local to me, yet a solution wasn't
>> presented. Is this a bug? Intended? Is there a workaround?
>>
>> Thanks,
>> Mike
>>

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[android-beginners] Re: R class not created or updating in Eclipe

2009-02-18 Thread srajpal

I know whenever i had an error in an xml file or I used a capital
letter in the name of a file or drawable the R class would not auto
generate.  the console gives some cryptic messages about that but all
in all one small error in anything inside res folder can cause the R
file to be created.  I would look carefully into those files.

On Feb 16, 5:23 pm, "mike.g.rai...@gmail.com"
 wrote:
> Hi,
>
> I recently installed and got started with the android SDK. After
> setting up the SDK and the Eclipse ADT plugin I ran the API Demo's
> project fine. When trying to create my own HelloWorld project I
> noticed that the R class was not auto created. After some searching I
> found that the problem was not local to me, yet a solution wasn't
> presented. Is this a bug? Intended? Is there a workaround?
>
> Thanks,
> Mike
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---