Caused by: java.lang.NoSuchMethodError: com.android.build.gradle.tasks.ProcessAndroidResources.getPackageForR()Ljava/lang/String;
at butterknife.plugin.ButterKnifePlugin$configureR2Generation$1$1.execute(ButterKnifePlugin.kt:59)
at butterknife.plugin.ButterKnifePlugin$configureR2Generation$1$1.execute(ButterKnifePlugin.kt:18)
It seems that AGP 3.1 has removed a method that the plugin uses.
Can use getOriginalApplicationId but it'll also break eventually.
I am facing the same error. How can I workaround it?
Use 3.0.0
On Mon, Oct 30, 2017 at 2:57 PM Amr Yousef notifications@github.com wrote:
I am facing the same error. How can I workaround it?
—
You are receiving this because you commented.Reply to this email directly, view it on GitHub
https://github.com/JakeWharton/butterknife/issues/1124#issuecomment-340469966,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAEEEVVxacOPe-2rYH2FTPB4SLAIFwhgks5sxePDgaJpZM4QJZ7r
.
Sorry but 3.0.0 of what, Android Studio?
Android Gradle plugin
On Mon, Oct 30, 2017 at 3:24 PM Amr Yousef notifications@github.com wrote:
Sorry but 3.0.0 of what, Android Studio?
—
You are receiving this because you commented.Reply to this email directly, view it on GitHub
https://github.com/JakeWharton/butterknife/issues/1124#issuecomment-340479191,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAEEEeIjUCGNw0flhG4FtUcJXtLMZPtgks5sxeoagaJpZM4QJZ7r
.
Thank you
Most helpful comment
Android Gradle plugin
On Mon, Oct 30, 2017 at 3:24 PM Amr Yousef notifications@github.com wrote: