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

fun facts app failure

pkg: /data/local/tmp/Williamgs06.funfacts Failure [INSTALL_PARSE_FAILED_MANIFEST_MALFORMED]

this came up under the Run tab log in Android studio the emulator is working but the app wont load

I haven't changed the code at all

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" android:paddingLeft="@dimen/activity_horizontal_margin" android:paddingRight="@dimen/activity_horizontal_margin" android:paddingTop="@dimen/activity_vertical_margin" android:paddingBottom="@dimen/activity_vertical_margin" tools:context=".FunFactsActivity">

<TextView
    android:text="@string/hello_world"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content" />

</RelativeLayout>

1 Answer

william parrish
william parrish
13,774 Points

Need to see the AndroidManifest.XML , to see whats going on. I dont think it is necessarily related to your TextView ( there is nothing inherently wrong with what you posted above).

thanks william parrish,

found out that it was the Acitivity name it had 2 capitals which was creating that error . Thanks for responding . Appreciate your time.