Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
Sagar Atalatti
Courses Plus Student 229 PointsFunFacts App unfortunately stopped error while launched in AVD
E/cutils-trace: Error opening trace file: No such file or directory (2)
3 Answers
Indranil Tiwary
9,341 PointsDid you create a virtual device.. Click on AVD and create virtual device.. Check if SDK is properly installed in SDK Manager..
If your problem is still not resolved checkout GenyMotion.. Ben Sir is having a tutorial library on how to use it.. Its Simple and faster.. I use GenyMotion and it works great!
Sagar Atalatti
Courses Plus Student 229 PointsI have errors like Slow Operation, Skipped 84 frames, AndroidRunTime: Shutting down VM.
Runtime Exception Caused by : java.lang.ClassCastException: in.craveu.funfacts.FunFact$1 cannot be cast to android.view.View$OnKeyListener in.craveu.funfacts.Funfacts.onCreate(Funfacts.java:31) android.app.Activity.performCreate(ActivityThread.java2278) android.app.Activity.Thread.handleLaunchActivity(ActivityThread.java:2390) android.app.Activity.access$800(ActivityThread.java:800) android.app.ActivityThread$H.handleMessage(ActivityThread.java151)
I got these errors after running the Adding the onClick() Method from First Android Library.
Jon Kussmann
Courses Plus Student 7,254 PointsCan you post the Funfacts.java class as well as its layout?
Sagar Atalatti
Courses Plus Student 229 PointsYes I will post it soon!
Indranil Tiwary
9,341 PointsTry genymotion.. google it now.. and add plugin to android studio.. visit it.. may solve your problem..