question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Build failed from version 2.0.0 to 2.2.0

See original GitHub issue

throw 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:closed
  • Created 6 years ago
  • Comments:41 (18 by maintainers)

github_iconTop GitHub Comments

1reaction
rorschachcommented, Nov 9, 2017

Finally solved this problem, thanks for your patient solution 😃

1reaction
elihartcommented, Jul 8, 2017

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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found