Skip to content
This repository was archived by the owner on Apr 16, 2023. It is now read-only.

The following classes could not be instantiated: #36

Open
BrutalCSkakan opened this issue Nov 25, 2014 · 4 comments
Open

The following classes could not be instantiated: #36

BrutalCSkakan opened this issue Nov 25, 2014 · 4 comments

Comments

@BrutalCSkakan
Copy link

Getting this error when im trying to add a <com.cengalabs.flatui.views.FlatTextView

  • com.cengalabs.flatui.views.FlatTextView
    (Open Class, Show Exception)

Tip: Use View.isInEditMode() in your code or show sample data when shown in the IDE

How do i fix this?

@corentindesfarges
Copy link

Same issue for me.

@BrutalCSkakan
Copy link
Author

The author seems to answer other issues, what's up with not answering this one..

@mygoda
Copy link

mygoda commented Jan 11, 2015

哦哦

@RahulSDeshpande
Copy link

Same error here.. :(

Here is the logcat output:

E/AndroidRuntime(1796): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.cengalabs.flatui.sample/com.cengalabs.flatui.sample.MainActivity}: android.view.InflateException: Binary XML file line #28: Error inflating class com.cengalabs.flatui.views.FlatTextView

E/AndroidRuntime(1130):  Caused by: java.lang.NoClassDefFoundError:com.cengalabs.flatui.R$styleable

E/AndroidRuntime(1130):  at com.cengalabs.flatui.views.FlatTextView.init(FlatTextView.java:65)
E/AndroidRuntime(1130):  at com.cengalabs.flatui.views.FlatTextView.<init>(FlatTextView.java:37)

Has anyone found any fix for this ??

Is it because we are using v7-appcompat-lib ??

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants