In a debug version app works fine. But when I generate sign apk and install this, after open app - it immediately crashes due to a logcat error:
Caused by: java.lang.ClassNotFoundException: Didn't find class "com.mypackage.AppClass" on path: DexPathList[[zip file "/data/app/com.mypackage-1/base.apk"],nativeLibraryDirectories=[/vendor/lib64, /system/lib64]].
I use AppClass to extends MultiDexApplication and I've got there some functions also. I have declared this class correctly in a manifest.
The most complicated is that it works in a debug version but only in release version this problem occurs.
I would be really grateful if someone could help me to resolve this situation.
Regards