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
Mukhamad Mukhsin Wibowo
1,547 PointsEmulator said : Unfortunately, (App name) has stopped
These are what I got from "Run" tab under the code
Waiting for device. Target device: AndroidVirtualDevice [emulator-5554] Uploading file local path: /media/mukhsin/Files/Data/Documents/AndroidStudioProjects/EncryptedMessaging/app/build/outputs/apk/app-debug.apk remote path: /data/local/tmp/com.example.mukhsin.encryptedmessaging Installing com.example.mukhsin.encryptedmessaging DEVICE SHELL COMMAND: pm install -r "/data/local/tmp/com.example.mukhsin.encryptedmessaging" WARNING: linker: libdvm.so has text relocations. This is wasting memory and prevents security hardening. Please fix. pkg: /data/local/tmp/com.example.mukhsin.encryptedmessaging Success
Launching application: com.example.mukhsin.encryptedmessaging/com.example.mukhsin.encryptedmessaging.EncryptedMessagingActivity. DEVICE SHELL COMMAND: am start -n "com.example.mukhsin.encryptedmessaging/com.example.mukhsin.encryptedmessaging.EncryptedMessagingActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER WARNING: linker: libdvm.so has text relocations. This is wasting memory and prevents security hardening. Please fix. Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.example.mukhsin.encryptedmessaging/.EncryptedMessagingActivity }
2 Answers
Andrew Molloy
37,259 PointsWhich operating system and which IDE (Eclipse, Android Studio) are you using? Have you tried reinstalling the IDE application? Sometimes solves some issues I've had without any other way of fixing them.
Mukhamad Mukhsin Wibowo
1,547 PointsThank you very much for your respond.
Eclipse (Linux Mint OS). I haven't reinstalling anything in Eclipse like the system image in SDK Manager. But when I tried in Android Studio, the emulator ran normally (but still slow :D). I just want to know the different of both IDE so I can improve my skill.
More question I couldn't run my projects in my Android device. I tried to make enable the USB debugging in Developer options of my device settings but it asked a password. I don't know what password it asked. I have entered my screen locker password many times but incorrect. I run on Smartfren Andromax C (Jelly Bean 4.1.2) from Hisense.