Android

You need to use a Theme.AppCompat theme (or descendant) with this activity.

E/UncaughtException: java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity.

        at android.support.v7.app.AppCompatDelegateImplV9.t(Unknown Source)

        at android.support.v7.app.AppCompatDelegateImplV9.s(Unknown Source)

        at android.support.v7.app.AppCompatDelegateImplV9.b(Unknown Source)

        at android.support.v7.app.j.setContentView(Unknown Source)

        at android.support.v7.app.AlertController.a(Unknown Source)

        at android.support.v7.app.b.onCreate(Unknown Source)

        at android.app.Dialog.dispatchOnCreate(Dialog.java:463)

        at android.app.Dialog.show(Dialog.java:288)

        at com.ubicare.wellness.IntroActivity.r(Unknown Source)

        at com.ubicare.wellness.IntroActivity.onSuccess(Unknown Source)

        at com.ubicare.wellness.library.network.NetworkAsyncTask.a(Unknown Source)

        at com.ubicare.wellness.library.network.NetworkAsyncTask.onPostExecute(Unknown Source)

        at android.os.AsyncTask.finish(AsyncTask.java:632)

        at android.os.AsyncTask.access$600(AsyncTask.java:177)

        at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:645)

        at android.os.Handler.dispatchMessage(Handler.java:102)

        at android.os.Looper.loop(Looper.java:145)

        at android.app.ActivityThread.main(ActivityThread.java:5951)

        at java.lang.reflect.Method.invoke(Native Method)

        at java.lang.reflect.Method.invoke(Method.java:372)

        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1399)

        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1194)

아래 링크를 참고 하세요

https://stackoverflow.com/questions/21814825/you-need-to-use-a-theme-appcompat-theme-or-descendant-with-this-activity

Leave a Reply

error: Content is protected !!