Android Question [SOLVED] Error inflating class android.support.v4.widget.DrawerLayout

uniplan

Active Member
Licensed User
Hi, i have a error on this line only on Android 10, there is a possible solution?
NavDrawer.Initialize2("NavDrawer", Activity, NavDrawer.DefaultDrawerWidth, NavDrawer.GRAVITY_START)


android.view.InflateException: Binary XML file line #2 in radioApp3.uniplan:layout/navdrawer_layout: Binary XML file line #2 in radioApp3.uniplan:layout/navdrawer_layout: Error inflating class android.support.v4.widget.DrawerLayout
Caused by: android.view.InflateException: Binary XML file line #2 in radioApp3.uniplan:layout/navdrawer_layout: Error inflating class android.support.v4.widget.DrawerLayout
Caused by: java.lang.ClassNotFoundException: android.support.v4.widget.DrawerLayout
at java.lang.Class.classForName(Native Method)
at java.lang.Class.forName(Class.java:454)
at android.view.LayoutInflater.createView(LayoutInflater.java:825)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:1016)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:971)
at android.view.LayoutInflater.inflate(LayoutInflater.java:669)
at android.view.LayoutInflater.inflate(LayoutInflater.java:536)
at android.view.LayoutInflater.inflate(LayoutInflater.java:483)
at de.amberhome.objects.NavigationDrawerWrapper.Initialize2(NavigationDrawerWrapper.java:80)
at radioApp3.uniplan.frmhome._activity_create(frmhome.java:498)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.shell.Shell.runMethod(Shell.java:732)
at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:351)
at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:255)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:144)
at radioApp3.uniplan.frmhome.afterFirstLayout(frmhome.java:105)
 
Top