Note that there are some explanatory texts on larger screens.

plurals
  1. POAndroid app built in eclipse wont run on phone
    text
    copied!<p>I've built an app that runs fine on the emulators, and says that it installs ok on the phone. However, on trying to run it an error pops up saying 'Application is not installed on your phone'. So I tried running the app through eclipse on the phone and I got this error in the console:</p> <pre><code>[2012-05-01 12:00:02 - MAD Assignment] ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.mad.assignment/.MainMenu } [2012-05-01 12:00:02 - MAD Assignment] ActivityManager: java.lang.SecurityException: Permission Denial: starting Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 cmp=com.mad.assignment/.MainMenu } from null (pid=8204, uid=2000) requires null </code></pre> <p>From looking for the solution elsewhere it sounds as though it could be a problem in the manifest file, so here is mine:</p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.mad.assignment" android:versionCode="1" android:versionName="1.0" &gt; &lt;uses-sdk android:minSdkVersion="10" /&gt; &lt;uses-permission android:name="android.permission.INTERNET"/&gt; &lt;uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/&gt; &lt;uses-permission android:name="android.permission.READ_CONTACTS"/&gt; &lt;application android:icon="@drawable/ic_launcher" android:label="@string/app_name" &gt; &lt;activity android:name="MainMenu" android:label="@string/app_name" &gt; &lt;intent-filter&gt; &lt;action android:name="android.intent.action.MAIN" /&gt; &lt;category android:name="android.intent.category.LAUNCHER" /&gt; &lt;/intent-filter&gt; &lt;/activity&gt; &lt;activity android:name=".Diary"&gt;&lt;/activity&gt; &lt;activity android:name=".Info"&gt;&lt;/activity&gt; &lt;activity android:name=".MapMenu"&gt;&lt;/activity&gt; &lt;activity android:name=".RSSMenu"&gt;&lt;/activity&gt; &lt;activity android:name=".RSSFeedView"&gt;&lt;/activity&gt; &lt;activity android:name=".MainMenu"&gt;&lt;/activity&gt; &lt;activity android:name=".RSSDetailed"&gt;&lt;/activity&gt; &lt;activity android:name=".DiarySchedule"&gt;&lt;/activity&gt; &lt;activity android:name=".DiaryAddEntry"&gt;&lt;/activity&gt; &lt;activity android:name=".DiaryEditEntry"&gt;&lt;/activity&gt; &lt;activity android:name=".DiaryDetailed"&gt;&lt;/activity&gt; &lt;activity android:name=".RSSDetailed"&gt;&lt;/activity&gt; &lt;uses-library android:name="com.google.android.maps"/&gt; &lt;activity android:name=".MapMain"&gt;&lt;/activity&gt; &lt;activity android:name=".RSSFeedView"&gt;&lt;/activity&gt; &lt;activity android:name=".MapWhatsNearPreferences"&gt;&lt;/activity&gt; &lt;activity android:name=".RoutePath"&gt;&lt;/activity&gt; &lt;/application&gt; </code></pre> <p></p> <p>Any ideas what this security exception is pointing to? Thanks!</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload