Starting with API 26.1.0, TabLayout$setOnTabSelectedListener() is deprecated in favor of addOnTabSelectedListener. This leads to the TabLayoutSupport to crash the app when using said API level. This fix removes the deprecated method in favor of the new one.
Updated the build tools version and compile sdk version to API level 28 as well as the gradle plugin versions for compatibility with Android Studio 3.3.