title: Android NDK r4 san-angeles problem
body: <p>I'm starting to learn the android NDK and I've instantly come up against a problem.</p>
  
  <p>I'e built the tool chain (which took a LOT longer than I was expecting!!) and I've compiled the C++ code with no problems and now I'm trying to build the java code.</p>
  
  <p>Instantly I come up against a problem.  There is a file "main.xml"</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:orientation="vertical"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      &gt;
  &lt;TextView  
      android:layout_width="match_parent" 
      android:layout_height="wrap_content" 
      android:text="Hello World, DemoActivity"
      /&gt;
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>and I get the following errors:</p>
  
  <pre><code>Description Resource Path Location Type
  error: Error: String types not allowed (at 'layout_height' with value 'match_parent'). main.xml /DemoActivity/res/layout line 2 Android AAPT Problem
  error: Error: String types not allowed (at 'layout_height' with value 'match_parent'). main.xml /DemoActivity/res/layout line 2 Android AAPT Problem
  error: Error: String types not allowed (at 'layout_width' with value 'match_parent'). main.xml /DemoActivity/res/layout line 2 Android AAPT Problem
  error: Error: String types not allowed (at 'layout_width' with value 'match_parent'). main.xml /DemoActivity/res/layout line 7 Android AAPT Problem
  error: Error: String types not allowed (at 'layout_width' with value 'match_parent'). main.xml /DemoActivity/res/layout line 7 Android AAPT Problem
  </code></pre>
  
  <p>So I can see the problem lies in the fact that these "match_parent" strings are in there.  Anyone know how to fix this?</p>