Skip to content

❓ [ERROR]: اکشن وب‌ویوو در فلاتر کار نمی‌کنه #27

@mahdi-malv

Description

@mahdi-malv

شرح خطا
در صورت استفاده از اکشن وب‌ویوو این خطا رخ میده. Activity استفاده شده توی فلاتر AppCompat نیست و لذا این خطا پیش میاد

لاگ خطا
لاگی که در لاگ‌کت هنگام رخ‌دادن خطا چاپ می‌شود. متن کامل استک‌تریس را چاپ کنید.

E/Pushe: Error in loading web view activity
    java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity.
        at androidx.appcompat.app.AppCompatDelegateImpl.createSubDecor(AppCompatDelegateImpl.java:846)
        at androidx.appcompat.app.AppCompatDelegateImpl.ensureSubDecor(AppCompatDelegateImpl.java:809)
        at androidx.appcompat.app.AppCompatDelegateImpl.setContentView(AppCompatDelegateImpl.java:696)
        at androidx.appcompat.app.AppCompatActivity.setContentView(AppCompatActivity.java:195)
        at co.pushe.plus.notification.ui.WebViewActivity.onCreate(WebViewActivity.kt:5)
        at android.app.Activity.performCreate(Activity.java:6692)
        at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1118)
        at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2621)
        at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2729)
        at android.app.ActivityThread.-wrap12(ActivityThread.java)
        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1480)
        at android.os.Handler.dispatchMessage(Handler.java:102)
        at android.os.Looper.loop(Looper.java:154)
        at android.app.ActivityThread.main(ActivityThread.java:6192)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:891)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:781)

اطلاعات محیط تست

  • نسخه‌ی پوشه یا پلاگین: 2.5.1.nullsafery.1
  • نسخه‌ی فریم‌ورک: irrelevant to version
  • سیستم‌عامل (Android/iOS): Android
  • TargetSDK/CompileSDK (Android): 30, 29, ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions