Friday, June 25, 2010

Re: [android-developers] "Application is not installed on your phone" error on Nexus One

That is saying that your main activity has declared that it requires callers have the internet permission to invoke it.  Check to make sure you didn't put android:permission="..." for that activity.

On Fri, Jun 25, 2010 at 9:38 AM, Dana Epp <dana@vulscan.com> wrote:
Hey guys,

I have an interesting problem I just can't seem to get through. I hung
out yesterday in the IRC during office hours in hopes to find someone,
but I guess the Google guys are swamped and couldn't make it.

We have an app that we have tested successfully across 10 different
devices on 4 different networks without a problem. However, our app
will not work on ANY Nexus One devices, tested across 4 different
carriers. The work flow is like this:

1. Via the browser, visit a URL to download the apk file OTA.

2. Install app. App shows up on the device.

3. Click the icon to run the app. An error occurs saying "Application
is not installed on your phone"

At this point, we can see the app is trying to run. LogCat shows the
following interesting bit:

06-22 16:23:53.477: ERROR/Launcher(148): java.lang.SecurityException:
Permission Denial: starting Intent { act=android.intent.action.MAIN
cat=[android.intent.category.LAUNCHER] flg=0x10200000
cmp=com.mycompany.TestApp/.TestApp } from ProcessRecord{44879720
148:com.android.launcher2/10016} (pid=148, uid=10016) requires
android.permission.INTERNET

The funny thing is, I have android.permission.INTERNET use-permission
in the manifest, and no other devices seem to have a problem with the
permissions set there.

Anyone have any ideas WHY this behaviour is isolated to Nexus One devices?

--
Regards,
Dana Epp

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en



--
Dianne Hackborn
Android framework engineer
hackbod@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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment