Skip to main content
se añadieron 190 caracteres en el cuerpo
Origen Enlace
Yasel
  • 31
  • 6

Obtengo el mensaje de error al sincronizar con gradle 2.14 y jdk 1.8:

Gradle sync failed: Could not initialize class com.google.common.reflect.Types$NativeTypeVariableEquals

Cuando doy clean al project me da este otro error al sincronizar >Error:Could not create an instance of type org.gradle.api.internal.project.DefaultProject_Decorated. >Could not initialize class com.google.common.reflect.Types$NativeTypeVariableEquals

o en ocaciones este

Error:(class: com/google/common/reflect/Types$TypeVariableImpl, method: isAnnotationPresent signature: (Ljava/lang/Class;)Z) Illegal use of nonvirtual function call

build.gradle (app)

apply plugin: 'com.android.application'

android {
compileSdkVersion 22
buildToolsVersion "22.0.1"

defaultConfig {
    applicationId "com.example.yas.myapplication"
    minSdkVersion 15
    targetSdkVersion 22
    versionCode 1
    versionName "1.0"
}
buildTypes {
    release {
        minifyEnabled false
        proguardFiles getDefaultProguardFile('proguard-android.txt'),  
'proguard-rules.pro'
    }
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:22.1.1'
compile 'com.android.support:design:22.1.1'
}

build.gradle

buildscript {
repositories {
    jcenter()
}
dependencies {
    classpath 'com.android.tools.build:gradle:2.1.3'
    // NOTE: Do not place your application dependencies here; they belong
    // in the individual module build.gradle files
}
}
allprojects {
repositories {
    jcenter()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}*

Obtengo el mensaje de error al sincronizar con gradle 2.14 y jdk 1.8:

Gradle sync failed: Could not initialize class com.google.common.reflect.Types$NativeTypeVariableEquals

Cuando doy clean al project me da este otro error al sincronizar >Error:Could not create an instance of type org.gradle.api.internal.project.DefaultProject_Decorated. >Could not initialize class com.google.common.reflect.Types$NativeTypeVariableEquals

build.gradle (app)

apply plugin: 'com.android.application'

android {
compileSdkVersion 22
buildToolsVersion "22.0.1"

defaultConfig {
    applicationId "com.example.yas.myapplication"
    minSdkVersion 15
    targetSdkVersion 22
    versionCode 1
    versionName "1.0"
}
buildTypes {
    release {
        minifyEnabled false
        proguardFiles getDefaultProguardFile('proguard-android.txt'),  
'proguard-rules.pro'
    }
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:22.1.1'
compile 'com.android.support:design:22.1.1'
}

build.gradle

buildscript {
repositories {
    jcenter()
}
dependencies {
    classpath 'com.android.tools.build:gradle:2.1.3'
    // NOTE: Do not place your application dependencies here; they belong
    // in the individual module build.gradle files
}
}
allprojects {
repositories {
    jcenter()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}*

Obtengo el mensaje de error al sincronizar con gradle 2.14 y jdk 1.8:

Gradle sync failed: Could not initialize class com.google.common.reflect.Types$NativeTypeVariableEquals

Cuando doy clean al project me da este otro error al sincronizar >Error:Could not create an instance of type org.gradle.api.internal.project.DefaultProject_Decorated. >Could not initialize class com.google.common.reflect.Types$NativeTypeVariableEquals

o en ocaciones este

Error:(class: com/google/common/reflect/Types$TypeVariableImpl, method: isAnnotationPresent signature: (Ljava/lang/Class;)Z) Illegal use of nonvirtual function call

build.gradle (app)

apply plugin: 'com.android.application'

android {
compileSdkVersion 22
buildToolsVersion "22.0.1"

defaultConfig {
    applicationId "com.example.yas.myapplication"
    minSdkVersion 15
    targetSdkVersion 22
    versionCode 1
    versionName "1.0"
}
buildTypes {
    release {
        minifyEnabled false
        proguardFiles getDefaultProguardFile('proguard-android.txt'),  
'proguard-rules.pro'
    }
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:22.1.1'
compile 'com.android.support:design:22.1.1'
}

build.gradle

buildscript {
repositories {
    jcenter()
}
dependencies {
    classpath 'com.android.tools.build:gradle:2.1.3'
    // NOTE: Do not place your application dependencies here; they belong
    // in the individual module build.gradle files
}
}
allprojects {
repositories {
    jcenter()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}*
se añadieron 1273 caracteres en el cuerpo
Origen Enlace
Yasel
  • 31
  • 6

Obtengo el mensaje de error al sincronizar con gradle 2.14 y jdk 1.8:

Gradle sync failed: Could not initialize class com.google.common.reflect.Types$NativeTypeVariableEquals

Cuando doy clean al project me da este otro error al sincronizar >Error:Could not create an instance of type org.gradle.api.internal.project.DefaultProject_Decorated. >Could not initialize class com.google.common.reflect.Types$NativeTypeVariableEquals

build.gradle (app)

apply plugin: 'com.android.application'

android {
compileSdkVersion 22
buildToolsVersion "22.0.1"

defaultConfig {
    applicationId "com.example.yas.myapplication"
    minSdkVersion 15
    targetSdkVersion 22
    versionCode 1
    versionName "1.0"
}
buildTypes {
    release {
        minifyEnabled false
        proguardFiles getDefaultProguardFile('proguard-android.txt'),                  
'proguard-rules.pro'
    }
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:22.1.1'
compile 'com.android.support:design:22.1.1'
}

build.gradle

buildscript {
repositories {
    jcenter()
}
dependencies {
    classpath 'com.android.tools.build:gradle:2.1.3'
    // NOTE: Do not place your application dependencies here; they belong
    // in the individual module build.gradle files
}
}
allprojects {
repositories {
    jcenter()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}*

Obtengo el mensaje de error al sincronizar con gradle 2.14 y jdk 1.8:

Gradle sync failed: Could not initialize class com.google.common.reflect.Types$NativeTypeVariableEquals

Cuando doy clean al project me da este otro error al sincronizar >Error:Could not create an instance of type org.gradle.api.internal.project.DefaultProject_Decorated. >Could not initialize class com.google.common.reflect.Types$NativeTypeVariableEquals

build.gradle (app)

apply plugin: 'com.android.application'

android {
compileSdkVersion 22
buildToolsVersion "22.0.1"

defaultConfig {
    applicationId "com.example.yas.myapplication"
    minSdkVersion 15
    targetSdkVersion 22
    versionCode 1
    versionName "1.0"
}
buildTypes {
    release {
        minifyEnabled false
        proguardFiles getDefaultProguardFile('proguard-android.txt'),                 'proguard-rules.pro'
    }
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:22.1.1'
compile 'com.android.support:design:22.1.1'
}

build.gradle

buildscript {
repositories {
    jcenter()
}
dependencies {
    classpath 'com.android.tools.build:gradle:2.1.3'
    // NOTE: Do not place your application dependencies here; they belong
    // in the individual module build.gradle files
}
}
allprojects {
repositories {
    jcenter()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}*

Obtengo el mensaje de error al sincronizar con gradle 2.14 y jdk 1.8:

Gradle sync failed: Could not initialize class com.google.common.reflect.Types$NativeTypeVariableEquals

Cuando doy clean al project me da este otro error al sincronizar >Error:Could not create an instance of type org.gradle.api.internal.project.DefaultProject_Decorated. >Could not initialize class com.google.common.reflect.Types$NativeTypeVariableEquals

build.gradle (app)

apply plugin: 'com.android.application'

android {
compileSdkVersion 22
buildToolsVersion "22.0.1"

defaultConfig {
    applicationId "com.example.yas.myapplication"
    minSdkVersion 15
    targetSdkVersion 22
    versionCode 1
    versionName "1.0"
}
buildTypes {
    release {
        minifyEnabled false
        proguardFiles getDefaultProguardFile('proguard-android.txt'),   
'proguard-rules.pro'
    }
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:22.1.1'
compile 'com.android.support:design:22.1.1'
}

build.gradle

buildscript {
repositories {
    jcenter()
}
dependencies {
    classpath 'com.android.tools.build:gradle:2.1.3'
    // NOTE: Do not place your application dependencies here; they belong
    // in the individual module build.gradle files
}
}
allprojects {
repositories {
    jcenter()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}*
se añadieron 1273 caracteres en el cuerpo
Origen Enlace
Yasel
  • 31
  • 6

Obtengo el mesajemensaje de error al sincronizar con gradle 2.14 y jdk 1.8:

Gradle sync failed: Could not initialize class com.google.common.reflect.Types$NativeTypeVariableEquals

Gradle sync failedCuando doy clean al project me da este otro error al sincronizar >Error: CouldCould not create an instance of type org.gradle.api.internal.project.DefaultProject_Decorated. >Could not initialize class com com.google.common.reflect.Types$NativeTypeVariableEquals

build.gradle (app) apply plugin: 'com.android.application'

android { compileSdkVersion 22 buildToolsVersion "22.0.1"

apply plugin: 'com.android.application'

android {
compileSdkVersion 22
buildToolsVersion "22.0.1"

defaultConfig {
    applicationId "com.example.yas.myapplication"
    minSdkVersion 15
    targetSdkVersion 22
    versionCode 1
    versionName "1.0"
}
buildTypes {
    release {
        minifyEnabled false
        proguardFiles getDefaultProguardFile('proguard-android.txt'),                 'proguard-rules.pro'
    }
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:22.1.1'
compile 'com.android.support:design:22.1.1'
}

}

dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) testCompile 'junit:junit:4.12' compile 'com.android.support:appcompat-v7:22.1.1' compile 'com.android.support:design:22.1.1' }

build.gradle // Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript { repositories { jcenter() } dependencies { classpath 'com.android.tools.build:gradle:2.1.3'

buildscript {
repositories {
    jcenter()
}
dependencies {
    classpath 'com.android.tools.build:gradle:2.1.3'
    // NOTE: Do not place your application dependencies here; they belong
    // in the individual module build.gradle files
}
}
allprojects {
repositories {
    jcenter()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}*

}

allprojects { repositories { jcenter() } }

task clean(type: Delete) { delete rootProject.buildDir }

Obtengo el mesaje de error al sincronizar con gradle 2.14 y jdk 1.8:

Gradle sync failed: Could not initialize class com.google.common.reflect.Types$NativeTypeVariableEquals

build.gradle (app) apply plugin: 'com.android.application'

android { compileSdkVersion 22 buildToolsVersion "22.0.1"

defaultConfig {
    applicationId "com.example.yas.myapplication"
    minSdkVersion 15
    targetSdkVersion 22
    versionCode 1
    versionName "1.0"
}
buildTypes {
    release {
        minifyEnabled false
        proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
    }
}

}

dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) testCompile 'junit:junit:4.12' compile 'com.android.support:appcompat-v7:22.1.1' compile 'com.android.support:design:22.1.1' }

build.gradle // Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript { repositories { jcenter() } dependencies { classpath 'com.android.tools.build:gradle:2.1.3'

    // NOTE: Do not place your application dependencies here; they belong
    // in the individual module build.gradle files
}

}

allprojects { repositories { jcenter() } }

task clean(type: Delete) { delete rootProject.buildDir }

Obtengo el mensaje de error al sincronizar con gradle 2.14 y jdk 1.8:

Gradle sync failed: Could not initialize class com.google.common.reflect.Types$NativeTypeVariableEquals

Cuando doy clean al project me da este otro error al sincronizar >Error:Could not create an instance of type org.gradle.api.internal.project.DefaultProject_Decorated. >Could not initialize class com.google.common.reflect.Types$NativeTypeVariableEquals

build.gradle (app)

apply plugin: 'com.android.application'

android {
compileSdkVersion 22
buildToolsVersion "22.0.1"

defaultConfig {
    applicationId "com.example.yas.myapplication"
    minSdkVersion 15
    targetSdkVersion 22
    versionCode 1
    versionName "1.0"
}
buildTypes {
    release {
        minifyEnabled false
        proguardFiles getDefaultProguardFile('proguard-android.txt'),                 'proguard-rules.pro'
    }
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:22.1.1'
compile 'com.android.support:design:22.1.1'
}

build.gradle

buildscript {
repositories {
    jcenter()
}
dependencies {
    classpath 'com.android.tools.build:gradle:2.1.3'
    // NOTE: Do not place your application dependencies here; they belong
    // in the individual module build.gradle files
}
}
allprojects {
repositories {
    jcenter()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}*
se añadieron 1273 caracteres en el cuerpo
Origen Enlace
Yasel
  • 31
  • 6
Loading
se añadieron 19 caracteres en el cuerpo
Origen Enlace
Yasel
  • 31
  • 6
Loading
etiquetas editadas
Enlace
Miquel Coll
  • 3.2k
  • 4
  • 24
  • 46
Loading
se añadieron 57 caracteres en el cuerpo
Origen Enlace
Jorgesys
  • 111.1k
  • 14
  • 55
  • 134
Loading
Origen Enlace
Yasel
  • 31
  • 6
Loading