-
Notifications
You must be signed in to change notification settings - Fork 45
Conflict with annotationProcessor 'com.tickaroo.tikxml:processor:0.8.13' #116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Can you show me the full compilation output? Most likely one of the
annotation orocessors (tikxml or databinding) have outputted an error
message but it might have been well hidden in the rest of other compilation
errors ...
Alex Podolian <[email protected]> schrieb am Sa., 29. Dez. 2018,
14:46:
… Error: error: cannot find symbol class BR
It argues on Data Binding.
Here is my dependencies list:
dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation files('libs/mail.jar')
implementation files('libs/activation.jar')
***@***.***') {
transitive = true
}
implementation 'com.google.android.gms:play-services-maps:16.0.0'
implementation 'com.google.android.gms:play-services-places:16.0.0'
implementation 'com.google.android.gms:play-services-location:16.0.0'
implementation 'com.android.support:appcompat-v7:28.0.0'
implementation 'com.android.support:design:28.0.0'
implementation 'com.android.support:multidex:1.0.3'
implementation 'com.android.support:support-v4:28.0.0'
implementation 'com.android.support:cardview-v7:28.0.0'
implementation 'com.google.android:flexbox:0.1.2'
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
implementation 'com.yqritc:recyclerview-flexibledivider:1.4.0'
implementation 'com.jakewharton:butterknife:8.8.1'
implementation 'com.squareup.retrofit2:retrofit:2.4.0'
implementation 'com.squareup.retrofit2:converter-gson:2.4.0'
implementation 'com.squareup.retrofit2:adapter-rxjava2:2.3.0'
implementation 'com.squareup.okhttp3:okhttp:3.11.0'
implementation 'com.squareup.okhttp3:logging-interceptor:3.11.0'
implementation 'com.squareup.okhttp3:okhttp-urlconnection:3.11.0'
implementation 'io.reactivex.rxjava2:rxandroid:2.0.1'
implementation 'io.reactivex.rxjava2:rxjava:2.1.7'
implementation 'com.facebook.stetho:stetho:1.5.0'
implementation 'com.facebook.stetho:stetho-okhttp3:1.5.0'
implementation 'me.ydcool.lib:qrmodule:1.0'
implementation 'com.google.firebase:firebase-messaging:17.3.4'
implementation 'com.google.firebase:firebase-core:16.0.6'
implementation 'com.github.simbiose:Encryption:2.0.0'
implementation 'org.greenrobot:eventbus:3.0.0'
implementation 'com.github.bumptech.glide:glide:4.7.1'
implementation 'q.rorbin:badgeview:1.1.2'
implementation 'jp.wasabeef:recyclerview-animators:2.2.7'
annotationProcessor 'com.github.bumptech.glide:compiler:4.6.1'
annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1'
implementation 'com.tickaroo.tikxml:retrofit-converter:0.8.13'
implementation 'com.tickaroo.tikxml:annotation:0.8.13'
implementation 'com.tickaroo.tikxml:core:0.8.13'
annotationProcessor 'com.tickaroo.tikxml:processor:0.8.13'
annotationProcessor 'com.android.databinding:compiler:3.2.0-alpha10'
}
buildscript {
repositories {
maven { url 'https://maven.fabric.io/public' }
}
dependencies {
classpath 'io.fabric.tools:gradle:1.27.0'
}
}
apply plugin: 'com.android.application'
apply plugin: 'io.fabric'
repositories {
maven { url 'https://maven.fabric.io/public' }
}
apply plugin: 'com.google.gms.google-services'
Here is my build.gradle:
buildscript {
repositories {
jcenter()
maven {
url 'https://maven.google.com/'
name 'Google'
}
}
dependencies {
classpath 'com.android.tools.build:gradle:3.2.1'
classpath 'com.google.gms:google-services:4.2.0'
}
}
allprojects {
repositories {
google()
jcenter()
mavenCentral()
maven {
url 'http://oss.sonatype.org/content/repositories/snapshots'
}
maven { url 'https://jitpack.io' }
maven {
url "https://maven.google.com"
}
maven {
url 'https://maven.google.com/'
name 'Google'
}
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
Here is my gradle.properties:
org.gradle.daemon=true
org.gradle.configureondemand=true
org.gradle.parallel=true
org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m
-XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
android.buildCacheDir=/home/alex/AndroidStudioProjects/Rodnik_android_cache
Without annotationProcessor 'com.tickaroo.tikxml:processor:0.8.13'
everything is fine. But than it argues on ConvertType due to lack of
annotationProcessor 'com.tickaroo.tikxml:processor:0.8.13'.
I was searching for solution but didn't find anything...
Pls help.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#116>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAjnroLZ_LVG2aLnKp0cL0nmdithUgvfks5u93I7gaJpZM4ZklIu>
.
|
|
That is related to Android DataBinding. |
I can see that on my own. |
you should get gradle errors for databinding. When Databinding's Generator occurs with errors, BR wouldn't exists. I noticed you have a lot of boxed field warnings. |
What is class |
I'm pretty sure you have the following problem:
Solution: allprojects {
gradle.projectsEvaluated {
tasks.withType(JavaCompile) {
options.compilerArgs << "-Xmaxerrs" << "10000"
}
}
} Then you see all error messages incl. the root cause: the error message from TikXml annotation processor. More details here: https://stackoverflow.com/questions/3115537/java-compilation-errors-limited-to-100/35707023#35707023 |
I have changed all implementations to latest snapshot and it worked!
But now there is a problem with TypeAdapter when I'm trying to send simple request via retrofit2.
Here is my class:
What am I doing wrong? |
Uh oh!
There was an error while loading. Please reload this page.
Error: error: cannot find symbol class BR
It argues on Data Binding.
Here is my dependencies list:
Here is my build.gradle:
Here is my gradle.properties:
Without annotationProcessor 'com.tickaroo.tikxml:processor:0.8.13' everything is fine. But than it argues on TypeAdapter due to lack of annotationProcessor 'com.tickaroo.tikxml:processor:0.8.13'.
I was searching for solution but didn't find anything...
Pls help.
The text was updated successfully, but these errors were encountered: