profile
viewpoint
Kay-Uwe Janssen dodgex @evosec Germany

dodgex/androidannotations 0

Fast Android Development. Easy maintainance.

dodgex/androidannotations.github.com 0

Homepage of AndroidAnnotations

dodgex/dotfiles 0

My dotfiles...

dodgex/EclipseCodeFormatter 0

IntelliJ plugin - Allows using Eclipse's code formatter directly from IntelliJ. https://plugins.jetbrains.com/plugin/6546-eclipse-code-formatter

dodgex/mattermost-plugin 0

Jenkins plugin for Mattermost

issue closedandroidannotations/androidannotations

Singleton not initialized correctly while minifyEnabled = true

AndroidAnnotations version: 4.6.0 Android compile SDK version: 28 gradle buildTypes:

buildTypes {
    release {
        zipAlignEnabled true
        minifyEnabled true
        shrinkResources true
        proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro', 'proguard-rules-addon-release.pro'
    }
    debug {
        debuggable true
        zipAlignEnabled true
        minifyEnabled false
        useProguard false
        shrinkResources false
        proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro', 'proguard-rules-addon-debug.pro'
    }
}

*Stacktrace in case of AA crash Our AndroidTV App works fine in with debug build but crashs with release build, if minifyEnabled = true. Some variable of initialized EBeans is null. I dont know why. We have androidx and gradle plugins 3.6.1. R8 = true. Currently i cant enable proguard in release. I use proguard config from here: https://github.com/androidannotations/androidannotations/wiki/Proguard

it seems the problem of AA ?

closed time in 7 days

namdroid

issue commentandroidannotations/androidannotations

Singleton not initialized correctly while minifyEnabled = true

Closing due to lack fo response

namdroid

comment created time in 7 days

issue closedandroidannotations/androidannotations

AA doesn't work with Kotlin1.4

AndroidAnnotations doesn't work with functions annotated with @JvmOverloads and @UiThread. Since Kotlin1.4, jvm codes are seems to changed to given final modifier. (maybe methods with default values are given the modifier.)

Any way to avoid this error? Thanks.

AndroidAnnotations version: 4.6.0 Android compile SDK version: 28

Annotated code:

@UiThread
@JvmOverloads
fun test(arg1: String, arg2: String = "default") {}

Stacktrace in case of AA crash:

org.androidannotations.annotations.UiThread cannot be used on a final element
    @org.androidannotations.annotations.UiThread()

jvm code with kotlin1.4:

@org.androidannotations.annotations.UiThread
public final void test(@org.jetbrains.annotations.NotNull() String arg1) {}

@org.androidannotations.annotations.UiThread
public void test(@org.jetbrains.annotations.NotNull() String arg1, @org.jetbrains.annotations.NotNull() String arg2) {}

jvm code with kotlin1.3:

@org.androidannotations.annotations.UiThread
public void test(@org.jetbrains.annotations.NotNull() String arg1) {}

@org.androidannotations.annotations.UiThread
public void test(@org.jetbrains.annotations.NotNull() String arg1, @org.jetbrains.annotations.NotNull() String arg2) {}

closed time in 7 days

ytakahashi1981

issue closedandroidannotations/androidannotations

Compile warning after upgrade to AA 4.7.0

This is a link to https://github.com/cgeo/cgeo/issues/8339

With AndroidAnnotations 4.6 and gradle plugin 3.5.0 we encountered the error described in #2229 and used the workaround described there.

After release of AA 4.7.0 we upgraded to 4.7.0 and removed the workaround, and the error described in #2229 vanished.

But now a new compile warning is being generated on each run:

Task :main:compileBasicDebugJavaWithJavac warning: A class activity declared in the AndroidManifest.xml cannot be found in the compile path: [leakcanary.internal.AppWatcherInstaller$MainProcess]

I couldn't find anything for it on either AndroidAnnotations or LeakCanary sites. Can someone shed some light on what to do to fix this bug? Thanks.

closed time in 7 days

moving-bits

issue commentandroidannotations/androidannotations

Compile warning after upgrade to AA 4.7.0

You can ignore that warning.

moving-bits

comment created time in 7 days

push eventandroidannotations/androidannotations

Csaba Kozak

commit sha 918d06f5d5aa5f8a41bbe872773f94c84a6eacac

Use 4.8.0 in example projects

view details

Csaba Kozak

commit sha 9404f0ecca723ea2c7dd9620758037a02a8f7b34

Update plugins in Maven example

view details

Csaba Kozák

commit sha 52566338e49182279b3bc453f5fbc3f650d0da7e

Merge pull request #2287 from androidannotations/update-examples Update examples

view details

push time in 8 days

delete branch androidannotations/androidannotations

delete branch : update-examples

delete time in 8 days

issue commentandroidannotations/androidannotations

new version build failed

4.8.0 is released now.

jielundewode

comment created time in 8 days

create barnchandroidannotations/androidannotations

branch : update-examples

created branch time in 8 days

GollumEvent

delete branch androidannotations/androidannotations

delete branch : release/4.8.0

delete time in 8 days

push eventandroidannotations/androidannotations

Csaba Kozak

commit sha 0187ff5446af0bbf030b5fb994c6a178401af245

[maven-release-plugin] prepare for next development iteration

view details

Csaba Kozak

commit sha 05295dc962e1595f6490aef611ff38d3526352d8

Merge branch 'release/4.7.0' into develop

view details

Csaba Kozak

commit sha 502c9d6556bceb8afe8cdd309fa03bc8039afd85

Update example projects

view details

Kay-Uwe Janssen

commit sha 40f20f94630266efd6f7a68af6a9e0fe324d6b88

Merge pull request #2266 from WonderCsabo/update-example-projects Update example projects

view details

Csaba Kozak

commit sha e3ad4b77287d07891dc3edd1bd6680a6435ee3d1

Fix finding project folder on Windows

view details

Kay-Uwe Janssen

commit sha d6048e1a09e7bb05a26f1f309621421181e865e8

Merge pull request #2269 from WonderCsabo/2267-windows-manifest-finder Fix finding project folder on Windows

view details

Csaba Kozak

commit sha 7bef0a3e962135f1815dddc31dfdb9fa7d98ec84

Support Android Gradle Plugin 4.1

view details

Csaba Kozák

commit sha 7bf2b134a688fcc0b985dc32bb6bca164ea1a2e6

Merge pull request #2285 from androidannotations/agp-4.1 Support Android Gradle Plugin 4.1

view details

Csaba Kozak

commit sha 66d82fc8a4a81cf5e6a2dc7d500cdd1662258c4d

[maven-release-plugin] prepare release androidannotations-4.8.0

view details

Csaba Kozak

commit sha 7a0711ff1acc324e9ba1dfab7758ec25f5da2783

Merge tag 'androidannotations-4.8.0' into master [maven-release-plugin] copy for tag androidannotations-4.8.0

view details

push time in 8 days

push eventandroidannotations/androidannotations

Csaba Kozak

commit sha 66d82fc8a4a81cf5e6a2dc7d500cdd1662258c4d

[maven-release-plugin] prepare release androidannotations-4.8.0

view details

Csaba Kozak

commit sha ca40e100fccf8ff2ba1d4060f612e5ddee011a86

[maven-release-plugin] prepare for next development iteration

view details

Csaba Kozak

commit sha bf3b6e4e51235d86c78a2a86de8067759805b0b4

Merge branch 'release/4.8.0' into develop

view details

push time in 8 days

push eventandroidannotations/androidannotations

Csaba Kozak

commit sha ca40e100fccf8ff2ba1d4060f612e5ddee011a86

[maven-release-plugin] prepare for next development iteration

view details

push time in 8 days

create barnchandroidannotations/androidannotations

branch : release/4.8.0

created branch time in 8 days

created tagandroidannotations/androidannotations

tagandroidannotations-4.8.0

Fast Android Development. Easy maintainance.

created time in 8 days

push eventandroidannotations/androidannotations

Csaba Kozak

commit sha 7bef0a3e962135f1815dddc31dfdb9fa7d98ec84

Support Android Gradle Plugin 4.1

view details

Csaba Kozák

commit sha 7bf2b134a688fcc0b985dc32bb6bca164ea1a2e6

Merge pull request #2285 from androidannotations/agp-4.1 Support Android Gradle Plugin 4.1

view details

push time in 8 days

delete branch androidannotations/androidannotations

delete branch : agp-4.1

delete time in 8 days

push eventandroidannotations/androidannotations

Csaba Kozak

commit sha 7bef0a3e962135f1815dddc31dfdb9fa7d98ec84

Support Android Gradle Plugin 4.1

view details

push time in 8 days

push eventandroidannotations/androidannotations

Csaba Kozak

commit sha acdedbe9580fb8eb374cf1a0f53bcca80296a318

Support Android Gradle Plugin 4.1

view details

push time in 8 days

push eventandroidannotations/androidannotations

Csaba Kozak

commit sha de033e317caec4ce3336ca564eab5dfdd75646c4

Support Android Gradle Plugin 4.1

view details

push time in 8 days

issue closedandroidannotations/androidannotations

Error: Cannot find symbol

AndroidAnnotations version: 4.7.0 Compile SDK version: 29 Android SDK Build-Tools: 28.0.3 com.android.tools.build:gradle: 4.1.1 (also tried 3.2.0, 3.6.1) Android Studio: 4.1.1 Gradle Wrapper Version: 6.5

Well, I'm updating a project. I updated the SDK version, migrated to AndroidX and updated some dependencies. Now, when running the project, I have this error:

error: cannot find symbol import package.preferences.ConfigPrefs_; ^ symbol: class ConfigPrefs_ location: package package.preferences

The error is occurring with all classes with annotations. The classes are being generated in java (generated), and are being imported without error. I already tried Clean, Rebuild, Sync Project with Gradles and Invalidate Caches and Restart.

GRADLE

buildscript { dependencies { classpath 'com.android.tools.build:gradle:4.1.1' classpath 'com.google.gms:google-services:4.3.4' classpath 'com.google.firebase:firebase-crashlytics-gradle:2.4.1' } }

apply plugin: 'com.android.application' apply plugin: 'com.google.gms.google-services'

def AAVersion = '4.7.0' final def ApplicationId = "com.package"

allprojects { repositories {

    maven { url 'https://repo.spring.io/milestone' }
    maven { url 'https://repo1.maven.org/maven2' }
    maven { url "https://dl.bintray.com/populov/maven" }
    maven { url "https://dl.bintray.com/journeyapps/maven" }
    maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
    maven { url "https://jitpack.io" }
    maven { url "https://maven.google.com" }

    google()
    jcenter()
    mavenLocal()
    mavenCentral()
}

}

repositories { mavenCentral() flatDir { dirs 'libs' } }

dependencies { implementation fileTree(include: ['*.jar'], dir: 'libs') annotationProcessor "org.androidannotations:androidannotations:$AAVersion" implementation "org.androidannotations:androidannotations-api:$AAVersion" annotationProcessor "org.androidannotations:rest-spring:$AAVersion" implementation "org.androidannotations:rest-spring-api:$AAVersion" implementation project(':bottombardrawer') implementation project(':cardsui') implementation project(':viewpagerindicator') implementation project(':mobilewebapi') implementation 'androidx.appcompat:appcompat:1.2.0' implementation 'com.google.android.material:material:1.2.1' implementation 'androidx.recyclerview:recyclerview:1.1.0' implementation 'androidx.cardview:cardview:1.0.0' implementation 'androidx.percentlayout:percentlayout:1.0.0' implementation 'androidx.legacy:legacy-support-v4:1.0.0' implementation 'androidx.lifecycle:lifecycle-extensions:2.0.0' implementation 'com.google.android.gms:play-services-gcm:17.0.0' implementation 'com.google.android.gms:play-services-location:17.1.0' implementation 'com.google.android.gms:play-services-maps:17.0.0' implementation 'com.google.android.gms:play-services-vision:20.1.2' implementation 'com.squareup.picasso:picasso:2.5.2'

annotationProcessor 'org.projectlombok:lombok:1.14.8'
compileOnly 'org.projectlombok:lombok:1.14.8'
androidTestImplementation 'androidx.annotation:annotation:1.1.0'
implementation "androidx.annotation:annotation:1.1.0"
implementation "androidx.annotation:annotation-experimental:1.0.0"

implementation 'com.squareup.retrofit2:retrofit:2.4.0'
implementation 'com.squareup.retrofit2:converter-moshi:2.5.0'
implementation 'com.google.code.gson:gson:2.8.5'
implementation 'com.squareup.okhttp3:okhttp:3.11.0'
implementation 'com.squareup.okhttp3:logging-interceptor:3.10.0'

implementation 'io.reactivex.rxjava2:rxandroid:2.1.1'
implementation 'io.reactivex.rxjava2:rxjava:2.2.7'
compileOnly 'org.glassfish:javax.annotation:10.0-b28'

implementation 'com.google.firebase:firebase-crashlytics:17.3.0'
implementation 'com.google.firebase:firebase-analytics:18.0.0'
implementation "com.google.firebase:firebase-core:18.0.0"

}

configurations { all*.exclude module: 'gson' }

android { compileSdkVersion 29

buildToolsVersion "28.0.3"
useLibrary 'org.apache.http.legacy'

flavorDimensions "default"

defaultConfig {
    applicationId ApplicationId

    minSdkVersion 19
    targetSdkVersion 29
    versionCode 10
    versionName "8.13.0"
    multiDexEnabled true

    javaCompileOptions {
        annotationProcessorOptions {
            arguments = ["resourcePackageName": android.defaultConfig.applicationId]
        }
    }
}

dexOptions {
    javaMaxHeapSize "3g"
}

compileOptions {
    sourceCompatibility JavaVersion.VERSION_1_8
    targetCompatibility JavaVersion.VERSION_1_8
}

dataBinding {
    enabled = true
}

sourceSets {
    main {
        manifest.srcFile 'AndroidManifest.xml'
        java.srcDirs = ['src/main/java']
        resources.srcDirs = ['src']
        aidl.srcDirs = ['src']
        renderscript.srcDirs = ['src']
        res.srcDirs = ['res']
        assets.srcDirs = ['assets']
    }
    debug.setRoot('build-types/debug')
    release.setRoot('build-types/release')
}

packagingOptions {
    exclude 'META-INF/DEPENDENCIES'
    exclude 'META-INF/NOTICE'
    exclude 'META-INF/LICENSE'
    exclude 'META-INF/LICENSE.txt'
    exclude 'META-INF/license.txt'
    exclude 'META-INF/NOTICE.txt'
    exclude 'META-INF/notice.txt'
}

}

apply plugin: 'com.google.gms.google-services'

BUILD LOG

Configure project : WARNING: DSL element 'android.dataBinding.enabled' is obsolete and has been replaced with 'android.buildFeatures.dataBinding'. It will be removed in version 5.0 of the Android Gradle plugin.

Task :bottombardrawer:clean Task :mobilewebapi:clean Task :mobilewebapi:preBuild UP-TO-DATE Task :mobilewebapi:preDebugBuild UP-TO-DATE Task :mobilewebapi:compileDebugAidl NO-SOURCE Task :mobilewebapi:mergeDebugJniLibFolders Task :mobilewebapi:mergeDebugNativeLibs NO-SOURCE Task :mobilewebapi:stripDebugDebugSymbols NO-SOURCE Task :mobilewebapi:copyDebugJniLibsProjectAndLocalJars Task :mobilewebapi:compileDebugRenderscript NO-SOURCE Task :cardsui:clean Task :mobilewebapi:generateDebugBuildConfig Task :cardsui:preBuild UP-TO-DATE Task :cardsui:preDebugBuild UP-TO-DATE Task :cardsui:compileDebugAidl NO-SOURCE Task :mobilewebapi:generateDebugResValues Task :mobilewebapi:generateDebugResources Task :cardsui:mergeDebugJniLibFolders Task :cardsui:mergeDebugNativeLibs NO-SOURCE Task :cardsui:stripDebugDebugSymbols NO-SOURCE Task :cardsui:copyDebugJniLibsProjectAndLocalJars Task :cardsui:compileDebugRenderscript NO-SOURCE Task :cardsui:generateDebugBuildConfig Task :cardsui:generateDebugResValues Task :cardsui:generateDebugResources Task :mobilewebapi:packageDebugResources Task :mobilewebapi:parseDebugLocalResources Task :viewpagerindicator:clean Task :viewpagerindicator:preBuild UP-TO-DATE Task :viewpagerindicator:preDebugBuild UP-TO-DATE Task :viewpagerindicator:compileDebugAidl NO-SOURCE Task :viewpagerindicator:mergeDebugJniLibFolders Task :viewpagerindicator:mergeDebugNativeLibs NO-SOURCE Task :viewpagerindicator:stripDebugDebugSymbols NO-SOURCE Task :cardsui:packageDebugResources Task :mobilewebapi:processDebugManifest Task :viewpagerindicator:copyDebugJniLibsProjectAndLocalJars Task :viewpagerindicator:compileDebugRenderscript NO-SOURCE Task :viewpagerindicator:generateDebugBuildConfig Task :viewpagerindicator:generateDebugResValues Task :viewpagerindicator:generateDebugResources Task :cardsui:parseDebugLocalResources Task :cardsui:processDebugManifest Task :mobilewebapi:javaPreCompileDebug Task :mobilewebapi:mergeDebugShaders Task :mobilewebapi:compileDebugShaders NO-SOURCE Task :mobilewebapi:generateDebugAssets UP-TO-DATE Task :mobilewebapi:packageDebugAssets Task :mobilewebapi:packageDebugRenderscript NO-SOURCE Task :mobilewebapi:prepareLintJarForPublish UP-TO-DATE Task :mobilewebapi:processDebugJavaRes NO-SOURCE Task :viewpagerindicator:packageDebugResources Task :mobilewebapi:generateDebugRFile Task :mobilewebapi:mergeDebugJavaResource Task :viewpagerindicator:parseDebugLocalResources Task :viewpagerindicator:processDebugManifest Task :cardsui:generateDebugRFile Task :cardsui:javaPreCompileDebug Task :viewpagerindicator:generateDebugRFile Task :viewpagerindicator:javaPreCompileDebug Task :cardsui:compileDebugJavaWithJavac

Task :mobilewebapi:compileDebugJavaWithJavac Note: C:\Users\Paulucci\Desktop\Android\project\mobilewebapi\src\main\java\br\com\customer\mobile\common\ExternalStorage.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details.

Task :cardsui:extractDebugAnnotations Task :cardsui:mergeDebugGeneratedProguardFiles UP-TO-DATE Task :cardsui:mergeDebugConsumerProguardFiles UP-TO-DATE Task :mobilewebapi:extractDebugAnnotations Task :mobilewebapi:mergeDebugGeneratedProguardFiles UP-TO-DATE Task :mobilewebapi:mergeDebugConsumerProguardFiles UP-TO-DATE

Task :viewpagerindicator:compileDebugJavaWithJavac Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details.

Task :cardsui:mergeDebugShaders Task :cardsui:compileDebugShaders NO-SOURCE Task :cardsui:generateDebugAssets UP-TO-DATE Task :viewpagerindicator:extractDebugAnnotations Task :viewpagerindicator:mergeDebugGeneratedProguardFiles UP-TO-DATE Task :viewpagerindicator:mergeDebugConsumerProguardFiles UP-TO-DATE Task :cardsui:packageDebugAssets Task :cardsui:packageDebugRenderscript NO-SOURCE Task :cardsui:prepareLintJarForPublish UP-TO-DATE Task :cardsui:processDebugJavaRes NO-SOURCE Task :viewpagerindicator:mergeDebugShaders Task :viewpagerindicator:compileDebugShaders NO-SOURCE Task :viewpagerindicator:generateDebugAssets UP-TO-DATE Task :cardsui:mergeDebugJavaResource Task :mobilewebapi:syncDebugLibJars Task :cardsui:syncDebugLibJars Task :mobilewebapi:writeDebugAarMetadata Task :viewpagerindicator:packageDebugAssets Task :viewpagerindicator:packageDebugRenderscript NO-SOURCE Task :viewpagerindicator:prepareLintJarForPublish UP-TO-DATE Task :viewpagerindicator:processDebugJavaRes NO-SOURCE Task :viewpagerindicator:mergeDebugJavaResource Task :cardsui:writeDebugAarMetadata Task :mobilewebapi:bundleDebugAar Task :mobilewebapi:compileDebugSources Task :mobilewebapi:assembleDebug Task :bottombardrawer:preBuild UP-TO-DATE Task :bottombardrawer:preDebugBuild UP-TO-DATE Task :bottombardrawer:compileDebugAidl NO-SOURCE Task :viewpagerindicator:syncDebugLibJars Task :viewpagerindicator:writeDebugAarMetadata Task :bottombardrawer:mergeDebugJniLibFolders Task :bottombardrawer:mergeDebugNativeLibs NO-SOURCE Task :bottombardrawer:stripDebugDebugSymbols NO-SOURCE Task :bottombardrawer:copyDebugJniLibsProjectAndLocalJars Task :bottombardrawer:compileDebugRenderscript NO-SOURCE Task :cardsui:bundleDebugAar Task :cardsui:compileDebugSources Task :cardsui:assembleDebug Task :cardsui:extractDeepLinksDebug Task :bottombardrawer:generateDebugBuildConfig Task :bottombardrawer:generateDebugResValues Task :bottombardrawer:generateDebugResources Task :mobilewebapi:extractDeepLinksDebug Task :viewpagerindicator:bundleDebugAar Task :viewpagerindicator:compileDebugSources Task :viewpagerindicator:assembleDebug Task :viewpagerindicator:extractDeepLinksDebug Task :mobilewebapi:compileDebugLibraryResources Task :bottombardrawer:packageDebugResources Task :bottombardrawer:parseDebugLocalResources Task :viewpagerindicator:compileDebugLibraryResources Task :bottombardrawer:processDebugManifest Task :cardsui:compileDebugLibraryResources Task :mobilewebapi:bundleLibCompileToJarDebug Task :viewpagerindicator:bundleLibCompileToJarDebug Task :cardsui:bundleLibRuntimeToJarDebug Task :cardsui:bundleLibCompileToJarDebug Task :viewpagerindicator:bundleLibRuntimeToJarDebug Task :cardsui:bundleLibResDebug NO-SOURCE Task :mobilewebapi:bundleLibResDebug NO-SOURCE Task :viewpagerindicator:bundleLibResDebug NO-SOURCE Task :cardsui:copyDebugJniLibsProjectOnly Task :mobilewebapi:bundleLibRuntimeToJarDebug Task :viewpagerindicator:copyDebugJniLibsProjectOnly Task :mobilewebapi:copyDebugJniLibsProjectOnly Task :bottombardrawer:generateDebugRFile Task :bottombardrawer:mergeDebugShaders Task :bottombardrawer:compileDebugShaders NO-SOURCE Task :bottombardrawer:generateDebugAssets UP-TO-DATE Task :bottombardrawer:packageDebugAssets Task :bottombardrawer:packageDebugRenderscript NO-SOURCE Task :bottombardrawer:prepareLintJarForPublish UP-TO-DATE Task :bottombardrawer:processDebugJavaRes NO-SOURCE Task :bottombardrawer:javaPreCompileDebug

Task :bottombardrawer:compileDebugJavaWithJavac Note: C:\Users\Paulucci\Desktop\Android\project\bottombardrawer\src\main\java\com\packagename\bottombardrawer\BottomBarDrawerLayout.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details.

Task :bottombardrawer:extractDebugAnnotations Task :bottombardrawer:mergeDebugJavaResource Task :bottombardrawer:mergeDebugGeneratedProguardFiles UP-TO-DATE Task :bottombardrawer:mergeDebugConsumerProguardFiles UP-TO-DATE Task :bottombardrawer:syncDebugLibJars Task :bottombardrawer:compileDebugSources Task :bottombardrawer:extractDeepLinksDebug Task :bottombardrawer:writeDebugAarMetadata Task :bottombardrawer:bundleDebugAar Task :bottombardrawer:assembleDebug Task :bottombardrawer:bundleLibCompileToJarDebug Task :bottombardrawer:compileDebugLibraryResources Task :bottombardrawer:bundleLibResDebug NO-SOURCE Task :bottombardrawer:copyDebugJniLibsProjectOnly Task :bottombardrawer:bundleLibRuntimeToJarDebug Task :clean Task :preBuild UP-TO-DATE Task :prePreProducaoDebugBuild UP-TO-DATE Task :compilePreProducaoDebugAidl NO-SOURCE Task :compilePreProducaoDebugRenderscript Task :dataBindingMergeDependencyArtifactsPreProducaoDebug Task :generatePreProducaoDebugResValues Task :generatePreProducaoDebugResources Task :processPreProducaoDebugGoogleServices Task :dataBindingMergeGenClassesPreProducaoDebug Task :dataBindingTriggerPreProducaoDebug Task :generatePreProducaoDebugBuildConfig Task :createPreProducaoDebugCompatibleScreenManifests Task :extractDeepLinksPreProducaoDebug Task :processPreProducaoDebugMainManifest Task :processPreProducaoDebugManifest Task :javaPreCompilePreProducaoDebug Task :mergePreProducaoDebugNativeDebugMetadata NO-SOURCE Task :mergePreProducaoDebugShaders Task :compilePreProducaoDebugShaders NO-SOURCE Task :checkPreProducaoDebugAarMetadata Task :generatePreProducaoDebugAssets UP-TO-DATE Task :mergePreProducaoDebugAssets Task :processPreProducaoDebugManifestForPackage Task :mergePreProducaoDebugResources Task :compressPreProducaoDebugAssets Task :dataBindingGenBaseClassesPreProducaoDebug Task :processPreProducaoDebugResources

Task :compilePreProducaoDebugJavaWithJavac The following annotation processors are not incremental: jetified-lombok-1.14.8.jar (org.projectlombok:lombok:1.14.8). Make sure all annotation processors are incremental to improve your build speed.

C:\Users\Paulucci\Desktop\Android\project\src\main\java\com\packagename\activity\Comentario.java:32: error: cannot find symbol import projectname.preferences.ConfigPrefs_; ^ symbol: class ConfigPrefs_ location: package packagename.preferences C:\Users\Paulucci\Desktop\Android\project\src\main\java\com\packagename\activity\Comentario.java:34: error: cannot find symbol import projectname.ui.main.MainActivity_; ^ symbol: class MainActivity_ location: package packagename.ui.main C:\Users\Paulucci\Desktop\Android\project\src\main\java\com\packagename\activity\Comentario.java:132: error: cannot find symbol ConfigPrefs_ configPrefs; ^ symbol: class ConfigPrefs_ location: class Comentario

Task :compilePreProducaoDebugJavaWithJavac FAILED

FAILURE: Build failed with an exception.

  • What went wrong: Execution failed for task ':compilePreProducaoDebugJavaWithJavac'.

java.lang.RuntimeException: Failed to parse data binding compiler options. Params: resourcePackageName : com.packagename android.databinding.minApi : 19 android.databinding.classLogDir : C:\Users\Paulucci\Desktop\Android\project\build\intermediates\data_binding_base_class_log_artifact\PreProducaoDebug\out android.databinding.aarOutDir : C:\Users\Paulucci\Desktop\Android\project\build\intermediates\data_binding_artifact\PreProducaoDebug\out android.databinding.enableDebugLogs : 0 android.databinding.dependencyArtifactsDir : C:\Users\Paulucci\Desktop\Android\project\build\intermediates\data_binding_dependency_artifacts\PreProducaoDebug android.databinding.sdkDir : C:\Users\Paulucci\AppData\Local\Android\Sdk android.databinding.enableForTests : 0 android.databinding.enableV2 : 1 android.databinding.modulePackage : com.packagename android.databinding.artifactType : APPLICATION android.databinding.isTestVariant : 0 android.databinding.incremental : 1 android.databinding.printEncodedErrorLogs : 1 android.databinding.layoutInfoDir : C:\Users\Paulucci\Desktop\Android\project\build\intermediates\data_binding_layout_info_type_merge\PreProducaoDebug\out

  • Try: Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Exception is: org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':compilePreProducaoDebugJavaWithJavac'. at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.lambda$executeIfValid$1(ExecuteActionsTaskExecuter.java:207) at org.gradle.internal.Try$Failure.ifSuccessfulOrElse(Try.java:263) at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeIfValid(ExecuteActionsTaskExecuter.java:205) at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:186) at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:114) at org.gradle.api.internal.tasks.execution.FinalizePropertiesTaskExecuter.execute(FinalizePropertiesTaskExecuter.java:46) at org.gradle.api.internal.tasks.execution.ResolveTaskExecutionModeExecuter.execute(ResolveTaskExecutionModeExecuter.java:62) at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:57) at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:56) at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:36) at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.executeTask(EventFiringTaskExecuter.java:77) at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:55) at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:52) at org.gradle.internal.operations.DefaultBuildOperationExecutor$CallableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:409) at org.gradle.internal.operations.DefaultBuildOperationExecutor$CallableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:399) at org.gradle.internal.operations.DefaultBuildOperationExecutor$1.execute(DefaultBuildOperationExecutor.java:157) at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:242) at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:150) at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:94) at org.gradle.internal.operations.DelegatingBuildOperationExecutor.call(DelegatingBuildOperationExecutor.java:36) at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter.execute(EventFiringTaskExecuter.java:52) at org.gradle.execution.plan.LocalTaskNodeExecutor.execute(LocalTaskNodeExecutor.java:41) at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:356) at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:343) at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:336) at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:322) at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.lambda$run$0(DefaultPlanExecutor.java:127) at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.execute(DefaultPlanExecutor.java:191) at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.executeNextNode(DefaultPlanExecutor.java:182) at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.run(DefaultPlanExecutor.java:124) at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64) at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:48) at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:56) Caused by: java.lang.RuntimeException: java.lang.RuntimeException: Failed to parse data binding compiler options. Params: resourcePackageName : com.packagename android.databinding.minApi : 19 android.databinding.classLogDir : C:\Users\Paulucci\Desktop\project\build\intermediates\data_binding_base_class_log_artifact\PreProducaoDebug\out android.databinding.aarOutDir : C:\Users\Paulucci\Desktop\project\build\intermediates\data_binding_artifact\PreProducaoDebug\out android.databinding.enableDebugLogs : 0 android.databinding.dependencyArtifactsDir : C:\Users\Paulucci\Desktop\Android\project\build\intermediates\data_binding_dependency_artifacts\PreProducaoDebug android.databinding.sdkDir : C:\Users\Paulucci\AppData\Local\Android\Sdk android.databinding.enableForTests : 0 android.databinding.enableV2 : 1 android.databinding.modulePackage : com.packagename android.databinding.artifactType : APPLICATION android.databinding.isTestVariant : 0 android.databinding.incremental : 1 android.databinding.printEncodedErrorLogs : 1 android.databinding.layoutInfoDir : C:\Users\Paulucci\Desktop\Android\project\build\intermediates\data_binding_layout_info_type_merge\PreProducaoDebug\out at com.sun.tools.javac.main.Main.compile(Main.java:553) at com.sun.tools.javac.api.JavacTaskImpl.doCall(JavacTaskImpl.java:129) at com.sun.tools.javac.api.JavacTaskImpl.call(JavacTaskImpl.java:138) at org.gradle.internal.compiler.java.IncrementalCompileTask.call(IncrementalCompileTask.java:74) at org.gradle.api.internal.tasks.compile.AnnotationProcessingCompileTask.call(AnnotationProcessingCompileTask.java:93) at org.gradle.api.internal.tasks.compile.ResourceCleaningCompilationTask.call(ResourceCleaningCompilationTask.java:57) at org.gradle.api.internal.tasks.compile.JdkJavaCompiler.execute(JdkJavaCompiler.java:55) at org.gradle.api.internal.tasks.compile.JdkJavaCompiler.execute(JdkJavaCompiler.java:40) at org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.delegateAndHandleErrors(NormalizingJavaCompiler.java:97) at org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.execute(NormalizingJavaCompiler.java:51) at org.gradle.api.internal.tasks.compile.NormalizingJavaCompiler.execute(NormalizingJavaCompiler.java:37) at org.gradle.api.internal.tasks.compile.AnnotationProcessorDiscoveringCompiler.execute(AnnotationProcessorDiscoveringCompiler.java:51) at org.gradle.api.internal.tasks.compile.AnnotationProcessorDiscoveringCompiler.execute(AnnotationProcessorDiscoveringCompiler.java:37) at org.gradle.api.internal.tasks.compile.ModuleApplicationNameWritingCompiler.execute(ModuleApplicationNameWritingCompiler.java:46) at org.gradle.api.internal.tasks.compile.ModuleApplicationNameWritingCompiler.execute(ModuleApplicationNameWritingCompiler.java:36) at org.gradle.api.internal.tasks.compile.CleaningJavaCompiler.execute(CleaningJavaCompiler.java:53) at org.gradle.api.internal.tasks.compile.incremental.IncrementalCompilerFactory.lambda$createRebuildAllCompiler$0(IncrementalCompilerFactory.java:98) at org.gradle.api.internal.tasks.compile.incremental.IncrementalResultStoringCompiler.execute(IncrementalResultStoringCompiler.java:60) at org.gradle.api.internal.tasks.compile.incremental.IncrementalResultStoringCompiler.execute(IncrementalResultStoringCompiler.java:44) at org.gradle.api.internal.tasks.compile.CompileJavaBuildOperationReportingCompiler$2.call(CompileJavaBuildOperationReportingCompiler.java:59) at org.gradle.api.internal.tasks.compile.CompileJavaBuildOperationReportingCompiler$2.call(CompileJavaBuildOperationReportingCompiler.java:51) at org.gradle.internal.operations.DefaultBuildOperationExecutor$CallableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:409) at org.gradle.internal.operations.DefaultBuildOperationExecutor$CallableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:399) at org.gradle.internal.operations.DefaultBuildOperationExecutor$1.execute(DefaultBuildOperationExecutor.java:157) at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:242) at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:150) at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:94) at org.gradle.internal.operations.DelegatingBuildOperationExecutor.call(DelegatingBuildOperationExecutor.java:36) at org.gradle.api.internal.tasks.compile.CompileJavaBuildOperationReportingCompiler.execute(CompileJavaBuildOperationReportingCompiler.java:51) at org.gradle.api.tasks.compile.JavaCompile.performCompilation(JavaCompile.java:293) at org.gradle.api.tasks.compile.JavaCompile.performIncrementalCompilation(JavaCompile.java:203) at org.gradle.api.tasks.compile.JavaCompile.compile(JavaCompile.java:183) at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:104) at org.gradle.api.internal.project.taskfactory.IncrementalInputsTaskAction.doExecute(IncrementalInputsTaskAction.java:32) at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:42) at org.gradle.api.internal.project.taskfactory.AbstractIncrementalTaskAction.execute(AbstractIncrementalTaskAction.java:25) at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:28) at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$3.run(ExecuteActionsTaskExecuter.java:569) at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:395) at org.gradle.internal.operations.DefaultBuildOperationExecutor$RunnableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:387) at org.gradle.internal.operations.DefaultBuildOperationExecutor$1.execute(DefaultBuildOperationExecutor.java:157) at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:242) at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:150) at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:84) at org.gradle.internal.operations.DelegatingBuildOperationExecutor.run(DelegatingBuildOperationExecutor.java:31) at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:554) at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:537) at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.access$300(ExecuteActionsTaskExecuter.java:108) at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$TaskExecution.executeWithPreviousOutputFiles(ExecuteActionsTaskExecuter.java:278) at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter$TaskExecution.execute(ExecuteActionsTaskExecuter.java:267) at org.gradle.internal.execution.steps.ExecuteStep.lambda$execute$0(ExecuteStep.java:32) at org.gradle.internal.execution.steps.ExecuteStep.execute(ExecuteStep.java:32) at org.gradle.internal.execution.steps.ExecuteStep.execute(ExecuteStep.java:26) at org.gradle.internal.execution.steps.CleanupOutputsStep.execute(CleanupOutputsStep.java:67) at org.gradle.internal.execution.steps.CleanupOutputsStep.execute(CleanupOutputsStep.java:36) at org.gradle.internal.execution.steps.ResolveInputChangesStep.execute(ResolveInputChangesStep.java:49) at org.gradle.internal.execution.steps.ResolveInputChangesStep.execute(ResolveInputChangesStep.java:34) at org.gradle.internal.execution.steps.CancelExecutionStep.execute(CancelExecutionStep.java:43) at org.gradle.internal.execution.steps.TimeoutStep.executeWithoutTimeout(TimeoutStep.java:73) at org.gradle.internal.execution.steps.TimeoutStep.execute(TimeoutStep.java:54) at org.gradle.internal.execution.steps.CatchExceptionStep.execute(CatchExceptionStep.java:34) at org.gradle.internal.execution.steps.CreateOutputsStep.execute(CreateOutputsStep.java:44) at org.gradle.internal.execution.steps.SnapshotOutputsStep.execute(SnapshotOutputsStep.java:54) at org.gradle.internal.execution.steps.SnapshotOutputsStep.execute(SnapshotOutputsStep.java:38) at org.gradle.internal.execution.steps.BroadcastChangingOutputsStep.execute(BroadcastChangingOutputsStep.java:49) at org.gradle.internal.execution.steps.CacheStep.executeWithoutCache(CacheStep.java:159) at org.gradle.internal.execution.steps.CacheStep.execute(CacheStep.java:72) at org.gradle.internal.execution.steps.CacheStep.execute(CacheStep.java:43) at org.gradle.internal.execution.steps.StoreExecutionStateStep.execute(StoreExecutionStateStep.java:44) at org.gradle.internal.execution.steps.StoreExecutionStateStep.execute(StoreExecutionStateStep.java:33) at org.gradle.internal.execution.steps.RecordOutputsStep.execute(RecordOutputsStep.java:38) at org.gradle.internal.execution.steps.RecordOutputsStep.execute(RecordOutputsStep.java:24) at org.gradle.internal.execution.steps.SkipUpToDateStep.executeBecause(SkipUpToDateStep.java:92) at org.gradle.internal.execution.steps.SkipUpToDateStep.lambda$execute$0(SkipUpToDateStep.java:85) at org.gradle.internal.execution.steps.SkipUpToDateStep.execute(SkipUpToDateStep.java:55) at org.gradle.internal.execution.steps.SkipUpToDateStep.execute(SkipUpToDateStep.java:39) at org.gradle.internal.execution.steps.ResolveChangesStep.execute(ResolveChangesStep.java:76) at org.gradle.internal.execution.steps.ResolveChangesStep.execute(ResolveChangesStep.java:37) at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsFinishedStep.execute(MarkSnapshottingInputsFinishedStep.java:36) at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsFinishedStep.execute(MarkSnapshottingInputsFinishedStep.java:26) at org.gradle.internal.execution.steps.ResolveCachingStateStep.execute(ResolveCachingStateStep.java:94) at org.gradle.internal.execution.steps.ResolveCachingStateStep.execute(ResolveCachingStateStep.java:49) at org.gradle.internal.execution.steps.CaptureStateBeforeExecutionStep.execute(CaptureStateBeforeExecutionStep.java:79) at org.gradle.internal.execution.steps.CaptureStateBeforeExecutionStep.execute(CaptureStateBeforeExecutionStep.java:53) at org.gradle.internal.execution.steps.ValidateStep.execute(ValidateStep.java:74) at org.gradle.internal.execution.steps.SkipEmptyWorkStep.lambda$execute$2(SkipEmptyWorkStep.java:78) at org.gradle.internal.execution.steps.SkipEmptyWorkStep.execute(SkipEmptyWorkStep.java:78) at org.gradle.internal.execution.steps.SkipEmptyWorkStep.execute(SkipEmptyWorkStep.java:34) at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsStartedStep.execute(MarkSnapshottingInputsStartedStep.java:39) at org.gradle.internal.execution.steps.LoadExecutionStateStep.execute(LoadExecutionStateStep.java:40) at org.gradle.internal.execution.steps.LoadExecutionStateStep.execute(LoadExecutionStateStep.java:28) at org.gradle.internal.execution.impl.DefaultWorkExecutor.execute(DefaultWorkExecutor.java:33) at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeIfValid(ExecuteActionsTaskExecuter.java:194) at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:186) at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:114) at org.gradle.api.internal.tasks.execution.FinalizePropertiesTaskExecuter.execute(FinalizePropertiesTaskExecuter.java:46) at org.gradle.api.internal.tasks.execution.ResolveTaskExecutionModeExecuter.execute(ResolveTaskExecutionModeExecuter.java:62) at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:57) at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:56) at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:36) at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.executeTask(EventFiringTaskExecuter.java:77) at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:55) at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:52) at org.gradle.internal.operations.DefaultBuildOperationExecutor$CallableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:409) at org.gradle.internal.operations.DefaultBuildOperationExecutor$CallableBuildOperationWorker.execute(DefaultBuildOperationExecutor.java:399) at org.gradle.internal.operations.DefaultBuildOperationExecutor$1.execute(DefaultBuildOperationExecutor.java:157) at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:242) at org.gradle.internal.operations.DefaultBuildOperationExecutor.execute(DefaultBuildOperationExecutor.java:150) at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:94) at org.gradle.internal.operations.DelegatingBuildOperationExecutor.call(DelegatingBuildOperationExecutor.java:36) at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter.execute(EventFiringTaskExecuter.java:52) at org.gradle.execution.plan.LocalTaskNodeExecutor.execute(LocalTaskNodeExecutor.java:41) at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:356) at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:343) at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:336) at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:322) at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.lambda$run$0(DefaultPlanExecutor.java:127) at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.execute(DefaultPlanExecutor.java:191) at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.executeNextNode(DefaultPlanExecutor.java:182) at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.run(DefaultPlanExecutor.java:124) at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64) at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:48) at org.gradle.internal.concurrent.ThreadFactoryImpl$ManagedThreadRunnable.run(ThreadFactoryImpl.java:56) Caused by: java.lang.RuntimeException: Failed to parse data binding compiler options. Params: resourcePackageName : com.packagename android.databinding.minApi : 19 android.databinding.classLogDir : C:\Users\Paulucci\Desktop\Android\project\build\intermediates\data_binding_base_class_log_artifact\PreProducaoDebug\out android.databinding.aarOutDir : C:\Users\Paulucci\Desktop\Android\project\build\intermediates\data_binding_artifact\PreProducaoDebug\out android.databinding.enableDebugLogs : 0 android.databinding.dependencyArtifactsDir : C:\Users\Paulucci\Desktop\Android\project\build\intermediates\data_binding_dependency_artifacts\PreProducaoDebug android.databinding.sdkDir : C:\Users\Paulucci\AppData\Local\Android\Sdk android.databinding.enableForTests : 0 android.databinding.enableV2 : 1 android.databinding.modulePackage : com.projectname android.databinding.artifactType : APPLICATION android.databinding.isTestVariant : 0 android.databinding.incremental : 1 android.databinding.printEncodedErrorLogs : 1 android.databinding.layoutInfoDir : C:\Users\Paulucci\Desktop\Android\project\build\intermediates\data_binding_layout_info_type_merge\PreProducaoDebug\out at android.databinding.annotationprocessor.ProcessDataBinding.readArguments(ProcessDataBinding.java:203) at android.databinding.annotationprocessor.ProcessDataBinding.getSupportedOptions(ProcessDataBinding.java:219) at org.gradle.api.internal.tasks.compile.processing.DelegatingProcessor.getSupportedOptions(DelegatingProcessor.java:42) at org.gradle.api.internal.tasks.compile.processing.DynamicProcessor.getSupportedOptions(DynamicProcessor.java:33) at org.gradle.api.internal.tasks.compile.processing.DynamicProcessor.init(DynamicProcessor.java:46) at org.gradle.api.internal.tasks.compile.processing.DelegatingProcessor.init(DelegatingProcessor.java:57) at org.gradle.api.internal.tasks.compile.processing.TimeTrackingProcessor.access$301(TimeTrackingProcessor.java:37) at org.gradle.api.internal.tasks.compile.processing.TimeTrackingProcessor$4.create(TimeTrackingProcessor.java:88) at org.gradle.api.internal.tasks.compile.processing.TimeTrackingProcessor$4.create(TimeTrackingProcessor.java:85) at org.gradle.api.internal.tasks.compile.processing.TimeTrackingProcessor.track(TimeTrackingProcessor.java:117) at org.gradle.api.internal.tasks.compile.processing.TimeTrackingProcessor.init(TimeTrackingProcessor.java:85) at com.sun.tools.javac.processing.JavacProcessingEnvironment$ProcessorState.<init>(JavacProcessingEnvironment.java:508) at com.sun.tools.javac.processing.JavacProcessingEnvironment$DiscoveredProcessors$ProcessorStateIterator.next(JavacProcessingEnvironment.java:605) at com.sun.tools.javac.processing.JavacProcessingEnvironment.discoverAndRunProcs(JavacProcessingEnvironment.java:698) at com.sun.tools.javac.processing.JavacProcessingEnvironment.access$1800(JavacProcessingEnvironment.java:91) at com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.run(JavacProcessingEnvironment.java:1043) at com.sun.tools.javac.processing.JavacProcessingEnvironment.doProcessing(JavacProcessingEnvironment.java:1184) at com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1170) at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:856) at com.sun.tools.javac.main.Main.compile(Main.java:523) ... 122 more Caused by: java.lang.NoClassDefFoundError: com/google/gson/JsonSyntaxException at android.databinding.annotationprocessor.ProcessDataBinding.readArguments(ProcessDataBinding.java:198) ... 141 more Caused by: java.lang.ClassNotFoundException: com.google.gson.JsonSyntaxException ... 142 more

  • Get more help at https://help.gradle.org

BUILD FAILED in 1m 46s 126 actionable tasks: 114 executed, 12 up-to-date

closed time in 8 days

GabrielPaulucci

issue commentandroidannotations/androidannotations

Error: Cannot find symbol

This issue is coming from the Android Data Binding processor, not our project. See the relevant part here:

Caused by: java.lang.RuntimeException: Failed to parse data binding compiler options. Params:
resourcePackageName : com.packagename
android.databinding.minApi : 19
android.databinding.classLogDir : C:\Users\Paulucci\Desktop\Android\project\build\intermediates\data_binding_base_class_log_artifact\PreProducaoDebug\out
android.databinding.aarOutDir : C:\Users\Paulucci\Desktop\Android\project\build\intermediates\data_binding_artifact\PreProducaoDebug\out
android.databinding.enableDebugLogs : 0
android.databinding.dependencyArtifactsDir : C:\Users\Paulucci\Desktop\Android\project\build\intermediates\data_binding_dependency_artifacts\PreProducaoDebug
android.databinding.sdkDir : C:\Users\Paulucci\AppData\Local\Android\Sdk
android.databinding.enableForTests : 0
android.databinding.enableV2 : 1
android.databinding.modulePackage : com.projectname
android.databinding.artifactType : APPLICATION
android.databinding.isTestVariant : 0
android.databinding.incremental : 1
android.databinding.printEncodedErrorLogs : 1
android.databinding.layoutInfoDir : C:\Users\Paulucci\Desktop\Android\project\build\intermediates\data_binding_layout_info_type_merge\PreProducaoDebug\out
at android.databinding.annotationprocessor.ProcessDataBinding.readArguments(ProcessDataBinding.java:203)
GabrielPaulucci

comment created time in 8 days

issue commentandroidannotations/androidannotations

Error: Cannot find symbol

Please do a clean build and paste the build log here.

Edited

GabrielPaulucci

comment created time in 9 days

issue commentandroidannotations/androidannotations

Error: Cannot find symbol

Please do a clean build and paste the build log here.

GabrielPaulucci

comment created time in 9 days

issue openedandroidannotations/androidannotations

Error: Cannot find symbol

AndroidAnnotations version: 4.7.0 Compile SDK version: 29 Android SDK Build-Tools: 28.0.3 com.android.tools.build:gradle: 4.1.1 (also tried 3.2.0, 3.6.1) Android Studio: 4.1.1 Gradle Wrapper Version: 6.5

Well, I'm updating a project. I updated the SDK version, migrated to AndroidX and updated some dependencies. Now, when running the project, I have this error:

error: cannot find symbol import package.preferences.ConfigPrefs_; ^ symbol: class ConfigPrefs_ location: package package.preferences

The error is occurring with all classes with annotations. The classes are being generated in java (generated), and are being imported without error. I already tried Clean, Rebuild, Sync Project with Gradles and Invalidate Caches and Restart.

GRADLE

buildscript { dependencies { classpath 'com.android.tools.build:gradle:4.1.1' classpath 'com.google.gms:google-services:4.3.4' classpath 'com.google.firebase:firebase-crashlytics-gradle:2.4.1' } }

apply plugin: 'com.android.application' apply plugin: 'com.google.gms.google-services'

def AAVersion = '4.7.0' final def ApplicationId = "com.package"

allprojects { repositories {

    maven { url 'https://repo.spring.io/milestone' }
    maven { url 'https://repo1.maven.org/maven2' }
    maven { url "https://dl.bintray.com/populov/maven" }
    maven { url "https://dl.bintray.com/journeyapps/maven" }
    maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
    maven { url "https://jitpack.io" }
    maven { url "https://maven.google.com" }

    google()
    jcenter()
    mavenLocal()
    mavenCentral()
}

}

repositories { mavenCentral() flatDir { dirs 'libs' } }

dependencies { implementation fileTree(include: ['*.jar'], dir: 'libs') annotationProcessor "org.androidannotations:androidannotations:$AAVersion" implementation "org.androidannotations:androidannotations-api:$AAVersion" annotationProcessor "org.androidannotations:rest-spring:$AAVersion" implementation "org.androidannotations:rest-spring-api:$AAVersion" implementation project(':bottombardrawer') implementation project(':cardsui') implementation project(':viewpagerindicator') implementation project(':mobilewebapi') implementation 'androidx.appcompat:appcompat:1.2.0' implementation 'com.google.android.material:material:1.2.1' implementation 'androidx.recyclerview:recyclerview:1.1.0' implementation 'androidx.cardview:cardview:1.0.0' implementation 'androidx.percentlayout:percentlayout:1.0.0' implementation 'androidx.legacy:legacy-support-v4:1.0.0' implementation 'androidx.lifecycle:lifecycle-extensions:2.0.0' implementation 'com.google.android.gms:play-services-gcm:17.0.0' implementation 'com.google.android.gms:play-services-location:17.1.0' implementation 'com.google.android.gms:play-services-maps:17.0.0' implementation 'com.google.android.gms:play-services-vision:20.1.2' implementation 'com.squareup.picasso:picasso:2.5.2'

annotationProcessor 'org.projectlombok:lombok:1.14.8'
compileOnly 'org.projectlombok:lombok:1.14.8'
androidTestImplementation 'androidx.annotation:annotation:1.1.0'
implementation "androidx.annotation:annotation:1.1.0"
implementation "androidx.annotation:annotation-experimental:1.0.0"

implementation 'com.squareup.retrofit2:retrofit:2.4.0'
implementation 'com.squareup.retrofit2:converter-moshi:2.5.0'
implementation 'com.google.code.gson:gson:2.8.5'
implementation 'com.squareup.okhttp3:okhttp:3.11.0'
implementation 'com.squareup.okhttp3:logging-interceptor:3.10.0'

implementation 'io.reactivex.rxjava2:rxandroid:2.1.1'
implementation 'io.reactivex.rxjava2:rxjava:2.2.7'
compileOnly 'org.glassfish:javax.annotation:10.0-b28'

implementation 'com.google.firebase:firebase-crashlytics:17.3.0'
implementation 'com.google.firebase:firebase-analytics:18.0.0'
implementation "com.google.firebase:firebase-core:18.0.0"

}

configurations { all*.exclude module: 'gson' }

android { compileSdkVersion 29

buildToolsVersion "28.0.3"
useLibrary 'org.apache.http.legacy'

flavorDimensions "default"

defaultConfig {
    applicationId ApplicationId

    minSdkVersion 19
    targetSdkVersion 29
    versionCode 10
    versionName "8.13.0"
    multiDexEnabled true

    javaCompileOptions {
        annotationProcessorOptions {
            arguments = ["resourcePackageName": android.defaultConfig.applicationId]
        }
    }
}

dexOptions {
    javaMaxHeapSize "3g"
}

compileOptions {
    sourceCompatibility JavaVersion.VERSION_1_8
    targetCompatibility JavaVersion.VERSION_1_8
}

dataBinding {
    enabled = true
}

sourceSets {
    main {
        manifest.srcFile 'AndroidManifest.xml'
        java.srcDirs = ['src/main/java']
        resources.srcDirs = ['src']
        aidl.srcDirs = ['src']
        renderscript.srcDirs = ['src']
        res.srcDirs = ['res']
        assets.srcDirs = ['assets']
    }
    debug.setRoot('build-types/debug')
    release.setRoot('build-types/release')
}

packagingOptions {
    exclude 'META-INF/DEPENDENCIES'
    exclude 'META-INF/NOTICE'
    exclude 'META-INF/LICENSE'
    exclude 'META-INF/LICENSE.txt'
    exclude 'META-INF/license.txt'
    exclude 'META-INF/NOTICE.txt'
    exclude 'META-INF/notice.txt'
}

}

apply plugin: 'com.google.gms.google-services'

created time in 9 days

PR closed androidannotations/androidannotations

Code maintainability by QualityGate

With the new code maintainability diagram (by QualityGate) you are able to monitor the quality changes of your source code - all those metrics, code duplications and numerous other factors which have a direct impact on maintainability of your application.

New features are available:

  • Team performance, developer statistics
  • Code smells based on the detected code duplications
  • Code advisor, the most refactorable points of the system

For more details, please visit: https://quality-gate.com/dashboard/branches/137076#overview

+2 -0

0 comment

1 changed file

FAnett1997

pr closed time in 9 days

more