You need to give it a different package name. If you don't, you are trying to replace the current Launcher .apk, and since you aren't signed with the same cert, you can't.
On Fri, May 22, 2009 at 4:38 AM, allstars <[email protected]> wrote: > > hi > > i try to modify the Launcher in mydroid/package/apps/Launcher > and i try to use it as an APK so i dont have to mess up the original > system image > > so i copy it to another project , say mydroid/package/apps/MyLauncher > > i have changed the package name in case it will conflict with the > original Launcher > > and because some files use android.internal.R > using 'android' to install/update is not feasible > hence i build my MyLauncher inside mydroid , and i modify the > LOCAL_PACKAGE_NAME in Android.mk > > when i build out the MyLauncher.apk > > i try to install it with adb install > but it complains > > Failure [INSTALL_FAILED_ALREADY_EXISTS] > > but i am sure i havent installed this APK before > > and if i use $>adb install -r , it will complain > > Failure [INSTALL_PARSE_FAILED_INCONSISTENT_CERTIFICATES] > > so i would like to ask what's the correct way to install my > MyLauncher.apk into emulator > > thanks > > > -- Dianne Hackborn Android framework engineer [email protected] Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" 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-developers?hl=en -~----------~----~----~----~------~----~------~--~---

