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

Emulator not opening app

So I just completed installing Android Studio and when I opened the emulator it didnt open my app, it only showed me the emulator. It gives me the following error message: pkg: /data/local/tmp/Aragon.funfacts Failure [INSTALL_PARSE_FAILED_MANIFEST_MALFORMED]

I have also noticed that the program is really slow and it takes a long time to process actions. Please help me!!

I have that same problem. Hopefully someone will be able to give us some help!

Cheers, Felix

9 Answers

It sounds like the issue is in the AndroidManifest.xml file. If you can post that it would be helpful.

If you use the search feature in the upper right hand corner it will pull it up.

I believe it isn't liking your package name. The easiest solution would be to start from scratch and use the company domain "Aragon.com" instead of Aragon

It is quite a task, which is why I would start over. If you create a new project, you can copy and paste the work you have done so far.....just remember to modify the package name where it shows up.

Where can I find that file? If I could get this fixed I would be so happy, havent learned anything in about a week because of this.

This is what the file looks like: <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="Aragon.funfacts" >

<application
    android:allowBackup="true"
    android:icon="@drawable/ic_launcher"
    android:label="@string/app_name"
    android:theme="@style/AppTheme" >
    <activity
        android:name=".FunFactsActivity"
        android:label="@string/app_name" >
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />

            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
    </activity>
</application>

</manifest>

Thanks for everything Greg, you really helped me a lot. Just one last question... Any idea how I change the company domain? In the video they said it was quite a task and I have no idea were to start...

I guess I will start from scratch. Greg, you really saved my project here, thank you good sir.

Thanks so much Greg!