Android app running when deployed via Android Studio but not installed on phone -
when running app on device straight android studio, running fine when deployed not installing - in no icon in menu etc (but in settings under apps). solve great. manifest below.
<?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="co.uk.malleymob.morecheatsforsims4" > <uses-permission android:name="android.permission.internet" /> <uses-permission android:name="android.permission.access_network_state" /> <application android:allowbackup="true" android:icon="@mipmap/ic_launcher" android:label="@string/app_name" android:theme="@style/apptheme" > <meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version" /> <activity android:name=".mainactivity" android:label="@string/app_name"> <intent-filter> <action android:name="android.intent.action.mainactivity" /> <category android:name="android.intent.category.launcher" /> </intent-filter> </activity> <activity android:name=".generalcodes" android:label="@string/title_activity_general_codes" > </activity> <activity android:name=".interactions" android:label="@string/title_activity_interactions" > </activity> <activity android:name=".skills" android:label="@string/title_activity_skills" > </activity> <activity android:name="com.google.android.gms.ads.adactivity" /> <activity android:name=".simcheats" android:label="@string/title_activity_cheats" > </activity> </application> </manifest>
thanks in advance
contrary popular belief action of intent filter not supposed contain activity's class name. should fix it:
<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