tony19 / logback-android

📄The reliable, generic, fast and flexible logging framework for Android
Apache License 2.0
1.2k stars 172 forks source link

Gradle Plugin 3.0.0 cannot find symbol #153

Closed pentarex closed 6 years ago

pentarex commented 7 years ago

Hi I am using your library, kotlin, dagger2, realm and kapt

After upgrading to gradle plugin 3.0.0 Ive started receiving exceptions from the autogenerated classes from kapt like

/project/ABP/app/build/generated/source/kapt/debug/io/realm/CommMetaDataRealmProxy.java:276: error: cannot find symbol
e: 

e:     @TargetApi(Build.VERSION_CODES.HONEYCOMB)

It took me around a day to find the error and reproduce it, it was from the library com.github.tony19:logback-android-classic:1.1.1-6 and for some reason ive added it without the workaround for issue #73 in my build.gradle, now adding it, solved my issue. Just wanted to post it here so if someone else had the same issue can appear in google :)

You can mark it as solved and closed if you want

tony19 commented 6 years ago

This should no longer be required in 1.1.1-7.

lock[bot] commented 5 years ago

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.