Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PaperParcel 2.0.7-2.0.8: Cannot find PaperParcel annotation compile error #223

Closed
arberg opened this issue Oct 8, 2019 · 4 comments
Closed

Comments

@arberg
Copy link

arberg commented Oct 8, 2019

Using Android Studio 3.5.1, Java (and a bit of kotlin but not with kapt and not with paperparcel).

Works: 2.0.6 (2.0.4 was what I used before so that I have tested, but 2.0.6 compiles).
Fails: 2.0.7, 2.0.8.

I can just stay on 2.0.6 for now.

It gives compiles errors for all classes that use @PaperParcel, and says error: cannot find symbol class PaperParcel


import paperparcel.PaperParcel;
@PaperParcel

This is my gradle.properties (in case its relevant)

org.gradle.jvmargs=-Xmx4608M
#android.databinding.enableV2=true
android.useAndroidX=true
android.enableJetifier=true

I also tried with

org.gradle.jvmargs=-Xmx4608M
#android.databinding.enableV2=true
android.useAndroidX=true
android.enableJetifier=true
android.databinding.incremental=true
android.lifecycleProcessor.incremental=true

I use databindings.

I've added a cleaned up version of my build.gradle in case there's something in there of relevance to you.

build.gradle-app.txt

@eduardbosch
Copy link

I'm having the same issue. Is there any fix for this?

@mxia
Copy link

mxia commented Jan 7, 2020

#222 has the fix: need to add implementation "nz.bradcampbell:paperparcel-api:2.0.8" for now.

@eduardbosch
Copy link

Great! Thanks @mxia

@arberg
Copy link
Author

arberg commented Jan 9, 2020

ah great, that extra dependency fixes this. I close this since its a duplicate of the other issue, and the solution works.

@arberg arberg closed this as completed Jan 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants