Forums - Package does not contain default axctivity.

1 post / 0 new
Package does not contain default axctivity.
hennessynewcentury
Join Date: 13 Mar 18
Posts: 4
Posted: Tue, 2020-02-04 11:40

Hello!

Snapdragon Profiler: v2019.3

Device: Redmi Note 3 Pro

Processor: Snapdragon 650, Adreno 510

Android Version: 6.0.1

OS: Windows 10

Something wrong with capture Trace, Snapshot or Sampling. Profiler doesn't see default activity of any app.

Original error: "Selected package cannot be launched. It does not contain default activity"

Pls help or comment me some info.

Thank you.

 

P.S.

For example android manifest of custom Unity 2018.1.13f application:

<?xml version="1.0" encoding="utf-8"?>
<manifest
    package="com.unity3d.player"
    android:installLocation="preferExternal"
    android:versionCode="1"
    android:versionName="1.0">
    <supports-screens
        android:smallScreens="true"
        android:normalScreens="true"
        android:largeScreens="true"
        android:xlargeScreens="true"
        android:anyDensity="true"/>
 
    <application
        android:theme="@style/UnityThemeSelector"
        android:icon="@drawable/app_icon"
        android:label="@string/app_name">
        <activity android:name="com.unity3d.player.UnityPlayerActivity"
                  android:label="@string/app_name">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
            <meta-data android:name="unityplayer.UnityActivity" android:value="true" />
            <meta-data android:name="unityplayer.SkipPermissionsDialog" android:value="false" />
        </activity>
    </application>
 
    <uses-permission android:name="android.permission.INTERNET"/>
    <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
</manifest>
  • Up0
  • Down0

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.