我正在尝试使用ActionBarSherlock,但总是会出现错误。我已经在网上搜索了一番,但是无法找到解决方案。
以下是我遇到的错误:
07-24 09:04:03.049: E/AndroidRuntime(2082): FATAL EXCEPTION: main 07-24 09:04:03.049: E/AndroidRuntime(2082): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.moneynotes.view/com.moneynotes.view.SwipeViewActivity}: java.lang.ClassNotFoundException: Didn't find class "com.moneynotes.view.SwipeViewActivity" on path: /data/app/com.moneynotes.view-1.apk
我已将actionbarsherlock添加为android类别中的库。 我的清单文件如下:
任何帮助将不胜感激。
07-24 09:04:03.049: E/AndroidRuntime(2082): FATAL EXCEPTION: main 07-24 09:04:03.049: E/AndroidRuntime(2082): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.moneynotes.view/com.moneynotes.view.SwipeViewActivity}: java.lang.ClassNotFoundException: Didn't find class "com.moneynotes.view.SwipeViewActivity" on path: /data/app/com.moneynotes.view-1.apk
我已将actionbarsherlock添加为android类别中的库。 我的清单文件如下:
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.moneynotes.view"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="8"
android:targetSdkVersion="17" />
<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name" >
<activity
android:name="SwipeViewActivity"
android:label="@string/app_name"
android:theme="@style/Theme.Sherlock" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
任何帮助将不胜感激。