# Gradle app build doesnt work

**URL:** <https://discuss.gradle.org/t/gradle-app-build-doesnt-work/31734>\
**Category:** Help/Discuss\
**Created:** [May 11, 2019, 5:19pm UTC](https://discuss.gradle.org/t/gradle-app-build-doesnt-work/31734 "2019-05-11T17:19:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![crispy](https://avatars.discourse-cdn.com/v4/letter/c/e47774/32.png) [@crispy](https://discuss.gradle.org/u/crispy)\
**Post date:** [May 11, 2019, 5:19pm UTC](https://discuss.gradle.org/t/gradle-app-build-doesnt-work/31734/1 "2019-05-11T17:19:53Z")

</div>

Hi,

i installed Android Studio, then opened a new project with empty activity.

Started my emulator

when i try to run the app i get the following error:

> FAILURE: Build failed with an exception.
> 
> - What went wrong:  
> Execution failed for task ‘:app:transformNativeLibsWithMergeJniLibsForDebug’.
> 
> > Could not resolve all files for configuration ‘:app:debugRuntimeClasspath’.  
> > java.lang.IllegalStateException: Cannot parse result path string:
> 
> - 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](https://help.gradle.org)
> 
> Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0.  
> Use ‘–warning-mode all’ to show the individual deprecation warnings.  
> See [Command-Line Interface](https://docs.gradle.org/5.1.1/userguide/command_line_interface.html#sec:command_line_warnings)
> 
> BUILD FAILED in 2s  
> 30 actionable tasks: 6 executed, 24 up-to-date

I cant find any solution that is working for me on the internet, maybe u guys can help me

Thanks in advance

---

<div class="post-metadata">

**Author:** ![crispy](https://avatars.discourse-cdn.com/v4/letter/c/e47774/32.png) [@crispy](https://discuss.gradle.org/u/crispy)\
**Post date:** [May 11, 2019, 5:28pm UTC](https://discuss.gradle.org/t/gradle-app-build-doesnt-work/31734/2 "2019-05-11T17:28:22Z")

</div>

These are my build files

project

> ```
> // Top-level build file where you can add configuration options common to all sub-projects/modules.
> 
> buildscript {
> repositories {
> google()
> jcenter()
>     
> }
> dependencies {
> classpath 'com.android.tools.build:gradle:3.4.0'
>     
> // NOTE: Do not place your application dependencies here; they belong
> // in the individual module build.gradle files
> }
> }
> 
> allprojects {
> repositories {
> google()
> jcenter()
>     
> }
> }
> 
> task clean(type: Delete) {
> delete rootProject.buildDir
> }
> 
> ```

build for the app

> ```
> apply plugin: 'com.android.application'
> 
> android {
> compileSdkVersion 28
> defaultConfig {
> applicationId "com.example.meow2"
> minSdkVersion 15
> targetSdkVersion 28
> versionCode 1
> versionName "1.0"
> testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
> }
> buildTypes {
> release {
> minifyEnabled false
> proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
> }
> }
> compileOptions {
> sourceCompatibility = '1.8'
> targetCompatibility = '1.8'
> }
> buildToolsVersion = '29.0.0 rc3'
> }
> 
> dependencies {
> implementation fileTree(dir: 'libs', include: ['*.jar'])
> implementation 'com.android.support:appcompat-v7:28.0.0'
> implementation 'com.android.support.constraint:constraint-layout:2.0.0-beta1'
> testImplementation 'junit:junit:4.13-beta-2'
> androidTestImplementation 'com.android.support.test:runner:1.0.2'
> androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
> }
> 
> ```

and my settings

`

> include ‘:app’

`

---

<div class="post-metadata">

**Author:** ![crispy](https://avatars.discourse-cdn.com/v4/letter/c/e47774/32.png) [@crispy](https://discuss.gradle.org/u/crispy)\
**Post date:** [May 13, 2019, 3:28pm UTC](https://discuss.gradle.org/t/gradle-app-build-doesnt-work/31734/3 "2019-05-13T15:28:15Z")

</div>

fixed it by deleting all the android related directories on my pc and reinstalled everything
