Note that there are some explanatory texts on larger screens.

plurals
  1. POCan't start app from launcher in Android
    primarykey
    data
    text
    <p>My application is able to run from the launcher on the Galaxy Tab, but on the HTC Legend, I get the following error in logcat:</p> <pre> --------- beginning of /dev/log/main D/Rosie ( 194): can't start activity: android.intent.action.MAIN --------- beginning of /dev/log/system I/ActivityManager( 97): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.company.myapp/.Myapp } W/ActivityManager( 97): Permission denied: checkComponentPermission() reqUid=10015 W/ActivityManager( 97): Permission Denial: starting Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.company.myapp/.Myapp } from ProcessRecord{450f1ac8 194:com.htc.launcher/9999} (pid=194, uid=9999) requires null </pre> <p>My manifest file is the following:</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.company.myapp" android:versionCode="1" android:versionName="1.0"&gt; &lt;uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"&gt;&lt;/uses-permission&gt; &lt;application android:icon="@drawable/icon" android:label="@string/app_name" android:debuggable="true"&gt; &lt;activity android:name="com.company.SplashScreenActivity"&gt; &lt;intent-filter&gt; &lt;action android:name="android.intent.action.MAIN"&gt;&lt;/action&gt; &lt;category android:name="android.intent.category.LAUNCHER"&gt;&lt;/category&gt; &lt;/intent-filter&gt; &lt;/activity&gt;&lt;activity android:screenOrientation="portrait" android:label="@string/app_name" android:multiprocess="true" android:configChanges="orientation" android:name="Myapp"&gt; &lt;/activity&gt;&lt;activity android:name="com.company.CameraActivity" android:multiprocess="true" android:screenOrientation="landscape"&gt;&lt;/activity&gt; &lt;activity android:name="com.company.MainMenu"&gt; &lt;/activity&gt; &lt;activity android:name="com.company.ImagePicker"&gt; &lt;/activity&gt; &lt;/application&gt; &lt;uses-sdk android:minSdkVersion="8" /&gt; &lt;uses-permission android:name="android.permission.CAMERA" /&gt; &lt;uses-feature android:name="android.hardware.camera" /&gt; &lt;uses-feature android:name="android.hardware.camera.autofocus" /&gt; &lt;/manifest&gt; </code></pre> <p><strong>Edit: Fix</strong></p> <p>Just had to uninstall from device and reinstall.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

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