I see a whole class of activity subclasses that throw NoClassDefFoundError exceptions when using the intent to open an action. The application compiles without errors, but on execution I see these NoClassDefFoundError exceptions. I understand that the compiler is working fine, but the build and APK build process does not include all classes, so the build work fine, but the execution fails.
Classes that work and those that are not in the same source folder, so I cannot immediately understand why they fail. All of them are correctly indicated in the manifest.
What am I missing?
the code:
startActivity(new Intent(Dashboard.this, SearchResultFavourites.class));
manifest:
<activity android:name=".activity.SearchResultFavourites" android:launchMode="singleTask" />
An exception:
Caused by: java.lang.NoClassDefFoundError: myapp.activity.SearchResultFavourites at
myapp.activity.Dashboard.dashBoardBtnClick(Dashboard.java:72)
I am sure this is a problem with the configuration of the IntelliJ project.