Android Error Fix: Failed to convert @drawable/ into a drawable

While trying to add an icon from the Android Developer Icon Pack to a button’s android:drawableLeft property, I kept getting this error:

Failed to convert @drawable/10_device_access_camera into a drawable
Exception details are logged in Window > Show View > Error Log

java.lang.NumberFormatException: Color value '@drawable/10_device_access_camera' must start with #

Some people have mentioned restarting Eclipse has worked, but that didn’t work for me.

Instead, I found that I had to simply rename the image file so that it did NOT start with a number. All icons in the Android Developer Icon Pack start with a number, and I had just copied the one over. It appears that if the file starts with a number, it is assumed to be the start of a hexadecimal color value, and hence looks for the # symbol.

working with: Eclipse Juno 3.7.2, Android SDK 21.1

List of All Temple Run 2 Objectives

The Android/iOS game Temple Run 2 has 44 different objectives which you can complete throughout the game. Here is a complete list of all objectives:

  • Novice Runner – Ran 500 meters
  • Pocket Change – Collected 100 coins
  • Adventurer – Scored 25,000 points
  • Sprinter – Ran 1,000 meters
  • Piggy Bank – Collected 250 coins
  • Treasure Hunter – Scored 50,000 points
  • Stingy – 250m collecting no coins
  • High Roller – Scored 100,000 points
  • Miser Run – 500m collecting no coins
  • Gem Collector – Found a gem
  • Lump Sum – Collected 500 coins
  • Cheat Death – Used a ‘save me’
  • Power Collector – Unlock a 2nd powerup
  • Athlete – Ran 2,500 meters
  • Payday – Collected 750 coins
  • Allergic to Gold – 1,000m collecting no coins
  • 1/4 Million Club – Scored 250,000 points
  • Lucky Strike – Collected 2 gems in one run
  • Couch to 5k – Collected 5,000 coins
  • 5k Runner – Ran 5,000 meters
  • Steady Feet – Ran 2,500m without tripping
  • 1/2 Million Club – Scored 500,000 points
  • Head Start – Used a ‘Head Start’
  • Double Resurrection – Used ‘Save Me’ twice in one run
  • Bonus Items – Collected 20 bonus items
  • Money Bags – Collected 1,000 coins
  • NoTripRunner – Ran 5,000m without tripping
  • 9 Lives – Used ‘Save Me’ 9 times
  • Marathoner – 100,000 lifetime meters
  • 10k Runner – Ran 10,000 meters
  • Money Bin – Collected 2,500 coins
  • Million Club – Scored 1,000,000 points
  • Minor Miner – 100,000 lifetime coins
  • Fort Knox – Collected 5,000 coins
  • 2.5 Million Club – Scored 2,500,000 points
  • The Spartan – 1 million without powerups
  • 5 Million Club – Scored 5,000,000 points
  • Jackpot – Collected 5 gems in one run
  • Speedy Start – Used 5 ‘Head Starts’
  • 10 Million Club – Score 10,000,000 points
  • Circumnavigator – 1,000,000 lifetime meters
  • Gold Miner – 500,000 lifetime coins
  • Midas Touch – 1,000,000 lifetime coins
  • Infinirunner – 10,000,000 lifetime meters

Be sure to also check out my complete list of abilities & costs and my tips & tricks for playing Temple Run 2!

List of All Temple Run 2 Abilities & Costs

The Android/iOS game Temple Run 2 has nine different abilities that you can upgrade for a certain amount of coins. Each ability can be upgraded through five different levels, with each successive level costing substantially more coins. Here is a complete list of all of those abilities, as well as how many coins each level costs:

Coin Value

  • 250: Double coins after 1,500m
  • 1000: Double coins start after 1,000m
  • 2500: Triple coins start after 3,000m
  • 5000: Triple coins start after 2,500m
  • 10000: Triple coins start after 2,000m

Shield Duration

  • 250: Increase duration by 25%
  • 1000: Increase duration by 50%
  • 2500: Increase duration by 75%
  • 5000: Increase duration by 100%
  • 10000: Increase duration by 150%

Coin Magnet

  • 1000: Increase duration by 25%
  • 2500: Increase duration by 50%
  • 5000: Increase duration by 75%
  • 10000: Increase duration by 100%
  • 25000: Increase duration by 150%

Boost Distance

  • 1000: Increase Distance by 50m
  • 2500: Increase Distance by 100m
  • 5000: Increase Distance by 150m
  • 10000: Increase Distance by 200m
  • 25000: Increase Distance by 250m

Pickup Spawn

  • 2500: Spawn 10% more frequently
  • 5000: Spawn 15% more frequently
  • 10000: Spawn 20% more frequently
  • 25000: Spawn 25% more frequently
  • 50000: Spawn 30% more frequently

Power Meter

  • 2500: Meter fills 10% faster
  • 5000: Meter fills 15% faster
  • 10000: Meter fills 20% faster
  • 25000: Meter fills 25% faster
  • 50000: Meter fills 30% faster

Save Me

  • 5000: Reduce Save Me by 1 gem (min 1)
  • 10000: Reduce Save Me by 2 gems (min 1)
  • 15000: Reduce Save Me by 3 gems (min 1)
  • 25000: Reduce Save Me by 4 gems (min 1)
  • 50000: Reduce Save Me by 5 gems (min 1)

Head Start

  • 5000: Head Start costs 250 less coins
  • 10000: Head Start costs 500 less coins
  • 15000: Mega Head Start costs 500 less coins
  • 25000: Mega Head Start costs 1000 less coins
  • 50000: Mega Head Start costs 2500 less coins

Score Multiplier

  • 5000: Increase Multiplier by 1
  • 10000: Increase Multiplier by 2
  • 15000: Increase Multiplier by 3
  • 25000: Increase Multiplier by 4
  • 50000: Increase Multiplier by 5

Upgrading everything to its maximum level would cost 624,500 coins total!!

Be sure to also check out my complete list of objectives and my tips & tricks for playing Temple Run 2!