Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while Launching activity #1

Open
khongthequenbluestar opened this issue Jul 6, 2016 · 2 comments
Open

Error while Launching activity #1

khongthequenbluestar opened this issue Jul 6, 2016 · 2 comments

Comments

@khongthequenbluestar
Copy link

Could not identify launch activity: Default Activity not found
Error while Launching activity

Please help me

@AndroidDeveloperLB
Copy link

You are not supposed to launch it, because it's not a normal app. It's a keyboard app, which you are supposed to enable from the settings and use it whenever an EditText (or similar view) is focused.

If you wish to run it anyway, either create a new normal activity, or edit the manifest and make the existing one to have the needed intent-filter, as such:

...
        <activity
            android:name=".ImePreferences"
            android:label="@string/settings_name">
            <intent-filter>
                <action android:name="android.intent.action.MAIN"/>
            </intent-filter>
            <intent-filter>
                <action android:name="android.intent.action.MAIN"/>
                <category android:name="android.intent.category.LAUNCHER"/>
            </intent-filter>
        </activity>
...

@khongthequenbluestar
Copy link
Author

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants