title: Android Manifest Error Manifest file doesn't end with a final newline
body: <p>Error:</p>
  
  <hr>
  
  <p>Manifest file doesn't end with a final newline...</p>
  
  <p>Checks whether a manifest file ends with a final newline (as required by JAR specifications)</p>
  
  <p>Expected ":"</p>
  
  <hr>
  
  <p>Here's the AndroidManifest</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.myapplication2.app" &gt;
  
  &lt;application
      android:allowBackup="true"
      android:icon="@drawable/ic_launcher"
      android:label="@string/app_name"
      android:theme="@style/AppTheme" &gt;
      &lt;activity
          android:name="com.myapplication2.app.MainActivity"
          android:label="@string/app_name" &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;/application&gt;
  
  &lt;/manifest&gt;
  </code></pre>
  
  <p>It shows on the   android.intent.action.MAIN  line, underlined in red...Android Studio - which it says is the latest version when I click check for updates. </p>
  
  <p>It started to show on a project that had a perfectly working manifest file.  After failed results from researching the error, I made a new project - all defaults - latest version - and did File->Invalidate Caches and Restart (one suggestion I found) but still the same error.</p>
  
  <p>Any ideas, am I missing a setting, etc...
  thx </p>