title: How Get rid of NDK compiler warning: "APP_PLATFORM is larger.." and "Invalid package"
body: <p>I have the following Application.mk</p>
  
  <pre><code>APP_PLATFORM := android-9
  APP_STL := gnustl_static
  APP_CPPFLAGS := -frtti -fexceptions -O2 -mfpu=neon -mfloat-abi=softfp
  APP_ABI := armeabi-v7a
  LOCAL_ARM_NEON := true
  </code></pre>
  
  <p>and when running ndk-build I always get the warnings:</p>
  
  <pre><code>Invalid attribute name: 
      package
  /Users/tmanthey/Documents/android/android-ndk-r8d/build/core/add-application.mk:128: Android NDK: WARNING: APP_PLATFORM android-14 is larger than android:minSdkVersion  in ./AndroidManifest.xml    
  Invalid attribute name: 
      package
  </code></pre>
  
  <p>This is my AndroidManifest.xml</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
      package="com.evotegra.aCoDriver"
      android:versionCode="1"
      android:versionName="1.0" &gt;
  
      &lt;uses-sdk android:minSdkVersion="9" android:targetSdkVersion="17" /&gt;
  
      &lt;uses-permission android:name="android.permission.CAMERA" /&gt;
  
      &lt;uses-feature android:name="android.hardware.camera" /&gt;
      &lt;uses-feature android:name="android.hardware.camera.autofocus" /&gt;
  
      &lt;uses-permission android:name="android.permission.INTERNET" /&gt;
      &lt;uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /&gt;
      &lt;uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /&gt;
      &lt;uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /&gt;
      &lt;uses-permission android:name="android.permission.VIBRATE"/&gt;
  
      &lt;application
          android:name=".ACoDriverApp"
          android:icon="@drawable/ic_launcher"
          android:label="@string/app_name" android:allowBackup="true"&gt;
          &lt;activity
              android:name=".ACoDriverActivity"
              android:label="@string/app_name" android:launchMode="singleTask"&gt;
              &lt;intent-filter&gt;
                  &lt;action android:name="android.intent.action.MAIN" /&gt;
  
                  &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
              &lt;/intent-filter&gt;
          &lt;/activity&gt;
          &lt;activity android:name="PreferencesActivity" /&gt;
          &lt;activity android:name="GaugeSelectActivity" /&gt;
      &lt;/application&gt;
  
  &lt;/manifest&gt;
  </code></pre>
  
  <p>How can I get rid of these warnings?</p>