Comments (5)
FYI, no more issues using Butterknife 8
from android-gradle-aspectj.
Temporarily solution to use ButterKnife with AspectJ-Gradle plugin is to use snapshot version of ButterKnife plugin. To upgrade project to use snapshot simple add a Sonotype repo:
repositories { maven { url 'https://oss.sonatype.org/content/repositories/snapshots' } }
And change dependencies to use standalone preprocessor compiler:
dependencies { compile 'com.jakewharton:butterknife:8.0.0-SNAPSHOT' apt 'com.jakewharton:butterknife-compiler:8.0.0-SNAPSHOT' }
Notice, that you should use apt plugin to enable snapshot.
from android-gradle-aspectj.
Hey! Thanks, that's what I ended up to do - but ButterKnife 8 isn't production-ready yet (no ButterKnife.destroy()
yet for example), so I'll wait a little bit before using Aspect-J/your plugin in production.
Thanks for everything, I will keep you updated for sure.
from android-gradle-aspectj.
Hi Edgar!
I've some news for you: I discovered that gradle plugin for Dagger2 which uses AspectJ under the hood and which is fully working on my project (using ButterKnife 7!). That's very strange, isn't it?
Any clue?
from android-gradle-aspectj.
Hello!
Interesting behavior. Think dagger2metrics works fine due to using aspectj-annotation syntax, not native. But that's only my thoughts. I'll look closely how it'll "friend" with native aspectj syntax, maybe on this week or on holidays :)
Thank's for your reply!
from android-gradle-aspectj.
Related Issues (20)
- NoClassDefFoundError when adding AppCompat dependency HOT 2
- Can't debug .aj file in Android Studio HOT 5
- Unable to find method 'com.android.build.gradle.BasePlugin.getVariantManager() HOT 1
- ERROR: Unable to find method 'com.android.build.gradle.internal.variant.BaseVariantData.getVariantDslInfo()Lcom/android/build/gradle/internal/core/VariantDslInfo;'. HOT 2
- Help me!!! xxx is defined multiple times: HOT 2
- When using com.archinamon.aspectj-ext and includeJar, the type xxx is defined multiple times HOT 7
- Is there any way to intercept the andrid framework methods? HOT 1
- Problems with includeJar in multimodule project
- VariantUtils.kt # findSourcesForVariant() need to improve
- Aspectj-ext 4.2.1 and AGP 4 hangs for multi-module app when using includeJar on feature module HOT 1
- Caused by: java.lang.NoClassDefFoundError:
- please help me!! i hit : cannot cast the outer type to a reference type. HOT 3
- Build failing with `NoSuchMethodError: ...VariantManager.getVariantScopes()Ljava/util/List` when using Android Gradle Plugin 4.1.0 HOT 10
- Can this plugin support incremental building? HOT 1
- AGP 4.1.1: java.lang.NoClassDefFoundError: Failed resolution of: Landroidx/appcompat/R$drawable HOT 1
- Is the plugin no longer supported? HOT 1
- Migration from JCenter HOT 2
- Is someone able to host the latest 4.3.0 plugin somewhere?
- Not Compatible with AGP 7.x. | No such method error | Can't use with Jetpack Compose
- Could not resolve plugin artifact in repository
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from android-gradle-aspectj.