Programmierung für Android ist neu für mich. Daher ist Eclipse auch neu. Ich habe versucht, kleine Dinge zu schaffen. Aber jedes Beispiel, das ich finde, muss ich in der main.xml bearbeiten.Probleme mit main.xml in Eclipse (Android)
Mein Problem ist, wenn ich diese Datei verwende, bekomme ich einen Fehler. Ich weiß nicht, was es verursacht. Ich weiß nicht, wie ich es loswerden soll.
Ich habe versucht, Guids auf Youtube folgen. Folgt ihm auf den Punkt. Trotzdem, Fehler bekommen.
Hat jemand eine Idee, was dieses Problem verursacht? und wichtiger: wie man es löst?
[2012-03-26 12:12:40 - No XML] emulator-5554 disconnected! Cancelling 'cyperia.noXML.NoXMLActivity activity launch'!
[2012-03-26 12:12:52 - No XML] Error in an XML file: aborting build.
[2012-03-26 12:13:00 - No XML] res\layout\main.xml:0: error: Resource entry main is already defined.
[2012-03-26 12:13:00 - No XML] res\layout\main.out.xml:0: Originally defined here.
[2012-03-26 12:13:00 - No XML] C:\Users\Illum\workspace\No XML\res\layout\main.out.xml:1: error: Error parsing XML: no element found
[2012-03-26 12:13:01 - No XML] 'default' is not a best match for any device/locale combination.
[2012-03-26 12:13:01 - No XML] Displaying it with 'Locale Language ___Region __, sw320dp, w320dp, h533dp, Normal Screen, Long screen aspect ratio, Portrait Orientation, Normal, Day time, High Density, Finger-based touchscreen, Soft keyboard, No keyboard, Exposed navigation, Trackball navigation, Screen resolution 800x480, API Level 15' which is compatible, but will actually be displayed with another more specific version of the layout.
[2012-03-26 12:13:02 - No XML] Error in an XML file: aborting build.
Fügen Sie Ihre main.xml hier ein. –