I use Syncfusion Sfchart feature in my app.
When I build my app with Android SDK Build-Tools 25.0.3, Sfchart is work properly.
But it doesn't work when build app with Android SDK Build-Tools 26.0.2 or higher.
When I check log file about this error, log was writted with error about XML, Com.Syncfusion.Charts.ChartRootLayout.
This is log file about this problem.
------------------------------------
Java.Lang.RuntimeException: Binary XML file line #1: Binary XML file line #1: Error inflating class Com.Syncfusion.Charts.ChartRootLayout ---> Java.Lang.RuntimeException: Binary XML file line #1: Error inflating class Com.Syncfusion.Charts.ChartRootLayout ---> Java.Lang.ClassNotFoundException: Didn't find class "Com.Syncfusion.Charts.ChartRootLayout" on path: DexPathList[[zip file "/data/app/com.gfl.dic-CKDR8f1jId1mHU4T_6UTQA==/base.apk"],nativeLibraryDirectories=[/data/app/com.gfl.dic-CKDR8f1jId1mHU4T_6UTQA==/lib/arm, /data/app/com.gfl.dic-CKDR8f1jId1mHU4T_6UTQA==/base.apk!/lib/armeabi-v7a, /system/lib, /system/vendor/lib]]
--- End of inner exception stack trace ---
--- End of inner exception stack trace ---
at Java.Interop.JniEnvironment+InstanceMethods.CallObjectMethod (Java.Interop.JniObjectReference instance, Java.Interop.JniMethodInfo method, Java.Interop.JniArgumentValue* args) [0x00069] in <990c6eebc341428e8373321ab221ccd7>:0
at Java.Interop.JniPeerMembers+JniInstanceMethods.InvokeVirtualObjectMethod (System.String encodedMember, Java.Interop.IJavaPeerable self, Java.Interop.JniArgumentValue* parameters) [0x0002a] in <990c6eebc341428e8373321ab221ccd7>:0
at Android.Views.LayoutInflater.Inflate (System.Int32 resource, Android.Views.ViewGroup root, System.Boolean attachToRoot) [0x0005a] in <1e0390f80d0d43c4bbc9623961eb9b15>:0
at Com.Syncfusion.Charts.SfChart.BaseInitialize () [0x00038] in <a765272609314f0a864ff0c206da3414>:0
at Com.Syncfusion.Charts.ChartBase.Initialize () [0x00000] in <a765272609314f0a864ff0c206da3414>:0
at Com.Syncfusion.Charts.ChartBase..ctor (Android.Content.Context context) [0x0002b] in <a765272609314f0a864ff0c206da3414>:0
at Com.Syncfusion.Charts.SfChart..ctor (Android.Content.Context context) [0x00020] in <a765272609314f0a864ff0c206da3414>:0
at GFI_with_GFS_A.DollDBDetailActivity+<OnCreate>d__39.MoveNext () [0x005c5] in <6906e6b96ac547e2a43a029330542e44>:0
--- End of managed Java.Lang.RuntimeException stack trace ---
android.view.InflateException: Binary XML file line #1: Binary XML file line #1: Error inflating class Com.Syncfusion.Charts.ChartRootLayout
Caused by: android.view.InflateException: Binary XML file line #1: Error inflating class Com.Syncfusion.Charts.ChartRootLayout
Caused by: java.lang.ClassNotFoundException: Didn't find class "Com.Syncfusion.Charts.ChartRootLayout" on path: DexPathList[[zip file "/data/app/com.gfl.dic-CKDR8f1jId1mHU4T_6UTQA==/base.apk"],nativeLibraryDirectories=[/data/app/com.gfl.dic-CKDR8f1jId1mHU4T_6UTQA==/lib/arm, /data/app/com.gfl.dic-CKDR8f1jId1mHU4T_6UTQA==/base.apk!/lib/armeabi-v7a, /system/lib, /system/vendor/lib]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:125)
at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
at android.view.LayoutInflater.createView(LayoutInflater.java:606)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:790)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:730)
at android.view.LayoutInflater.inflate(LayoutInflater.java:492)
at android.view.LayoutInflater.inflate(LayoutInflater.java:423)
at mono.java.lang.RunnableImplementor.n_run(Native Method)
at mono.java.lang.RunnableImplementor.run(RunnableImplementor.java:30)
at android.os.Handler.handleCallback(Handler.java:790)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:175)
at android.app.ActivityThread.main(ActivityThread.java:6724)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:810)