无法识别lauch活动

时间:2016-06-14 03:39:58

标签: android android-layout android-layout-weight

“在此代码中:它抛出

  

无法识别启动活动:未找到默认活动

“错误?     请解决这个问题“

.QRadioButton {
    font-weight: normal;
    background-color: #FFFFFF;
}

.QRadioButton:checked {
    font-weight: bold;
    background-color: #AA0000;
}

1 个答案:

答案 0 :(得分:1)

试试这个:

<?xml version="1.0" encoding="utf-8"?>

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.example.sudeep.loginactivity">


    <!-- To auto-complete the email text field in the login form with the user's emails -->

    <uses-permission android:name="android.permission.GET_ACCOUNTS" />
    <uses-permission android:name="android.permission.READ_PROFILE" />
    <uses-permission android:name="android.permission.READ_CONTACTS" />

    <application
        android:allowBackup="true"
        android:icon="@mipmap/ic_launcher"
        android:label="@string/app_name"
        android:supportsRtl="true"
        android:theme="@style/AppTheme">
        <activity
            android:name="com.example.sudeep.LoginActivity" <!-- added package path -->
            android:label="@string/app_name">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
    </application>

</manifest>