Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » String types not allowed(at 'icon' with value 'android:drawable/ic_media_play')
icon5.gif  String types not allowed(at 'icon' with value 'android:drawable/ic_media_play') [message #1469798] Tue, 11 November 2014 22:42 Go to next message
wouter de jong is currently offline wouter de jongFriend
Messages: 1
Registered: November 2014
Junior Member
So I just wanted to import some pictures from the drawable-hdpi in the map: android-dks > platforms > android-10 > data > res > drawable-hdpi. But I got this error when I tried to save:
String types not allowed(at 'icon' with value 'android:drawable/ic_media_play')

<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="this/link/i/can/not/give/because/of/less/than/5/posts/apk/res/android" >

<item android:id="@+id/newgame"
android:title="@string/nameGame_label"
android:icon="android:drawable/ic_media_play"
/>
<item android:id="@+id/exitgame"
android:title="@string/exitgame_label"
android:icon="android:drawable/ic_menu_block"
/>


</menu>

The error came in my game_menu.xml file
  • Attachment: Knipsel.PNG
    (Size: 53.68KB, Downloaded 178 times)
Re: String types not allowed(at 'icon' with value 'android:drawable/ic_media_play') [message #1470167 is a reply to message #1469798] Wed, 12 November 2014 06:04 Go to previous message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 3828
Registered: July 2009
Senior Member

You need an Android forum instead of this one.

https://www.eclipse.org/forums/index.php/t/225513/


Nitin Dahyabhai
Eclipse Web Tools Platform
Previous Topic:Installing JUnit 4 in Eclipse
Next Topic:ECLIPSE JAVA
Goto Forum:
  


Current Time: Fri Sep 18 15:26:18 GMT 2020

Powered by FUDForum. Page generated in 0.02893 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top