无法找到默认活动类名称

Gla*_*mes 7 java android facebook android-studio

我正在处理将facebook登录链接到我的Android应用程序的过程.在一些教程中,我被要求在Facebook开发者网站上注册我的应用程序,我在那里做了所有事情,但我在Android Studio中找不到"默认活动类名称"我在下面提供了清单文件

    <?xml version="1.0" encoding="utf-8"?>
    <manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="in.evago.evago">

    <uses-permission android:name="android.permission.INTERNET" />

    <application
        android:allowBackup="true"
        android:icon="@mipmap/ic_launcher"
        android:label="@string/app_name"
        android:supportsRtl="true"
        android:theme="@style/AppTheme">
        <meta-data
            android:name="com.facebook.sdk.ApplicationId"
            android:value="@string/facebook_app_id" />

        <!-- Front Page -->
        <activity
            android:name=".Frontpage"
            android:label="@string/app_name"
            android:theme="@style/AppTheme.NoActionBar">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>

            <meta-data
                android:name="android.app.searchable"
                android:resource="@xml/searchable" />
        </activity>
        <!-- Search results activity -->


<activity
        android:name=".SearchResultsActivity"
        android:label="@string/title_activity_searchable"
        android:launchMode="singleTop"
        android:theme="@style/AppTheme.NoActionBar">
        <intent-filter>
            <action android:name="android.intent.action.SEARCH" />
        </intent-filter>
    </activity>
    <!-- Search results activity Ends -->

</application>
Run Code Online (Sandbox Code Playgroud)

请帮我找到"默认活动类名"

Pic*_*cci 14

应该是包含以下内容的类:

<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
Run Code Online (Sandbox Code Playgroud)

所以它的.Frontpage

  • 嘿,感谢您的回复,所以我应该将它作为“.Frontpage”或“in.evago.evago.Frontpage”提供,在那里询问默认活动名称 (2认同)
  • 尝试完整路径,以确保:) (2认同)
  • 如果默认活动是“SplashActivity”类怎么办? (2认同)

Sea*_*ane 5

Frontpage - 这是默认活动名称,因为它是启动器活动