Skip to content

After adding v2.3.3 to build gradle its crashing with Error inflating class androidx.drawerlayout.widget.DrawerLayout  #48

Open
@TawhidzGT

Description

@TawhidzGT

Crashing on the run as the Analytics instance is called on Application class. After commenting out the dependency it works fine. Otherwise throws the following log:

java.lang.RuntimeException: Unable to start activity ComponentInfo{com.myapp.HomeActivity}: android.view.InflateException: Binary XML file line #3 in com.myapp:layout/activity_home: Binary XML file line #3 in com.myapp:layout/activity_home: Error inflating class androidx.drawerlayout.widget.DrawerLayout
                                                                                                    	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3782)
                                                                                                    	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3922)
                                                                                                    	at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:103)
                                                                                                    	at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:139)
                                                                                                    	at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:96)
                                                                                                    	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2443)

Caused by: java.lang.NoSuchFieldError: No static field drawerLayoutStyle of type I in class Landroidx/drawerlayout/R$attr; or its superclasses (declaration of 'androidx.drawerlayout.R$attr' appears in /data/data/com.myapp/code_cache/.overlay/base.apk/classes.dex)
                                                                                                    	at androidx.drawerlayout.widget.DrawerLayout.<init>(DrawerLayout.java:332)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions