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.

Plugin with id 'com.neenbedankt.android-apt' not found.

See original GitHub issue

Hi, I just intended to use this library but after adding dependencies to module build.gradle file, (my project consists of a few modules and mentioned module is library one) and on sync project with gradle files, it gives me this error: Error:(2, 0) Plugin with id ‘com.neenbedankt.android-apt’ not found. My build.gradle file if it helps: apply plugin: ‘com.android.library’ apply plugin: ‘com.neenbedankt.android-apt’ android { … } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile(‘proguard-android.txt’), ‘proguard-rules.pro’ } } productFlavors { } }

dependencies {
 ...
    apt 'com.raizlabs.android:DBFlow-Compiler:2.1.0'
    compile "com.raizlabs.android:DBFlow-Core:2.1.0"
    compile "com.raizlabs.android:DBFlow:2.1.0"
}

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
agrosnercommented, Jul 2, 2015

You need to add the plugin to your classpath via:

buildscript {
    repositories {
      jcenter()
    }
    dependencies {
        // the latest version of the android-apt plugin
        classpath 'com.neenbedankt.gradle.plugins:android-apt:1.4'
    }
}

apply plugin: 'com.neenbedankt.android-apt'
0reactions
fabiendemcommented, Jan 26, 2018

@ramanAug you must be running a very old version of DBFlow. Try the version 2.2.1 if you are stuck back to the version 2.x.x.

This should work:

    annotationProcessor 'com.raizlabs.android:DBFlow-Compiler:2.2.1'
    implementation 'com.raizlabs.android:DBFlow-Core:2.2.1'
    implementation 'com.raizlabs.android:DBFlow:2.2.1'
Read more comments on GitHub >

github_iconTop Results From Across the Web

Butterknife 8.4.0 - Plugin with id 'android-apt' not found
According to the Butter Knife readme you need buildscript { repositories { mavenCentral() } dependencies { classpath ...
Read more >
Plugin with id 'android-apt' not found. - 天涯海角路- 博客园
Error:Error:(2, 0) Plugin with id 'android-apt' not found. ... classpath 'com.neenbedankt.gradle.plugins:android-apt:1.4'
Read more >
Solve Gradle error: Plugin with id 'com.android.application' not ...
When building your Android application in Android studio, an error may occur saying Plugin with id 'com.android.application' was not found.
Read more >
neenbedankt,android-apt'not found,怎么解决 - 百度知道
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。 扫描二维码下载.
Read more >
Failed to apply plugin [id 'com.android.application'] - YouTube
Caused by: org.gradle.api.internal. plugins.PluginApplicationException: Failed to apply plugin [ id 'com. android.application']failed to apply ...
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