I am facing this error
04-03 15:00:16.474: E/AndroidRuntime(1291): Caused by: java.lang.ClassNotFoundException: Didn't find class "com.demo.youtubeapitest.MainActivity" on path: /data/app/com.demo.youtubeapitest-1.apk
I have tried the solutions like including the package name before the activity name in the manifest file but the problem is still unsolved. Here is my manifest file. Could any please help me solve this problem? Thanks
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.demo.youtubeapitest"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="17"
android:targetSdkVersion="17" />
<uses-permission android:name="android.permission.INTERNET"></uses-permission>
<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<activity
android:name="com.demo.youtubeapitest.MainActivity"
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>