java - android cannot open my app -
i have built .apk little application wrote android. on installation finished screen "open" option grayed out , can not chosen. after when search device application no icon appears, if check installed apps there still cannot opened. believe problem androidmanifest.xml. have little experience androidmanifest , work java.
<application android:allowbackup="true" android:label="@string/app_name" android:icon="@mipmap/ic_launcher" android:theme="@style/apptheme"> <activity android:name=".mainactivity" android:label="@string/app_name"> <intent-filter> <action android:name="android.intent.action.main"/> <category android:name="andriod.intent.category.launcher"/> </intent-filter> </activity> </application>
above manifest, understand manifest has many errors thank , patients in advance.
the default launcher intent:
<activity android:name=".mainactivity" android:label="@string/app_name" > <intent-filter> <action android:name="android.intent.action.main" /> <category android:name="android.intent.category.launcher" /> </intent-filter> </activity>
Comments
Post a Comment