I just tried the HelloWorld with the latest SDK running in Eclipse
3.4. With all the tracks you suggested, I still have the same invalid
APK problem to run the sample Hello World app.
Any idea?

Hi demo1987, did you fix your problem? If so, how?

Thanks. Josh

On Sep 7, 12:07 pm, Quame <[EMAIL PROTECTED]> wrote:
> demo1987, i dont know if this is a bug or not but i had the same
> issue, my package name was one word  "HelloWorldActivity" and had the
> same issue. I changed the package name to "com.helloworldactivity" and
> it worked. Dont ask me why, but trying changing the namespace/package
> of your class. Remember to change any layouts genereated code package
> name as well if you are not dynamically creating controls like you are
> now. Good luck.
>
> On Aug 19, 3:35 am, demo1987 <[EMAIL PROTECTED]> wrote:
>
> > No i didn't, I tried to develop this code within a new project and
> > know it's working, don't know why it wouldn't work before. I want to
> > thank for your help.
>
> > On 19 aug, 10:22, "Megha Joshi" <[EMAIL PROTECTED]> wrote:
>
> > > That code seems to be correct, it works on my machine. If the blank 
> > > starter
> > > project runs for you, I am not sure why this would not run, its not very
> > > different...are you changing anything in AndroidManifest.xml file?
>
> > > On Tue, Aug 19, 2008 at 12:54 AM, demo1987 <[EMAIL PROTECTED]> wrote:
>
> > > > package com.android.helloAndroid;
>
> > > > import android.app.Activity;
> > > > import android.os.Bundle;
> > > > import android.widget.TextView;
>
> > > > public class HelloAndroid extends Activity {
> > > >   /** Called when the activity is first created. */
> > > >   @Override
> > > >   public void onCreate(Bundle savedInstanceState) {
> > > >       super.onCreate(savedInstanceState);
> > > >       TextView tv = new TextView(this);
> > > >       tv.setText("Hello, Android");
> > > >       setContentView(tv);
> > > >   }
> > > > }
>
> > > > This is the code I used, it is exactly the same code as in the
> > > > beginners tutorial.
>
> > > > On 19 aug, 09:18, "Megha Joshi" <[EMAIL PROTECTED]> wrote:
> > > > > On Tue, Aug 19, 2008 at 12:01 AM, demo1987 <[EMAIL PROTECTED]> wrote:
>
> > > > > > Thta i sworking, but when I run my project i get the error I said
> > > > > > above. (excuse me for my english) The emulator is running, I can use
> > > > > > everything within Android. but my program won't install. I hope you
> > > > > > can help me.
>
> > > > > > On 19 aug, 08:54, "Megha Joshi" <[EMAIL PROTECTED]> wrote:
> > > > > > > Hi,
>
> > > > > > > I noticed you had a question on installing the sdk/plugin this
> > > > morning...
> > > > > > > Were you able to successfully install both the new sdk and plugin 
> > > > > > > as
> > > > per
> > > > > > the
> > > > > > > instructions below?
> > > >http://code.google.com/android/intro/installing.html
>
> > > > > > > To ensure that your android environment is setup correctly, can 
> > > > > > > you
> > > > do
> > > > > > the
> > > > > > > following:
> > > > > > > 1) In Eclipse, select New-> Android Project
> > > > > > > 2) Fill in the app name, activity name, package name, etc.. in the
> > > > New
> > > > > > > project dialog
> > > > > > > 3) Right click this project and select Run as android application
>
> > > > > > > This should start a new emulator ( if its not already running) and
> > > > > > display
> > > > > > > "Hello World, Test" on the emulator screen.
> > > > > > > Let me know if this works....
>
> > > > > So, you are saying the the simple project above is working and it 
> > > > > runs on
> > > > > the emulator...but the HelloWorld does not...
>
> > > > > Can you paste your HelloWorld code ?
>
> > > > > > > On Mon, Aug 18, 2008 at 11:16 PM, demo1987 <[EMAIL PROTECTED]>
> > > > wrote:
>
> > > > > > > > Installation failed due toinvalidAPKfile! What is wrong. I used
> > > > > > > > everything of the HelloAndroid code, but it won't work.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to