java.lang.NoClassDefFoundError: android.view.textclassifier.TextClassifier
at libcore.reflect.InternalNames.getClass(InternalNames.java:55)
at java.lang.Class.getDexCacheType(Class.java:2551)
at java.lang.reflect.Method.getReturnType(Method.java:150)
at java.lang.Class.getDeclaredMethods(Class.java:1811)
at com.test.androidspy.HelperUtil.getMethodBySign(HelperUtil.java:355)
at com.test.androidspy.WebViewManager.chromiumEvalScript(WebViewManager.java:403)
at com.test.androidspy.WebViewManager.evalScript(WebViewManager.java:183)
at com.test.androidspy.ActivityInspect.onRecv(ActivityInspect.java:1624)
at com.test.androidspy.SocketServer$ServerBase.run(SocketServer.java:61)
at com.test.androidspy.SocketServer$LocalServerThread.run(SocketServer.java:136)
Caused by: java.lang.ClassNotFoundException: Didn't find class "android.view.textclassifier.TextClassifier" on path: DexPathList[[zip file "/data/app/com.google.android.webview-1/base.apk"],nativeLibraryDirectories=[/data/app/com.google.android.webview-1/lib/arm, /data/app/com.google.android.webview-1/base.apk!/lib/armeabi-v7a, /system/lib, /vendor/lib]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
at java.lang.ClassLoader.loadClass(ClassLoader.java:380)
at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
at libcore.reflect.InternalNames.getClass(InternalNames.java:53)
... 9 more
是Android版本过低了么? android.view.textclassifier.TextClassifier 需要API 26 Build: Xiaomi/sagit/sagit:7.1.1/NMF26X/V9.2.4.0.NCACNEK:user/release-keys
java.lang.NoClassDefFoundError: android.view.textclassifier.TextClassifier at libcore.reflect.InternalNames.getClass(InternalNames.java:55) at java.lang.Class.getDexCacheType(Class.java:2551) at java.lang.reflect.Method.getReturnType(Method.java:150) at java.lang.Class.getDeclaredMethods(Class.java:1811) at com.test.androidspy.HelperUtil.getMethodBySign(HelperUtil.java:355) at com.test.androidspy.WebViewManager.chromiumEvalScript(WebViewManager.java:403) at com.test.androidspy.WebViewManager.evalScript(WebViewManager.java:183) at com.test.androidspy.ActivityInspect.onRecv(ActivityInspect.java:1624) at com.test.androidspy.SocketServer$ServerBase.run(SocketServer.java:61) at com.test.androidspy.SocketServer$LocalServerThread.run(SocketServer.java:136) Caused by: java.lang.ClassNotFoundException: Didn't find class "android.view.textclassifier.TextClassifier" on path: DexPathList[[zip file "/data/app/com.google.android.webview-1/base.apk"],nativeLibraryDirectories=[/data/app/com.google.android.webview-1/lib/arm, /data/app/com.google.android.webview-1/base.apk!/lib/armeabi-v7a, /system/lib, /vendor/lib]] at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56) at java.lang.ClassLoader.loadClass(ClassLoader.java:380) at java.lang.ClassLoader.loadClass(ClassLoader.java:312) at libcore.reflect.InternalNames.getClass(InternalNames.java:53) ... 9 more