Build failed from version 2.0.0 to 2.2.0
See original GitHub issuethrow below excepotion:
Error:Execution failed for task ':app:compileDevDebugJavaWithJavac'. java.lang.NoSuchMethodError: com.squareup.javapoet.ClassName.reflectionName()Ljava/lang/String;
and it’s looks like occurs on Model with EpoxyModelClass
annotation, such as
@EpoxyModelClass(layout = R.layout.footer_divider)
public abstract class BaseFooterDividerModel extends EpoxyModel<View> {
}
my dependences:
epoxyVersion = '2.2.0'
def libs = [
epoxy : "com.airbnb.android:epoxy:${epoxyVersion}",
epoxyprocessor : "com.airbnb.android:epoxy-processor:${epoxyVersion}",
]
appDependencies = [
[configuration: "compile", dependency: libs.epoxy],
[configuration: "annotationProcessor", dependency: libs.epoxyprocessor],
]
thanks for your help
Issue Analytics
- State:
- Created 6 years ago
- Comments:41 (18 by maintainers)
Top Results From Across the Web
flutter packages get failed depends on flutter_test any from sdk ...
I create a flutter project, and run flutter packeages get,the output as below: [second] flutter packages get Waiting for another flutter command ...
Read more >Room - Android Developers
To let Room know that it should generate an auto-migration a new property @Database#autoMigrations can be used to declare the versions to auto-migrate...
Read more >Improve error messages for exceptions thrown from Jetifier
during build, following error is occured. FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':app:javaPreCompileDebug'.
Read more >NuGet Warning NU1605 - Microsoft Learn
NET SDK error NETSDK1045, which occurs when the build tools can't find the requested version of the .NET SDK.
Read more >Build error after upgrading Flutter - Technical Feeder
Downloading sqflite 2.0.0+4... Downloading sqflite_common 2.0.1+1... Changed 3 dependencies! 4 packages have newer versions incompatible with ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Finally solved this problem, thanks for your patient solution 😃
have you seen https://github.com/rharter/auto-value-gson/issues/43 and https://github.com/rharter/auto-value-parcel/issues/64?
It seems like you can try add
annotationProcessor 'com.squareup:javapoet:1.8.0'
before your dagger line