facebookarchive / shimmer-android

An easy, flexible way to add a shimmering effect to any view in an Android app.
http://facebook.github.io/shimmer-android/
Other
5.32k stars 695 forks source link

Running error #4

Closed kaleai closed 9 years ago

kaleai commented 9 years ago

03-12 10:05:31.064: E/AndroidRuntime(15217): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.facebook.shimmer.example/com.facebook.shimmer.example.MainActivity}: android.view.InflateException: Binary XML file line #11: Error inflating class com.facebook.shimmer.ShimmerFrameLayout 03-12 10:05:31.064: E/AndroidRuntime(15217): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2187)

jasleensingh commented 9 years ago

Can you provide some more information, like some example code and your build files (are you using gradle or importing the .aar file into your project)? It's difficult to diagnose the problem with the trace you provided.

ghost commented 9 years ago

Thank you for reporting this issue and appreciate your patience. We've notified the core team for an update on this issue. We're looking for a response within the next 30 days or the issue may be closed.

kaleai commented 9 years ago

thx.

dkpalmer commented 8 years ago

Just to add some more info for anyone that comes across this, I also ran into the inflation exception. I was missing the @aar on the reference in Gradle. Adding it cleared the exception.