<activity
            android:name=".MyActivity"
            android:label="@string/app_name" >
            <intent-filter>
                <action android:name="android.intent.action.MAIN" >
                </action>
            </intent-filter>
        </activity>
  

上記がないと

Caused by: java.lang.SecurityException: Permission Denial: starting Intent { 
act=android.intent.action.MAIN cmp=jp.hotaka.hoge/.MyActivity (has extras) } 
from ProcessRecord{44ff5c30 891:jp.hotaka.hogehoge/10047} (pid=891, uid=10047) 
requires null

が発生

© 2024 Falco Tech Blog Suffusion theme by Sayontan Sinha