我在运行时收到此错误:
/AndroidRuntime(1739): java.lang.RuntimeException:
Unable to instantiate activity ComponentInfo{com.newsrss.Feed/com.newsrss.Feed.NewsRssActivity}:
java.lang.ClassNotFoundException: com.newsrss.Feed.NewsRssActivity
我不明白为什么。我确保我的课程在manifest.xml
文件中正确命名并正确引用:
<activity android:name="com.newsrss.Feed.NewsRssActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
这是class
package com.newsrss.Feed;
import android.app.Dialog;
import android.app.LoaderManager;
import android.app.ProgressDialog;
import android.content.*;
import android.content.pm.ActivityInfo;
import android.graphics.drawable.Drawable;
import android.net.Uri;
import android.os.AsyncTask;
import android.os.Build;
import android.os.Bundle;
import android.text.Html;
import android.util.DisplayMetrics;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.*;
import com.facebook.Session;
import com.fortysevendeg.swipelistview.BaseSwipeListViewListener;
import com.fortysevendeg.swipelistview.SwipeListView;
import com.google.analytics.tracking.android.EasyTracker;
import com.slidingmenu.lib.SlidingMenu;
import java.sql.SQLException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
public class NewsRssActivity extends shaerToSocial {
shaerToSocial
延伸SherlockActivitiy
(ABS)。
我真的很感激isuue的任何帮助,mant thanks