I have trouble starting my app because my main activity can not be found:

12-28 21:47:22.271: E/AndroidRuntime(23923): 
Caused by: java.lang.ClassNotFoundException: 
Didn't find class "de.myPath.activities.LoginActivity" on path: 
DexPathList[[zip file "/data/app/de.myPath/base.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]

I defined it properly in the Manifest.xml:

    android:launchMode="singleTask" >
        <action android:name="android.intent.action.MAIN" />

        <category android:name="android.intent.category.LAUNCHER" />

I tried:

  • cleaning
  • rebuilding
  • deleting / reimporting
  • i checked my libraries

It happened after i added the google-play-services_lib to my project.


Actually no activity at all can be found anymore oO

Related posts

Recent Viewed