I'm not 100% sure, but perhaps you have two applications with the same
package name.
Verify that in your AndroidManifest.xml's, package="name" is unique.
On Apr 12, 1:24 am, "jim.renkel" <[EMAIL PROTECTED]> wrote:
> [This is a copy of I reply I made to another post. Forgive the
> duplication, but I want to make sure this gets addressed.]
>
> Megha,
>
> Urgent help needed here!!!
>
> I too need to have multiple (In my case only 2) .apk's installed into
> the emulator. Before I tried to bundle them together, I thought I
> should try installing just one of them with "adb install".
>
> When I try to do that, I get:
>
> DEBUG/PackageManager(510): Adding package
> name.renkel.james.HereIAm
> WARN/PackageManager(510):
> *************************************************
> WARN/PackageManager(510): Application package
> name.renkel.james.HereIAm already installed. Skipping duplicate.
> WARN/PackageManager(510):
> *************************************************
>
> OK, so I use the dev tool package browser to remove the package, and
> try the adb install again. That seems to work, but when I try to
> execute the application on the emulator, I get
>
> INFO/ActivityThread(2211): Loading code package
> name.renkel.james.HereIAm (in name.renkel.james.HereIAm)
> DEBUG/dalvikvm(2211): Exception Ljava/lang/RuntimeException; from
> ActivityThread.java:1699 not caught locally
> DEBUG/dalvikvm(2211): Exception Ljava/lang/RuntimeException; from
> ZygoteInit.java:1553 not caught locally
> DEBUG/AndroidRuntime(2211): Shutting down VM
> WARN/dalvikvm(2211): threadid=3: thread exiting with uncaught
> exception (group=0x4000fdf8)
> ERROR/AndroidRuntime(2211): Uncaught handler: thread Main exiting
> due to uncaught exception
> ERROR/AndroidRuntime(2211): java.lang.RuntimeException: Unable to
> instantiate activity
> ComponentInfo{name.renkel.james.HereIAm/
> name.renkel.james.HereIAm.HIAactivity}:
> java.lang.ClassNotFoundException:
> name.renkel.james.HereIAm.HIAactivity in loader
> [EMAIL PROTECTED]
>
> and a whole lot more. OK, so let's get back to a known good
> environment while I try to figure this out.
>
> When I go back to eclipse and try and run the application from there,
> I get the duplicate package messages again, then unable to instantiate
> activity messages again.
>
> Then if I use the package browser to again remove the package, and
> then run the application from eclipse, all seems to be OK.
>
> So, I'm at least I'm back to where I was before I started all of this.
>
> But I can't successfully install one, let alone multiple, applications
> with adb.
>
> Could you please, on an urgent basis:
>
> 1. explain in detail how to install an application into the emulator
> using adb; and
> 2. how to package multiple applications together so they can be
> installed in one step, as is appently required by the "new" and ever
> evolving ADC submission rules.
>
> I realize this is late in the game, as it were, but unless this is
> explained to me (and I believe many others) and I can successfully do
> this, my ADC submission won't be able to be installed and evaluated
> per the "rules" that have, late in the game, been established.
>
> Sorry, if I sound a little bitter about this, but I think the bugs
> should have been worked out of the submission process, if you will,
> much earlier than this, so that as the deadline approached we can
> concentrate on developing great applications and not have to worry
> about whether or not all the long and hard work we've put in so far
> will go to naught.
>
> Judging from traffic in this discussion group and others, I know I'm
> not alone in requiring this capability.
>
> Again, please, please, please, provide help here on an urgent basis.
>
> Thanks in advance for your attention to this.
>
> Jim Renkel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Android Challenge" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-challenge?hl=en
-~----------~----~----~----~------~----~------~--~---