Failed to instantiate custom view inflater android.support.v7.app.AppCompatViewInflater. Falling ...

02-22 13:22:20.637 2323-2323/com.google.android.gms.ui I/AppCompatDelegate: Failed to instantiate custom view inflater android.support.v7.app.AppCompatViewInflater. Falling back to default.
    java.lang.ClassNotFoundException: android.support.v7.app.AppCompatViewInflater
        at java.lang.Class.classForName(Native Method)
        at java.lang.Class.forName(Class.java:324)
        at java.lang.Class.forName(Class.java:285)
        at tc.a(:com.google.android.gms@[email protected] (040700-294335909):54)
        at tc.onCreateView(:com.google.android.gms@[email protected] (040700-294335909):1)
        at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:746)
        at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:704)
        at android.view.LayoutInflater.inflate(LayoutInflater.java:492)
        at android.view.LayoutInflater.inflate(LayoutInflater.java:423)
        at android.view.LayoutInflater.inflate(LayoutInflater.java:374)
        at com.android.internal.policy.PhoneWindow.generateLayout(PhoneWindow.java:3909)
        at com.android.internal.policy.PhoneWindow.installDecor(PhoneWindow.java:3981)
        at com.android.internal.policy.PhoneWindow.getDecorView(PhoneWindow.java:1969)
        at tc.A(:com.google.android.gms@[email protected] (040700-294335909):9)
        at tc.m(:com.google.android.gms@[email protected] (040700-294335909):0)
        at drs.onPostCreate(:com.google.android.gms@[email protected] (040700-294335909))
        at com.google.android.chimera.Activity.publicOnPostCreate(:com.google.android.gms@[email protected] (040700-294335909))
        at qoc.onPostCreate(:com.google.android.gms@[email protected] (040700-294335909):2)
        at android.app.Instrumentation.callActivityOnPostCreate(Instrumentation.java:1188)
        at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2425)
        at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2503)
        at android.app.ActivityThread.-wrap11(ActivityThread.java)
        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1353)
        at android.os.Handler.dispatchMessage(Handler.java:102)
        at android.os.Looper.loop(Looper.java:148)
        at android.app.ActivityThread.main(ActivityThread.java:5539)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:745)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:635)
     Caused by: java.lang.ClassNotFoundException: Didn't find class "android.support.v7.app.AppCompatViewInflater" on path: DexPathList[[zip file "/system/framework/com.android.location.provider.jar", zip file "/system/framework/com.android.media.remotedisplay.jar", zip file "/data/app/com.google.android.gms-2/base.apk"],nativeLibraryDirectories=[/data/app/com.google.android.gms-2/lib/x86, /data/app/com.google.android.gms-2/base.apk!/lib/x86, /vendor/lib, /system/lib]]
        at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:469)
        at java.lang.Class.classForName(Native Method) 
        at java.lang.Class.forName(Class.java:324) 
        at java.lang.Class.forName(Class.java:285) 
        at tc.a(:com.google.android.gms@[email protected] (040700-294335909):54) 
        at tc.onCreateView(:com.google.android.gms@[email protected] (040700-294335909):1) 
        at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:746) 
        at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:704) 
        at android.view.LayoutInflater.inflate(LayoutInflater.java:492) 
        at android.view.LayoutInflater.inflate(LayoutInflater.java:423) 
        at android.view.LayoutInflater.inflate(LayoutInflater.java:374) 
        at com.android.internal.policy.PhoneWindow.generateLayout(PhoneWindow.java:3909) 
        at com.android.internal.policy.PhoneWindow.installDecor(PhoneWindow.java:3981) 
        at com.android.internal.policy.PhoneWindow.getDecorView(PhoneWindow.java:1969) 
        at tc.A(:com.google.android.gms@[email protected] (040700-294335909):9) 
        at tc.m(:com.google.android.gms@[email protected] (040700-294335909):0) 
        at drs.onPostCreate(:com.google.android.gms@[email protected] (040700-294335909)) 
        at com.google.android.chimera.Activity.publicOnPostCreate(:com.google.android.gms@[email protected] (040700-294335909)) 
        at qoc.onPostCreate(:com.google.android.gms@[email protected] (040700-294335909):2) 
        at android.app.Instrumentation.callActivityOnPostCreate(Instrumentation.java:1188) 
        at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2425) 
        at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2503) 
        at android.app.ActivityThread.-wrap11(ActivityThread.java) 
        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1353) 
        at android.os.Handler.dispatchMessage(Handler.java:102) 
        at android.os.Looper.loop(Looper.java:148) 
        at android.app.ActivityThread.main(ActivityThread.java:5539) 
        at java.lang.reflect.Method.invoke(Native Method) 
        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:745) 
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:635) 
        Suppressed: java.lang.ClassNotFoundException: android.support.v7.app.AppCompatViewInflater
        at java.lang.Class.classForName(Native Method)
        at java.lang.BootClassLoader.findClass(ClassLoader.java:781)
        at java.lang.BootClassLoader.loadClass(ClassLoader.java:841)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:504)
                ... 30 more
     Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack trace available

简单记录, 经测试, 这种报错不会引起崩溃, 相关连接:

https://stackoverflow.com/questions/49629621/appcompatdelegate-failed-to-instantiate-custom-view-inflater-android-support-v7

https://stackoverflow.com/questions/52650046/failed-to-instantiate-custom-view-inflater-android-support-v7-app-appcompatviewi

https://github.com/playgameservices/play-games-plugin-for-unity/issues/2830

https://github.com/playgameservices/play-games-plugin-for-unity/issues/2808

https://github.com/playgameservices/play-games-plugin-for-unity/issues/2534

https://github.com/playgameservices/play-games-plugin-for-unity/issues/2845

你可能感兴趣的:(Failed to instantiate custom view inflater android.support.v7.app.AppCompatViewInflater. Falling ...)