R.java not liking some of my inserted images

Put your problem here if it does not fit any of the other categories.

R.java not liking some of my inserted images

Postby arachnospore » Fri Mar 19, 2010 6:21 pm

Hi,

I'm having this problem since I put 680 small image files into res/drawable folder. The drawable folder is fine with them but the R.java file complains saying "Syntax error on token "2006", delete this token" for the first hundred and then is fine with all the others even though they have the same "token". Here's an small sample of the the ones it doesn't like:



Syntax: [ Download ] [ Hide ]
Using java Syntax Highlighting
  1.  
  2.         public static final int 2006al3104_0=0x7f020061;
  3.  
  4.         public static final int 2006al3113_0=0x7f020062;
  5.  
  6.         public static final int 2006al3114_0=0x7f020063;
  7.  
  8.  
Parsed in 0.031 seconds, using GeSHi 1.0.8.4


but these ones are fine:

Syntax: [ Download ] [ Hide ]
Using java Syntax Highlighting
  1.  
  2.         public static final int 2006al4006_0=0x7f020064;
  3.  
  4.         public static final int 2006al4007_0=0x7f020065;
  5.  
  6.         public static final int 2006al4016_0=0x7f020066;
  7.  
  8.  
Parsed in 0.030 seconds, using GeSHi 1.0.8.4


This is confusing me to no end. Any insights would be greatly appreciated!

Cheers,
Arachnospore
Put on some golf shoes man or we'll never leave this place alive!
arachnospore
Junior Developer
Junior Developer
 
Posts: 11
Joined: Wed Nov 04, 2009 8:44 pm

Top

Postby asolanki » Mon Mar 22, 2010 10:39 am

Hi!!!

According to me we cant give name of the images which start with the digits..
try to rename them
asolanki
Senior Developer
Senior Developer
 
Posts: 151
Joined: Thu Jan 08, 2009 7:32 am

Postby arachnospore » Tue Mar 23, 2010 6:26 pm

Cheers, That's extremely annoying though since these file names are linked into an xml file I have to use
Put on some golf shoes man or we'll never leave this place alive!
arachnospore
Junior Developer
Junior Developer
 
Posts: 11
Joined: Wed Nov 04, 2009 8:44 pm

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: Google [Bot], Google Feedfetcher and 13 guests