I created a alert dialog behind the onclick of a button but when i click that button it crashes the app throw the following exception.
java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity
07-13 11:51:12.445 21054-21054/com.vshine.neuron.riseshine E/MultiWindowProxy: getServiceInstance failed!
in logcat that I couldn't able to understand as I'm new to coding, .Java and Logcat screenshots are attached. This is Logcat :
This is .java class :