small doubt regarding hello android

by Kusuma Pabba » Tue, 16 Dec 2008 19:57:10 GMT


Sponsored Links
 hi all,
    i am new to android i have installed the eclipse ganymede and into 
that  i have added ADT(android development tools) and android editors 
into updates
    later  i followed all the instructions given in the following site  
 http://code.google.com/android/intro/hello-android.html #create  after 
changing the HelloAndroid code also still  i could see errors hence i 
have added Android library by moving into build path option of the 
project, then there were no errors  and hence i have given run and then 
it has given me different options like android ,java,etc etc i choose 
android  later  i got the following messages in console:
                         [2008-12-16 17:12:34 - HelloAndroid] Android 
Launch!
                         [2008-12-16 17:12:34 - HelloAndroid] adb is 
running normally.
                         [2008-12-16 17:12:34 - HelloAndroid] Could not 
find HelloAndroid.apk!                [ERROR]

can some one please help me out to resolve this issue, any help would  
be appreciated,thanks for the help in advance

                Thanks & Regards
                   kusuma.p



         


The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments contained in it.

--~--~---------~--~----~------------~-------~--~----~



small doubt regarding hello android

by filbert » Tue, 16 Dec 2008 22:21:41 GMT


 Did you set up the launch configurations and all of that?



--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


small doubt regarding hello android

by Kusuma Pabba » Wed, 17 Dec 2008 19:46:24 GMT


 


Thanks for the reply,
    i have set up launch configuration as it is shown in the site
     http://code.google.com/android/intro/hello-android.html 
    thinking that i may have done some mistake i have deleted eclipse 
directory and performmed all installations and settings right from the   
                beginning but still i got the same error: like

[2008-12-17 16:44:35 - HelloAndroid] ------------------------------
[2008-12-17 16:44:35 - HelloAndroid] Android Launch!
[2008-12-17 16:44:35 - HelloAndroid] adb is running normally.
[2008-12-17 16:44:35 - HelloAndroid] Could not find HelloAndroid.apk!


                                  Thanks & Regards
                                            kusuma.p

--~--~---------~--~----~------------~-------~--~----~



small doubt regarding hello android

by filbert » Thu, 18 Dec 2008 01:31:42 GMT


 a, I was going to suggest re-installing as well... but looks like
that didn't change anything.

Ok, I'm not an ecplise expert, so I'm completely guessing here...

Do you have auto-build turned on? Perhaps you missed that and it is
not compiling? Try hitting ctrl-b to perform a build.

In your launch configurations, you should see on the left side a
section for "Android Application" and then your HelloAndroid should
appear under there. Select it, and on the right side it should show
the correct Project. If not, hit the browse button to make sure the
right one is selected. Under that it says "Launch Default Activity"
perhaps you should try the second option, Launch and specify the
appropriate class to use.

Also, where is your workspace set up on your computer?

That's probably the most I can suggest without actually being there to
look at your Eclipse...

On Dec 17, 5:44am, Kusuma Pabba <kusu...@ncoretech.com> wrote:
--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. emulator doesn't shows up

Hi,


I'm a beginner for android apps development.I use netbeans to develop
java apps so decided to integrat android with it.
  I downloaded the nbdroid plugin and apache ant .I installed apache
ant successfully, installed the plugin, gave the path of the SDK to
netbeans.But after creating hello world application the emulator
doesn't shows up and the following message shows up
--------------------------------------------------------------------------------------------------------------------------------------------------------------------
init:
deps-jar:
Compiling 1 source file to C:\Documents and Settings\Deepak Kumar
Shukla\My Documents\NetBeansProjects\AndroidApplication4\build\classes
compile:
Updating zip: C:\Documents and Settings\Deepak Kumar Shukla\My
Documents\NetBeansProjects\AndroidApplication4\dist
\AndroidApplication4.apk_
Using keystore: C:\Documents and Settings\Deepak Kumar Shukla\.android
\debug.keystore
Deleting: C:\Documents and Settings\Deepak Kumar Shukla\My Documents
\NetBeansProjects\AndroidApplication4\dist\AndroidApplication4.apk_
jar:
Result: -1
C:\Documents and Settings\Deepak Kumar Shukla\My Documents
\NetBeansProjects\AndroidApplication4\nbproject\build-impl.xml:544:
Device's package manager not ready to install new packages
BUILD FAILED (total time: 50 seconds)
--------------------------------------------------------------------------------------------------------------------------------------------------------------------

Be ensured about the installation of apache ant as I am able to run
commands like "ant -h" from the command prompt.
Also, I am able to create new avds for any platform (android 1.1 ,
1.5;Google APIs).

Message displayed on building the solution for the application is as
follows:
--------------------------------------------------------------------------------------------------------------------------------------------------------------------
init:
deps-clean:
Deleting directory C:\Documents and Settings\Deepak Kumar Shukla\My
Documents\NetBeansProjects\AndroidApplication4\build
Deleting directory C:\Documents and Settings\Deepak Kumar Shukla\My
Documents\NetBeansProjects\AndroidApplication4\dist
clean:
init:
deps-jar:
Created dir: C:\Documents and Settings\Deepak Kumar Shukla\My Documents
\NetBeansProjects\AndroidApplication4\build\classes
Compiling 2 source files to C:\Documents and Settings\Deepak Kumar
Shukla\My Documents\NetBeansProjects\AndroidApplication4\build\classes
compile:
Created dir: C:\Documents and Settings\Deepak Kumar Shukla\My Documents
\NetBeansProjects\AndroidApplication4\dist
Updating zip: C:\Documents and Settings\Deepak Kumar Shukla\My
Documents\NetBeansProjects\AndroidApplication4\dist
\AndroidApplication4.apk_
Using keystore: C:\Documents and Settings\Deepak Kumar Shukla\.android
\debug.keystore
Deleting: C:\Documents and Settings\Deepak Kumar Shukla\My Documents
\NetBeansProjects\AndroidApplication4\dist\AndroidApplication4.apk_
jar:
BUILD SUCCESSFUL (total time: 0 seconds)

--------------------------------------------------------------------------------------------------------------------------------------------------------------------

I'm not able to make out how to solve this problem.
Please help me out.

Thanks.

--~--~---------~--~----~------------~-------~--~----~

2. Problem of vertical alignment in a RelativeLayout

Hello.

I know my original post (at
 http://www.***.com/ ,
I could not find a way to perform a reply, maybe it's too old) is not
{*filter*}, but I'm now facing that problem in many situations. Let me
please rephrase what I attempt to do, and what my problem is.

I have a RelativeLayout made of three widgets (named 1, 2 and 3 on the
illustrations below): one attached to its parent left border (labelled
1), one to its parent right border (labelled 2) and the third
(labelled 3) inserted between the 2 previous ones (its left border is
attached to the first widget right border, and its right border is
attached to the second widget left border). The third widget (the
middle/central one laballed "3") is far taller than the two others,
and I would like the first and second items (1 and 2) to be vertically
centered with the middle widget.

I have resorted to the "android:layout_centerVertical" attribute for
both the first and second widget, but I do not get the expected
result. See at the bottom the various layouts I'm mentionning. Could
someone please help me, and tell me whether what I intend to do is
feasible, and how? Thank you for your time.

Layout with no "android:layout_centerVertical" specified:
-------
|1|3|2|
--|3|--
  |3|
  ---

Layout with "android:layout_centerVertical" set to "true":


  ---
  |3|
  |3|
  |3|
-------
|1| |2|
--- ---


What I'd like:
  ---
--|3|--
|1|3|2|
--|3|--
  ---

Regards,
douard, desperate
--~--~---------~--~----~------------~-------~--~----~

3. How to listen for touch events from *Lock Screen* and *Home Screen*

4. Android GUI PSD

5. Is the Android team ever going to take responsibility for the terrible Android Market?

6. Hello MapView tutorial

7. what is Intent.getExtras in sms application and send a example