title: Unable to apply changes on device: emulator-5554. Error is: Command ./gradlew failed with exit code 1
body: <p>The app i'm working on works in ios, but wont for android.
  It has worked previously before updating the nativescript version to 3.4.3 from 3.4.1 and Mac OS to High Sierra.</p>
  
  <p>I then had to update the Android Studio version.</p>
  
  <p>The following is the output from tns debug android.</p>
  
  <pre><code>Searching for devices...
  Preparing project...
  Gradle build...
      + applying user-defined configuration from /Mobile/NativeScript-Projects/Genkan/app/App_Resources/Android/app.gradle
      + adding nativescript runtime package dependency: nativescript-optimized
      + adding aar plugin dependency: /Mobile/NativeScript-Projects/Genkan/node_modules/nativescript-imagepicker/platforms/android/nativescript_imagepicker.aar
      + adding aar plugin dependency: /Mobile/NativeScript-Projects/Genkan/node_modules/nativescript-ui-listview/platforms/android/TNSListView-release.aar
      + adding aar plugin dependency: /Mobile/NativeScript-Projects/Genkan/node_modules/nativescript-ui-sidedrawer/platforms/android/TNSSideDrawer-release.aar
      + adding aar plugin dependency: /Mobile/NativeScript-Projects/Genkan/node_modules/nativescript-ui-core/platforms/android/TNSCore-release.aar
      + adding aar plugin dependency: /Mobile/NativeScript-Projects/Genkan/node_modules/tns-core-modules-widgets/platforms/android/widgets-release.aar
  
  FAILURE: Build failed with an exception.
  
  * Where:
  Build file '/Mobile/NativeScript-Projects/Genkan/platforms/android/app/build.gradle' line: 64
  
  * What went wrong:
  A problem occurred configuring project ':app'.
  &gt; Could not get unknown property 'outputFile' for task ':app:packageDebug' of type com.android.build.gradle.tasks.PackageApplication.
  
   * Try:
  Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
  
  * Get more help at https://help.gradle.org
  
  BUILD FAILED in 0s
  Unable to apply changes on device: emulator-5554. Error is: Command ./gradlew failed with exit code 1.
  </code></pre>
  
  <p>the 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="__PACKAGE__"
      android:versionCode="2"
      android:versionName="2.1"&gt;
  
      &lt;supports-screens
          android:smallScreens="true"
          android:normalScreens="true"
          android:largeScreens="true"
          android:xlargeScreens="true"/&gt;
  
      &lt;uses-sdk
          android:minSdkVersion="17"
          android:targetSdkVersion="__APILEVEL__"/&gt;
  
      &lt;uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/&gt;
      &lt;uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/&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.CALL_PHONE"/&gt;
      &lt;application
          android:name="com.tns.NativeScriptApplication"
          android:allowBackup="true"
          android:icon="@drawable/icon"
          android:label="@string/app_name"
          android:theme="@style/AppTheme"&gt;
  
          &lt;activity
              android:name="com.tns.NativeScriptActivity"
              android:label="@string/title_activity_kimera"
              android:configChanges="keyboardHidden|orientation|screenSize"
              android:theme="@style/LaunchScreenTheme"
              android:windowSoftInputMode="adjustPan"&gt;
  
              &lt;meta-data android:name="SET_THEME_ON_LAUNCH" android:resource="@style/AppTheme" /&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="com.tns.ErrorReportActivity"/&gt;
      &lt;/application&gt;
  &lt;/manifest&gt;
  </code></pre>