Njmpwnz
Apple Fan
Profile
Posts: 165
Reg: Feb 08, 2011
Cleves
2,350
05/22/12 06:49 PM (13 years ago)

I'm such a noob

Where do images for buttons go in eclipse?
 
MacApple
Apple Fan
Profile
Posts: 4675
Reg: Oct 25, 2010
USA
61,150
like
05/22/12 06:50 PM (13 years ago)
Res/drawable
 
Njmpwnz
Apple Fan
Profile
Posts: 165
Reg: Feb 08, 2011
Cleves
2,350
like
05/22/12 07:01 PM (13 years ago)
do i need to do anything other than copy them into said folder and restart emulator?
 
MacApple
Apple Fan
Profile
Posts: 4675
Reg: Oct 25, 2010
USA
61,150
like
05/22/12 07:03 PM (13 years ago)
Nope, not as far as I know, the ol' clean and build. Haven't used Eclipse for a while, my Mac swears at me when I do.
 
Njmpwnz
Apple Fan
Profile
Posts: 165
Reg: Feb 08, 2011
Cleves
2,350
like
05/22/12 07:08 PM (13 years ago)
I think mine might too. But i have my arabic voice on right now. :O
 
Njmpwnz
Apple Fan
Profile
Posts: 165
Reg: Feb 08, 2011
Cleves
2,350
like
05/22/12 07:10 PM (13 years ago)
[2012-05-22 22:08:48 - Anthems] (skipping hidden file '/Users/Nate/Downloads/nationalanthemsoftheworld_v20_Android/assets/.DS_Store') [2012-05-22 22:08:48 - Anthems] (skipping hidden file '/Users/Nate/Downloads/nationalanthemsoftheworld_v20_Android/res/drawable/.DS_Store') [2012-05-22 22:08:48 - Anthems] (skipping hidden file '/Users/Nate/Downloads/nationalanthemsoftheworld_v20_Android/res/layout/.DS_Store') [2012-05-22 22:08:48 - Anthems] res/drawable/Afghanistan.jpg: Invalid file name: must contain only [a-z0-9_.] [2012-05-22 22:08:48 - Anthems] res/drawable/Argentina.jpg: Invalid file name: must contain only [a-z0-9_.] [2012-05-22 22:08:48 - Anthems] res/drawable/Australia.jpg: Invalid file name: must contain only [a-z0-9_.] [2012-05-22 22:08:48 - Anthems] res/drawable/Austria.jpg: Invalid file name: must contain only [a-z0-9_.] [2012-05-22 22:08:48 - Anthems] res/drawable/Bahrain.jpg: Invalid file name: must contain only [a-z0-9_.] [2012-05-22 22:08:48 - Anthems] res/drawable/Belize.png: Invalid file name: must contain only [a-z0-9_.] [2012-05-22 22:08:48 - Anthems] res/drawable/Bolivia.jpg: Invalid file name: must contain only [a-z0-9_.] [2012-05-22 22:08:48 - Anthems] res/drawable/Cambodia.jpg: Invalid file name: must contain only [a-z0-9_.] [2012-05-22 22:08:48 - Anthems] res/drawable/Chile.jpg: Invalid file name: must contain only [a-z0-9_.] [2012-05-22 22:08:48 - Anthems] res/drawable/Colombia.jpg: Invalid file name: must contain only [a-z0-9_.] [2012-05-22 22:08:48 - Anthems] res/drawable/DominicanRepublic.png: Invalid file name: must contain only [a-z0-9_.] [2012-05-22 22:08:48 - Anthems] res/drawable/DominicanRepublic.png: Invalid file name: must contain only [a-z0-9_.] [2012-05-22 22:08:48 - Anthems] res/drawable/Ecuador.jpg: Invalid file name: must contain only [a-z0-9_.] SAD FACE!!!
 
MacApple
Apple Fan
Profile
Posts: 4675
Reg: Oct 25, 2010
USA
61,150
like
05/22/12 07:23 PM (13 years ago)
Drop the capital letter in file name.
 
Susan Metoxen
buzztouch Evangelist
Profile
Posts: 1706
Reg: May 01, 2011
Hopkins, Minnes...
26,260
like
05/22/12 07:25 PM (13 years ago)
I ran into this too. You can't use caps. I found this answer on another blog... http://stackoverflow.com/questions/6730417/invalid-file-name-error-in-eclipse-for-images
 
Sandeep
Android Fan
Profile
Posts: 1260
Reg: Feb 01, 2012
Miraj, India
25,250
like
05/22/12 07:29 PM (13 years ago)
MacApple is correct. You dont need to restart Eclipse when you update some files in a project folder just hit refresh button or F5 button, it will get updated.
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.