[android-developers] Re: Shared User ID and Signing
And I told you that they are both signed with the same cert. I deleted BOTH apps from the emulator (in fact I deleted ALL the apps) and still I cannot install either. I can take the EXACT same .apk files and install them on the new clean emulator and they both install properly and can read each other's data. Note that on the first emulator, I originally had both apps installed without being signed, and perhaps that is the root of the problem (even though I deleted them later). However, I tried the same sequence on the new emulator (i.e. installed them unsigned, deleted them and installed them signed), and they still work fine. I cannot explain why the first one seems to be bugged, but perhaps it does not matter. I have not tried putting them on a real device yet, and hopefully I will not have any problems with that. Thanks for your help. On Nov 6, 1:28 am, Marcin Orlowski wrote: > On 6 November 2010 00:21, John Gaby wrote: > > > As an update, I created a new clean emulator, and I am able to get > > both apps to install, and they seem to be able to read each other's > > data. However, on the first emulator, I still cannot install either > > one, even if I delete all of the app first. Any idea why that is? > > I already told you - both apps installed have to be signed with the same > certificate. But this means *from device's perspective*, not yours, so it > does NOT matter what you got on your PC hdd. It matters what's installed > on device. If you i.e. got installed A.apk and then install B.apk and A is > not > signed while B is signed, how can you tell both are signed? You got clear > error message and you even did some tests yourself that confirms > and it still does not ring a bell? :) -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Shared User ID and Signing
On 6 November 2010 00:21, John Gaby wrote: > As an update, I created a new clean emulator, and I am able to get > both apps to install, and they seem to be able to read each other's > data. However, on the first emulator, I still cannot install either > one, even if I delete all of the app first. Any idea why that is? I already told you - both apps installed have to be signed with the same certificate. But this means *from device's perspective*, not yours, so it does NOT matter what you got on your PC hdd. It matters what's installed on device. If you i.e. got installed A.apk and then install B.apk and A is not signed while B is signed, how can you tell both are signed? You got clear error message and you even did some tests yourself that confirms and it still does not ring a bell? :) -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Shared User ID and Signing
Probably because at some point you installed one with a different certificate, and that is what is associated with the shared user id. On Fri, Nov 5, 2010 at 4:21 PM, John Gaby wrote: > As an update, I created a new clean emulator, and I am able to get > both apps to install, and they seem to be able to read each other's > data. However, on the first emulator, I still cannot install either > one, even if I delete all of the app first. Any idea why that is? > > Thanks > > On Nov 5, 3:12 pm, John Gaby wrote: > > Actually, I didn't miss that at all, they ARE both signed using the > > same certificate. However, the problem occurs when I try and install > > the FIRST application (the second on has not yet been installed). > > When I try and do that I get the error I described. > > > > On Nov 5, 12:17 pm, Marcin Orlowski wrote: > > > > > On 5 November 2010 17:55, John Gaby wrote: > > > > > > However, when I sign the first app and try and install it, I get the > > > > > > > > > > While android docs are far from perfect, some elements are documented. > > > This is what you missed: > > > > > "[...]provided that they are also signed by the same certificate" > > > > >http://developer.android.com/guide/topics/manifest/manifest-element.h. > .. > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- Dianne Hackborn Android framework engineer hack...@android.com 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 android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Shared User ID and Signing
As an update, I created a new clean emulator, and I am able to get both apps to install, and they seem to be able to read each other's data. However, on the first emulator, I still cannot install either one, even if I delete all of the app first. Any idea why that is? Thanks On Nov 5, 3:12 pm, John Gaby wrote: > Actually, I didn't miss that at all, they ARE both signed using the > same certificate. However, the problem occurs when I try and install > the FIRST application (the second on has not yet been installed). > When I try and do that I get the error I described. > > On Nov 5, 12:17 pm, Marcin Orlowski wrote: > > > On 5 November 2010 17:55, John Gaby wrote: > > > > However, when I sign the first app and try and install it, I get the > > > > > > While android docs are far from perfect, some elements are documented. > > This is what you missed: > > > "[...]provided that they are also signed by the same certificate" > > >http://developer.android.com/guide/topics/manifest/manifest-element.h... -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Shared User ID and Signing
Actually, I didn't miss that at all, they ARE both signed using the same certificate. However, the problem occurs when I try and install the FIRST application (the second on has not yet been installed). When I try and do that I get the error I described. On Nov 5, 12:17 pm, Marcin Orlowski wrote: > On 5 November 2010 17:55, John Gaby wrote: > > > However, when I sign the first app and try and install it, I get the > > > > While android docs are far from perfect, some elements are documented. > This is what you missed: > > "[...]provided that they are also signed by the same certificate" > > http://developer.android.com/guide/topics/manifest/manifest-element.h... -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en