I am an app developer for Java, Eclipse, and Android. I am going through an Android app , but it seems I cannot get the first lesson to run on my device. After fixing several problems that prevented the compilation of the project, I was able to run it on AVD. But no luck on the physical device. Below is information about my environment and what the console shows.
On the phone, I tried to find the installation in applications, downloads and on the desktop, but I do not see them.
Computer: Windows XP
Device: Samsung Galaxy Nexus works 4.1, core 3.036-04142-gfa7dc12-dirty
Dev Env: Eclipse Juno
Console:
[2012-07-10 13:35:11 - MyFirstProject] ------------------------------ [2012-07-10 13:35:11 - MyFirstProject] Android Launch! [2012-07-10 13:35:11 - MyFirstProject] adb is running normally. [2012-07-10 13:35:11 - MyFirstProject] Performing com.example.myfirstapp.MainActivity activity launch [2012-07-10 13:35:14 - MyFirstProject] Uploading MyFirstProject.apk onto device '014994321500300C' [2012-07-10 13:35:14 - MyFirstProject] Installing MyFirstProject.apk... [2012-07-10 13:35:14 - MyFirstProject] Success! [2012-07-10 13:35:14 - MyFirstProject] Starting activity com.example.myfirstapp.MainActivity on device 014994321500300C
Thanks for the quick answers.
My phone appears in Eclipse when debugging. I specifically did not install the Samsung driver on the machine on which I am doing this. Checking Device Manager I saw that the phone was not correctly recognized by Windows. Since then I installed the driver and now I can perform actions by phone at the command line (for example, rebooting adb).
After installing the driver, I rebooted my computer and phone. Unfortunately, the default intention is still not loading on the phone, as when using AVD. I would be happy with AVD, but on my computer itβs pretty slow and itβs just cooler to hold it in your hands (this is more real). :)
Scott source share