ZieIony / Carbon

Material Design implementation for Android 4.0+. Shadows, ripples, vectors, fonts, animations, widgets, rounded corners and more.

Home Page:https://androidreclib.wordpress.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

xxx:compileReleaseJavaWithJavac

EastUp opened this issue · comments

image

When my project relies on your library, prepare to upload to bintray error

Could you please paste these messages as text or translate them for me?

error :xxxxx is abstract and cannot be instantiated
error: requires constant expression

This error happens when you try to use databinding in a library dependency. If your project is a library and you are trying to use Carbon in it, it may be the reason. I don't think that there's other solution than just removing databinding from Carbon. If it's possible, it will take some time.

I checked two things yesterday and:

  1. RxCarbon compiles fine as a library while depending on Carbon.
  2. Removing databinding from Carbon is not possible as it is used in several different places.

thank you the version 0.15.3 is OK