title: AAPT2 error: check logs for details after Android Studio upgrade
body: <p>I've upgraded my Android Studio, since this I get an error "AAPT2 error: check logs for details"</p>
  
  <p>In the internet I didn't find a solution.</p>
  
  <p>My 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="ch.workouttracker"
      android:versionCode="1"
      android:versionName="1.0" &gt;
  
      &lt;!--
           The ACCESS_COARSE/FINE_LOCATION permissions are not required to use
           Google Maps Android API v2, but you must specify either coarse or fine
           location permissions for the 'MyLocation' functionality. 
      --&gt;
      &lt;uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /&gt;
      &lt;uses-permission android:name="android.permission.INTERNET" /&gt;
      &lt;uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /&gt;
      &lt;uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /&gt;
  
      &lt;meta-data
          android:name="com.google.android.geo.API_KEY"
          android:value="@string/google_maps_key" /&gt;
  
      &lt;application
          android:allowBackup="true"
          android:icon="@mipmap/ic_launcher"
          android:label="@string/app_name"
          android:supportsRtl="true"
          android:theme="@style/AppTheme"&gt;
  
          &lt;activity android:name=".TrackActivity"&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=".ProfileActivity"
              android:label="@string/title_activity_profile" &gt;
  
          &lt;/activity&gt;
          &lt;activity
              android:name=".TrackCardioActivity"
              android:label="@string/title_activity_track_cardio"&gt;
  
          &lt;/activity&gt;
          &lt;activity
              android:name=".TrackWorkoutActivity"
              android:label="@string/title_activity_track_workout" &gt;
  
          &lt;/activity&gt;
          &lt;activity
              android:name=".LogoutActivity"
              android:label="@string/title_activity_logout"&gt;
  
          &lt;/activity&gt;
          &lt;activity
              android:name=".SettingsActivity"
              android:label="@string/title_activity_settings" &gt;
  
          &lt;/activity&gt;
          &lt;activity
              android:name=".DashbordActivity"
              android:label="@string/title_activity_dashboard" &gt;
  
          &lt;/activity&gt;
          &lt;activity
              android:name=".CreatePlanActivity"
              android:label="@string/title_activity_create_plan" &gt;
  
          &lt;/activity&gt;
          &lt;activity
              android:name=".CreateExerciseActivity"
              android:label="@string/title_activity_create_exercise" &gt;
  
          &lt;/activity&gt;
          &lt;activity
              android:name=".EditActivity"
              android:label="@string/title_activity_edit" &gt;
  
          &lt;/activity&gt;
          &lt;activity
              android:name=".LoginActivity"
              android:label="@string/title_activity_login" &gt;
  
          &lt;/activity&gt;
          &lt;activity
              android:name=".WorkoutDetailActivity"
              android:label="@string/title_activity_workout_detail" &gt;
  
          &lt;/activity&gt;
          &lt;activity
              android:name=".PlanDetailActivity"
              android:label="@string/title_activity_plan_detail" &gt;
  
          &lt;/activity&gt;
          &lt;activity android:name=".CalendarActivity" &gt;
  
          &lt;/activity&gt;
          &lt;activity android:name=".EditExerciseActivity"&gt;
  
          &lt;/activity&gt;
      &lt;/application&gt;
  &lt;/manifest&gt;
  </code></pre>
  
  <p>I tried a reinstall and downgrad of the android sdk. I deleted .gradle. I set the property <code>android.enableAapt2=false</code> in <code>gradle.properties</code></p>
  
  <p>What else can I try? What other information do you need?</p>