[android-beginners] Re: Invalid apk file

2009-08-30 Thread Ivan
Hi, Mark: Thanks for your help, with the steps in the thread, I exported the apk file, and select the debug key manually, then I could successfully install the apk to the emulator, great ! So the issue should be that the signed apk file automatically generated by Eclipse is not a valid one

[android-beginners] Re: Invalid apk file

2009-08-30 Thread Mark Murphy
Ivan wrote: > I renamed the file to .zip, seems that Windows could not open it. > Any idea ? Check out: http://groups.google.com/group/android-beginners/browse_thread/thread/705cc102073c4987 and see if it explains what you are seeing. -- Mark Murphy (a Commons Guy) http://commonsware.com | ht

[android-beginners] Re: Invalid apk file

2009-08-30 Thread Ivan
I renamed the file to .zip, seems that Windows could not open it. Any idea ? On Aug 30, 10:24 pm, Mark Murphy wrote: > Ivan wrote: > > I tried to install the application manually via adb, just run adb > > install HelloAndroid.apk in the command line, it said > > D:\Android\android-sdk-windows-1.

[android-beginners] Re: Invalid apk file

2009-08-30 Thread Mark Murphy
Ivan wrote: > I tried to install the application manually via adb, just run adb > install HelloAndroid.apk in the command line, it said > D:\Android\android-sdk-windows-1.5_r3\tools>adb install > HelloAndroid.apk > EOCD not found, not Zip > file 'HelloAndroid.apk' is not a valid zip file > > So d

[android-beginners] Re: Invalid apk file

2009-08-30 Thread Ivan
I tried to install the application manually via adb, just run adb install HelloAndroid.apk in the command line, it said D:\Android\android-sdk-windows-1.5_r3\tools>adb install HelloAndroid.apk EOCD not found, not Zip file 'HelloAndroid.apk' is not a valid zip file So does it mean that the file is

[android-beginners] Re: Invalid apk file

2009-08-30 Thread Ivan
I am using Eclipse 3.4.2. I have tried to reset the emulator, but no luck. Actually, I have recreated the avd for many times. Is it possible related to the debug key ? I found that the apk file generated by Eclipse is signed, for I could not open it by 7-zip, so is it the correctly behavior ? Than

[android-beginners] Re: Invalid apk file

2009-08-24 Thread Sean Hodges
Which version of Eclipse are you both running? I've not come across this problem before, but its possible that your emulator needs resetting. Try running: emulator -wipe-data from the command line to reset the data image. Sean On Sun, Aug 23, 2009 at 2:57 PM, Ivan wrote: > Does anybody has a

[android-beginners] Re: Invalid apk file

2009-08-23 Thread Ivan
Does anybody has any idea about it ? I was blocked by this for a while, I even recreated my dev environment, including Eclipse and the ADT plugin. But I still got this error, it is just a HelloWorld Android application, I did no change to the codes. 08-23 13:50:44.851: DEBUG/AndroidRuntime(737): >

[android-beginners] Re: Invalid apk file

2009-08-21 Thread Ivan
I got this error, too, Could anyone help to give any comment ? Thanks ! On Aug 4, 10:02 pm, green wrote: > Hello, I think I have read all threads related to this problem. So I > have tried the locale stuff, deleted keystore file from .android > directory etc...Please advise on getting rid of thi