• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Emulator problem

kyllix

Lurker
I trying to test my app in emulator, but emulator says: "Unfortunately *myapp* has stopped."

There is no problems.


AVD: Galaxy Nexus, Android 4.4.2 - API Level 17

If somebody haves any clue about that problem.. Thank you! :)
 
That just means that your App is crashing, so posting here the logcat errors would help us understand the problem.
 
LoL.. I just start a new project.. I don't have edited or anything yet and emulator don't says nothing.. Goog google, u rocks!

[2014-08-05 11:25:39 - ] Android Launch!
[2014-08-05 11:25:39 - ] adb is running normally.
[2014-08-05 11:25:39 - ] Performing com.example.app.MainActivity activity launch
[2014-08-05 11:25:39 - ] Automatic Target Mode: Preferred AVD 'android' is not available. Launching new emulator.
[2014-08-05 11:25:39 - ] Launching a new emulator with Virtual Device 'android'
[2014-08-05 11:25:40 - Emulator] emulator: warning: opening audio input failed
[2014-08-05 11:25:40 - Emulator]
[2014-08-05 11:25:40 - ] New emulator found: emulator-5554
[2014-08-05 11:25:40 - ] Waiting for HOME ('android.process.acore') to be launched...
 
Ok here is logcat when I get it debugging..

logcat - Pastebin.com

Androidstudio sucks or what? I trying to create android project and not do anything yet. (for code). Is there some problems when I put it working on Android 2.2 and 4.4 (KitKat).. ?
 
Your Activity is taking to long to start. Maybe you are doing a lot of processing on the UI thread? Looks like this is not an empty project. Or memory is to low on emulator? Try to increase memory
 
Yes, I use app template and theme.

When I choose blank activity I automatic get one error when editor launched.

Description Resource Path Location Type
Project 'appcompat_v7' is missing required source folder: 'gen' appcompat_v7 Build path Build Path Problem


Theme what I use: Holo Light with Dark Action Bar...
 
try to install android support repository and android support library from 'extras' folder in SDK manager. Then clean and rebuild your project 'appcompat_v7' and clean and rebuild your main project
 
Back
Top Bottom