The current error is "Unable to instantiate activity ComponentInfo". However, the error I was getting before was NullPointException. Researching the possible answers the site provides, the ViewPager has been checked and tried a few different options given by Android Developer and tried the PagerTitleStrip with no success. The code is linked below. Before it's destroyed even more please let me know what there is to do and maybe an explanation if possible. I am new to posting on StackOverFlow so I am open to how I can optimize my questions.
Error Message:
FATAL EXCEPTION: main
Process: chris.smellslikebacon, PID: 2458
java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{chris.smellslikebacon/chris.smellslikebacon.MainActivity}: java.lang.ClassNotFoundException: Didn't find class "chris.smellslikebacon.MainActivity" on path: DexPathList[[zip file "/data/app/chris.smellslikebacon-2/base.apk"],nativeLibraryDirectories=[/data/app/chris.smellslikebacon-2/lib/x86, /vendor/lib, /system/lib]]
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2327)
I have not tried rewriting the entire code as yet, and trying to refrain from it, however, the error was pointing to NullPointerException to my viewPager in the fragment_viewpager layout file. It is being pointed to from the ViewPagerFragment java class.