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 a Simple Android App Basic Android Programming Adding the OnClick Method

I'm having problem in running my Emulator

THIS IS SHOWN WHENEVER I RUN THE PROGRAME:-

Installation failed with message Invalid File: D:\AndroidStudioApp's\FunFacts\app\build\intermediates\split-apk\debug\slices\slice_9.apk. It is possible that this issue is resolved by uninstalling an existing version of the apk if it is present, and then re-installing.

WARNING: Uninstalling will remove the application data!

Do you want to uninstall the existing application?

1 Answer

Maris Krastins
Maris Krastins
1,853 Points

If you are new to Android studio, you need to follow few basics steps in configuring the emulator.

Make sure you have proper SDK installed Make sure you have Intel HAXM & virtualization option enabled in your BIOS Configure emulator correctly, download the Intel X86 Atom system image for better performance. Go through this blog, http://www.feelzdroid.com/2015/05/android-studio-emulator-not-working-solution.html

Here they have explained clearly, what are the problems you face while running & resolution for the same.

Hope that helps.

Thank you so much , Mr. Maris for your help. Now my problem is solved