java.lang.classnotfound exception is coming, while launching a simple helloworld app on mi4i android phone. it is running fine on Emulator. I am using android studio 2.3. I already checked the class name and path in mainfest file. Can anybody help, what wrong i am doing? Following is the error screenshot Mobile screenshot while launching app
Following is my manifest file
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.tarun.myapplication">
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/AppTheme">
<activity android:name=".MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
</manifest>