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

Android Build an Interactive Story App (Retired) Finishing the User Interface Formatting Strings

Hi, I can't run my app. I keep getting runtime errors

It worked before, but when I tried to run after the last video, I got runtime error. It is says fatal crash. E/AndroidRuntime: FATAL EXCEPTION: main E/AndroidRuntime: FATAL EXCEPTION: main Process: com.example.boisbakhodirov.comics, PID: 2622 java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.boisbakhodirov.comics/com.example.boisbakhodirov.comics.ui.MainActivity}: android.view.InflateException: Binary XML file line #2: Binary XML file line #2: Error inflating class android.widget.RelativeLayout

1 Answer

You haven't given enough information for us to understand what went wrong. Try posting the full error log and your code.