I have the error "Cannot resolve MainActivity character" in this code.
<activity android:name=".MainActivity" //here android:label="@string/app_name" android:launchMode="singleTask" > <intent-filter> <action android:name="android.intent.action.MAIN"/> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> <intent-filter> <action android:name="android.intent.action.VIEW" /> <category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.BROWSABLE" /> <data android:host="MainActivity" android:scheme="callback" /> </intent-filter> </activity>
Needless to say, MainActivity inherits activity and the package name is also correct.
Why?
thanks
Here is an image of the directory structure.

java android android-studio manifest
Yuya Okada
source share