Skip to content

Problem in targetSdkVersion 29 and High  #2

Description

@Ahmedbadereldin

I have issue when I'm using targetSdkVersion 29 and High

E/AndroidRuntime: FATAL EXCEPTION: main Process: hu.ponte.hellorespresso, PID: 2428 java.lang.RuntimeException: Unable to start activity ComponentInfo{hu.ponte.hellorespresso/hu.ponte.hellorespresso.MainActivity}: android.view.InflateException: Binary XML file line #17 in hu.ponte.hellorespresso:layout/abc_screen_simple: Binary XML file line #17 in hu.ponte.hellorespresso:layout/abc_screen_simple: Error inflating class androidx.appcompat.widget.FitWindowsLinearLayout at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3308) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3457) at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:83) at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135) at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2044) at android.os.Handler.dispatchMessage(Handler.java:107) at android.os.Looper.loop(Looper.java:224) at android.app.ActivityThread.main(ActivityThread.java:7560) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:539) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:950) Caused by: android.view.InflateException: Binary XML file line #17 in hu.ponte.hellorespresso:layout/abc_screen_simple: Binary XML file line #17 in hu.ponte.hellorespresso:layout/abc_screen_simple: Error inflating class androidx.appcompat.widget.FitWindowsLinearLayout Caused by: android.view.InflateException: Binary XML file line #17 in hu.ponte.hellorespresso:layout/abc_screen_simple: Error inflating class androidx.appcompat.widget.FitWindowsLinearLayout Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Object java.lang.reflect.Field.get(java.lang.Object)' on a null object reference

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions