Seeing my android application on emulator all the time - android

My Android application has successfully installed , but I am not sure if it ran or not.
It may have run for a short time or not at all.
How do I fix the emulator so that I can watch my application all the time?
[2014-01-30 12:11:22 - AndApp] Installing AndApp.apk...
[2014-01-30 12:13:12 - AndApp] Success!
[2014-01-30 12:13:13 - AndApp] Starting activity
com.example.AndApp.MainActivity on device emulator-5554
[2014-01-30 12:13:17 - AndApp] ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.example.AndApp/.MainActivity }

Related

Missing apk using IOIO for android

I have been trying to get the HelloIOIO example running for ages now. It really looks good now. All dependencies are met. All the Libraries built succesfully. (All this thanks to this awesome page: https://github.com/ytai/ioio/wiki/Eclipse-Troubleshooting)
But when I want to start the app on my phone I get this:
[2014-02-03 19:34:33 - HelloIOIO] Android Launch!
[2014-02-03 19:34:33 - HelloIOIO] adb is running normally.
[2014-02-03 19:34:33 - HelloIOIO] Performing ioio.examples.hello.MainActivity activity launch
[2014-02-03 19:34:33 - HelloIOIO] Uploading HelloIOIO.apk onto device '172.16.10.103:5555' [2014-02-03 19:34:34 - HelloIOIO] Installing HelloIOIO.apk...
[2014-02-03 19:34:45 - HelloIOIO] Success!
[2014-02-03 19:34:46 - IOIOLibAndroid] Could not find IOIOLibAndroid.apk!
[2014-02-03 19:34:46 - HelloIOIO] Starting activity ioio.examples.hello.MainActivity on device 172.16.10.103:5555
[2014-02-03 19:34:47 - HelloIOIO] ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=ioio.examples.hello/.MainActivity }
The funny thing is though that in the actual IOIOLibAndroid-Project is a ioiolibandroid.jar-File (As I said - it is compiling perfectly)
Please help me :)
I found some help here:
groups.google.com/forum/#!topic/ioio-users/WmWrdpyjc8U

Build android error activity manager

Please help me, i try build android with eclipse on device phone warning error
[2013-11-10 19:04:28 - SynergyAutoparts] Android Launch!
[2013-11-10 19:04:28 - SynergyAutoparts] adb is running normally.
[2013-11-10 19:04:28 - SynergyAutoparts] Performing com.gatot.synergyautoparts.MainActivity activity launch
[2013-11-10 19:04:31 - SynergyAutoparts] Application already deployed. No need to reinstall.
[2013-11-10 19:04:31 - SynergyAutoparts] Starting activity com.gatot.synergyautoparts.MainActivity on device SANUGYPY5KBWOYLNVB6
[2013-11-10 19:04:32 - SynergyAutoparts] ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.gatot.synergyautoparts/.MainActivity }
[2013-11-10 19:04:32 - SynergyAutoparts] ActivityManager: Warning: Activity not started, its current task has been brought to the front
thk
Just kill currently working process on your AVD and try to this again. AVD relaunch can help as well.

Trouble running app from Eclipse after ICS update

Ever since my phone got updated to ICS about a month ago (HTC Design on Sprint) whenever I try to run my app from eclipse about 80% of the time it fails. No error, just doesn't run. I get this in the console:
[2012-09-21 17:29:59 - GetAClue] ------------------------------
[2012-09-21 17:29:59 - GetAClue] Android Launch!
[2012-09-21 17:29:59 - GetAClue] adb is running normally.
[2012-09-21 17:29:59 - GetAClue] Performing com.badbob.app.getaclue.MainActivity activity launch
[2012-09-21 17:30:01 - GetAClue] Uploading GetAClue.apk onto device 'HT1CHMB00902'
[2012-09-21 17:30:01 - GetAClue] Installing GetAClue.apk...
[2012-09-21 17:30:15 - GetAClue] Success!
[2012-09-21 17:30:15 - GetAClue] Starting activity com.badbob.app.getaclue.MainActivity on device HT1CHMB00902
But it stops there and doesn't give me one of these like it should:
[2012-09-21 17:26:28 - GetAClue] ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.badbob.app.getaclue/.MainActivity }
If I keep trying eventually it will run. I also notice that when it fails the processor on my phone is thrashed for a good minute or two. Can't tell what process is thrashing it though.
I have 2 older Droid X's that I don't have this problem with. I also have two dev computers and it happens on both of them with the HTC so it seems to be something up with my phone, or ICS.
Anyone else experiencing this?

Create Android library

I've written a library (game engine) and would like to use it for my apps and games that I'll be creating.
I see there are two ways to add libraries to your code:
Export to jar and add that to build path
Have it as a project file its self, and simply add project to build path.
I've tried the second method, yet I get a:
Unable to instantiate activity error
Stack trace:
[2012-07-15 21:06:08 - ScienceProject] ------------------------------
[2012-07-15 21:06:08 - ScienceProject] Android Launch! [2012-07-15
21:06:08 - ScienceProject] adb is running normally. [2012-07-15
21:06:08 - ScienceProject] Performing
com.webstorms.scienceproject.ScienceProjectActivity activity launch
[2012-07-15 21:06:08 - ScienceProject] Automatic Target Mode: using
existing emulator 'emulator-5554' running compatible AVD 'HVGA'
[2012-07-15 21:06:09 - ScienceProject] Application already deployed.
No need to reinstall. [2012-07-15 21:06:09 - ScienceProject] Project
dependency found, installing: WSGameEngine [2012-07-15 21:06:10 -
WSGameEngine] Application already deployed. No need to reinstall.
[2012-07-15 21:06:10 - ScienceProject] Starting activity
com.webstorms.scienceproject.ScienceProjectActivity on device
emulator-5554 [2012-07-15 21:06:12 - ScienceProject] ActivityManager:
Starting: Intent { act=android.intent.action.MAIN
cat=[android.intent.category.LAUNCHER]
cmp=com.webstorms.scienceproject/.ScienceProjectActivity }

No variables shown in eclipse debugging

I saw many similar questions, but the solution was not found, so i'm asking:
When i'm debuging the my android app NONE of the variables are shown in the "Variables" window. The console shows me that the debuger is not fully loaded.
[2012-02-21 22:23:29 - Watcher] Android Launch!
[2012-02-21 22:23:29 - Watcher] adb is running normally.
[2012-02-21 22:23:29 - Watcher] Performing com.workspace.watcher.WatcherActivity activity launch
[2012-02-21 22:23:29 - Watcher] Automatic Target Mode: using device 'F4559C737D65'
[2012-02-21 22:23:32 - Watcher] Application already deployed. No need to reinstall.
[2012-02-21 22:23:32 - Watcher] Starting activity com.workspace.watcher.WatcherActivity on device F4559C737D65
[2012-02-21 22:23:33 - Watcher] ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.workspace.watcher/.WatcherActivity }
[2012-02-21 22:23:34 - Watcher] Attempting to connect debugger to 'com.workspace.watcher' on port 8601
What is the problem? How can i fix it?
After talking with Chorche in chat we determined that the problem was he did not set any breakpoints and as such there were no available variables to read.
This seems to be a pretty good explanation / tutorial on debugging using eclipse: http://www.vogella.de/articles/EclipseDebugging/article.html

Categories

Resources