Note that there are some explanatory texts on larger screens.

plurals
  1. POEclipse Errors: Error parsing XML: not well-formed (invalid token)
    primarykey
    data
    text
    <p><strong>This is my code:</strong> </p> <pre><code> &lt;?xml version="1.0" encoding="utf-8"?&gt; LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="horizontal" &lt;EditText android:id="@+id/edit_message" android:layout_weight="1" android:layout_width="0dp" android:layout_height="wrap_content" android:hint="@string/edit_message"; &lt;/EditText&gt; &lt;Button android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/button_send"; &lt;/Button&gt; &lt;/LinearLayout&gt; </code></pre> <p>There's an error at the first EditText and first Button lines, the first error being the one in the title, and the second one being: 'Element type 'EditText' must be followed by either Attribute Specifications, '>' or '/>'</p> <p>What's wrong? the whole code is made (almost) exactly as shown here <a href="http://developer.android.com/training/basics/firstapp/building-ui.html" rel="nofollow">http://developer.android.com/training/basics/firstapp/building-ui.html</a></p> <p>(and i'm sorry if I misspelled or forgot anything, I'm a noob here...)</p> <p>EDIT: Thanks, guys, but I tried pasting your code over mine. Though there are no X signs, the debug tool still says there are some errors...</p> <p>EDIT: Yes, I have the needed strings, as I followed the tutorial. But I don't understand... If I paste the code given on the tutorial's site to Eclipse, there's still an error! I'll try opening the .xml in another program.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload