title: --target native-lib is not a directory
body: <p>I successfully implement the Native support in the android project, but  after changing the project path  (Just place the project into sub directory) getting error while building the app.</p>
  
  <pre><code>"app/.externalNativeBuild/cmake/debug/x86 --target native-lib is not a directory" 
  </code></pre>
  
  <p>Also unable to clean and rebuild the project. Project is working prefect before. Also there is no space in the project path.</p>
  
  <p>Thanks for you support in advance.</p>
  
  <p>I am using Ubuntu 18.04, CMake 3.10.2, Android studio 3.3</p>
  
  <p>Here is the CMakeLists.txt (path: appModule/CMakeLists.txt)</p>
  
  <pre><code>cmake_minimum_required(VERSION 3.4.1)
  
  add_library( native-lib
           SHARED
           src/main/cpp/native-lib.cpp )
  
  find_library( log-lib
            log )
  
  target_link_libraries( native-lib
                 ${log-lib} )
  </code></pre>
  
  <p>and the App build.gradele</p>
  
  <pre><code>apply plugin: 'com.android.application'
  apply plugin: 'io.fabric'
  
  repositories {
      maven { url 'https://maven.fabric.io/public' }
      mavenCentral()
      google()
  }
  
  android {
      compileSdkVersion 28
      defaultConfig {
          applicationId 'application_id'
          minSdkVersion 17
          targetSdkVersion 28
          versionCode 6
          versionName "1.2"
          testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
  
          multiDexEnabled true
          externalNativeBuild {
        cmake {
            cppFlags "-std=c++11"
        }
          }
      }
      buildTypes {
          release {
        shrinkResources true
        minifyEnabled true
        proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
          }
          debug {
        debuggable true
        shrinkResources true
        minifyEnabled true
        proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
          }
      }
      externalNativeBuild {
          cmake {
        path "CMakeLists.txt"
          }
      }
  
      compileOptions {
          sourceCompatibility JavaVersion.VERSION_1_8
          targetCompatibility JavaVersion.VERSION_1_8
      }
  }
  </code></pre>