Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
TawhidzGT opened this issue Nov 12, 2023 · 0 comments

Comments

@TawhidzGT
Copy link

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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant