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!

Temple Run 2: Tips & Tricks for the Most Coins

The sequel to the popular game “Temple Run” was released for Android & iOS recently. Here are some tips & tricks that I discovered while playing for how to get the most coins and the highest score in Temple Run 2!

  1. Upgrade the Coin Value ability as quickly as possible. At max level, the Coin Value ability allows you to collect double coins (red coins) after 1,000m and triple value coins (blue coins) after 2,000m. Upgrading this ability early will allow you to maximize the number of coins you collect on each run.
  2. Prioritize the Coin Magnet. The coin magnet allows you to collect a lot of coins you otherwise would have missed because of jumping or shifting too early or too late. Definitely upgrade the Coin Magnet ability as much as possible, which allows the magnet to last longer. Upgrading the Pickup Spawn ability will let you find the magnet bubbles more often, so this is also useful to upgrade. More importantly, once your character passes Level 5, the Coin Magnet will be available as a Power Up. If you enable this, every time the power meter fills up you can double tap the screen to immediately activate a coin magnet. Then, upgrading the Power Meter ability will allow you to fill up the meter more quickly, and therefore, use the coin magnet more often.
  3. Collect as many gems as possible and use them to resurrect yourself. The big green gems are very valuable because after you die, you have the opportunity to “save” yourself and resume the game where you died. It only costs one gem for the first “save” on any given game, but the cost increases from there. As a result, I usually only limit myself to using a “save” once per game. Only resurrect yourself if you are past where the double & triple value coins appear. That way, you will be able to capture the most amount of coins for the use of your gem.

You can’t collect any coins if you are dead! Some other tips to stay alive include: In mine cart mode, tilt your phone left and right at each fork instead of swiping. If the game is moving too fast, purposely trip over a roof or turn into a wall. The monster following you will start to catch up, but you will slow down and maneuvering will be easier. Just don’t trip twice!

More coins equals more score, so if you follow these tips, you will be able to collect tons of coins and score very highly!

Be sure to check out my complete list of objectives and complete list of abilities & costs!

What do the “Allow Disabling” Powerups Do In Temple Run?

In the Android & iPhone/iPad game “Temple Run,” the last upgrade for each of the four powerups costs 25,000 coins. These are listed:

  • Allow disabling Mega Coin.
  • Allow disabling Coin Magnet.
  • Allow disabling Invisibility.
  • Allow disabling Boost.

What do these upgrades do? Should you buy them?

These upgrades give you the option of turning OFF whichever powerup you bought the upgrade for. That means you won’t see it appear in actual gameplay. Once you get the “Allow Disabling…” upgrade, you can always turn the powerup back on if you choose. The Store will allow you to freely switch between enabling or disabling the powerup at no additional charge.

So why would you want to turn any of the powerups off? Well, the Mega Coin for example doesn’t give you all that many coins. For that reason, I disable the Mega Coin so I can get one of the other, more powerful powerups more often.

Also, if you are focusing on one specific objective, for example, the “10k Runner” to run 10,000 meters, you may want to enable ONLY the Boost powerup and leave everything else disabled. That way, all powerups you find in the game will be Boosts, and you can get a better run distance.

Finally, if you want to collect the most number of coins possible, you need to disable every powerup aside from the Coin Magnet, like I describe in my earlier blog post here.