Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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