Comments (16)
+1
from auto-parcel.
+1
from auto-parcel.
Try to add next code in build.gradle of your project:
allprojects {
repositories {
jcenter()
mavenCentral()
}
}
from auto-parcel.
I don't know about the version you were using but it works fine with the android gradle plugin 2.2.2.
@Grishberg was on the right track for your problem I think. In your example, you miss a repository but it's neither jcenter nor mavenCentral.
It seems that the actual AutoParcel library is released on a third repository (seen in the Readme) :
repositories {
maven {url "https://clojars.org/repo/"}
}
from auto-parcel.
I was using com.android.tools.build:gradle:2.2.0-alpha4
at that moment. About the repository, this is not related to that. In fact you cannot see the repository definition in this script because it is in parent one. The issue was about the annotationProcessor
gradle configuration in the dependencies
closure. I would have to test it again to see if it is still happening
from auto-parcel.
any udpdate here?
I have the same problem with 2.2.2
:(
from auto-parcel.
+1
from auto-parcel.
+1
from auto-parcel.
+1
from auto-parcel.
+1
from auto-parcel.
+1
from auto-parcel.
I updated sdk 25 to 26 and this error comes:
Error:Cannot change dependencies of configuration ':app:_debugAnnotationProcessor' after it has been resolved.
Cannot resolve it.
from auto-parcel.
+1
from auto-parcel.
Waiting for the resolution :)
from auto-parcel.
gradle 2.3.3 +1
from auto-parcel.
Closed as its been a long time stale
from auto-parcel.
Related Issues (20)
- Mutable field should make defensive copy in constructor and accessor HOT 2
- Property-Methods in Builder not supported HOT 2
- Why do we need to call all Builder methods? HOT 3
- javabeans must be abstract? HOT 1
- Ignore properties in equals / hascode HOT 2
- Differences to auto-value-parcel HOT 3
- jcenter? HOT 3
- Auto-parcel can't compile 'Null' object HOT 1
- IndexOutOfBoundsException during the empty class generation HOT 3
- Annotated constructor arguments HOT 4
- Interprets toBuilder method as field accessor HOT 2
- Support JavaBeans-style name prefixes
- Failed to invoke public uk.ivanc.archimvp.model.entities.Campaigns() with no args
- Compatibilty with Autovalue 1.3 HOT 4
- toBuilder() function is included in the constructor for the auto generated parcel code.
- Duplicate files copied in APK project.clj HOT 2
- Generics are not inherited
- Build failed with android studio 3.1
- Warning:@AutoValue classes cannot have abstract methods other than property getters and Builder converters
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 auto-parcel.