Error: java.lang.NullPointerException (no error message)

1

At the moment of pressing play on android studio

I really do not know where the dilemma is because it does not specify much ...

Gradle

  apply plugin: 'com.android.application'

android {
    compileSdkVersion 23
    buildToolsVersion "23.0.3"

    defaultConfig {
        applicationId "com.example.hp14.iteracion2"
        minSdkVersion 15
        targetSdkVersion 23
        versionCode 1
        versionName "1.0"

    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }


}

dependencies {
    compile fileTree(include: ['*.jar'], dir: 'libs')
    compile files('libs/volley.jar')
    compile 'com.android.support:appcompat-v7:23.3.0'
    compile 'com.android.support:design:23.3.0'
    compile 'com.android.support:support-v4:23.3.0'
    compile 'com.loopj.android:android-async-http:1.4.9'
    compile 'de.keyboardsurfer.android.widget:crouton:1.8.5@aar'
    compile 'com.google.android.gms:play-services:8.4.0'
    testCompile 'junit:junit:4.12'
    compile 'com.squareup.picasso:picasso:2.5.2'
    compile files('libs/glide-3.7.0.jar')
    compile 'com.android.support:recyclerview-v7:23.3.0'
    compile 'com.android.volley:volley:1.0.0'
    compile 'com.github.bumptech.glide:glide:3.7.0'
    compile 'com.android.support:cardview-v7:23.3.0'
}
    
asked by Ashley G. 05.01.2017 в 15:24
source

1 answer

1

This error appeared to me a while ago when the light went out while the project was being opened.

In my case it was that the file gradle had become corrupt. Removing the gradle folder from the project, the project returned to work without any error since Android Studio rebuilds it when you start the project.

This folder can be found inside the folder in which you have your application stored.

    
answered by 05.01.2017 / 15:42
source