Android application builds and runs in the BlueStacks emulator, but when I try it on my mobile device it installs, but doesn't show up in the app list. First time asking on stackoverflow. Excuse my english :)
My AndroidManifest.xml:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.neriko.sixhandshakes">
<uses-permission android:name="android.permission.INTERNET" />
<application
android:name=".SixHandshakes"
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:supportsRtl="true"
android:theme="@style/AppTheme">
<activity
android:name=".MainActivity"
android:screenOrientation="portrait">
<intent-filter>
<data android:scheme="vk5536139" />
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name=".VKUserSearchActivity"
android:screenOrientation="portrait">
</activity>
<activity
android:name="com.vk.sdk.VKServiceActivity"
android:label="ServiceActivity"
android:screenOrientation="portrait"
android:theme="@style/VK.Transparent" />
<activity
android:name=".VKDisplayResultActivity"
android:screenOrientation="portrait" />
</application>
</manifest>
I have finally figured out what was causing the problem. <data android:scheme="vk5536139" />
line seems to be not allowed in the same block with main action and launcher category definition.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.