gpt4 book ai didi

android - 致命异常 : java. lang.NoClassDefFoundError: android/view/ViewStructure

转载 作者:塔克拉玛干 更新时间:2023-11-02 23:32:04 25 4
gpt4 key购买 nike

我正在为 Android 操作系统构建一个社区目录应用程序。它在 Lollipop 后续设备上运行良好。Application 已经有一段时间了在 Android OS 4.4 版本中崩溃。错误日志如下:

# Platform: android
# Date: 2017-12-04T08:33:00Z
# OS Version: 4.4.2
# Device: Galaxy S5
# RAM Free: 63.1%
# Disk Free: 69.3%

Fatal Exception: java.lang.NoClassDefFoundError: android/view/ViewStructure
Caused by java.lang.ClassNotFoundException: Didn't find class
"android.view.ViewStructure" on path: DexPathList[[zip file
"/data/app/com.blacksmithyouthclub-1.apk", zip file
"/data/data/com.blacksmithyouthclub/code_cache/secondary-
dexes/com.blacksmithyouthclub-1.apk.classes2.zip"],nativeLibraryDirectories=
[/data/app-lib/com.blacksmithyouthclub-1, /vendor/lib, /system/lib]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
at java.lang.ClassLoader.loadClass(ClassLoader.java:497)
at java.lang.ClassLoader.loadClass(ClassLoader.java:457)
at java.lang.Class.getDeclaredMethods(Class.java)
at java.lang.Class.getDeclaredMethods(Class.java:656)
at android.view.ViewDebug.getExportedPropertyMethods(ViewDebug.java:960)
at android.view.ViewDebug.exportMethods(ViewDebug.java:1047)
at android.view.ViewDebug.dumpViewProperties(ViewDebug.java:997)
at android.view.ViewDebug.dumpViewProperties(ViewDebug.java:983)
at android.view.ViewDebug.dumpView(ViewDebug.java:900)
at android.view.ViewDebug.dumpViewHierarchy(ViewDebug.java:855)
at android.view.ViewDebug.dumpViewHierarchy(ViewDebug.java:867)
at android.view.ViewDebug.dumpViewHierarchy(ViewDebug.java:867)
at android.view.ViewDebug.dumpViewHierarchy(ViewDebug.java:867)
at android.view.ViewDebug.dumpViewHierarchy(ViewDebug.java:867)
at android.view.ViewDebug.dumpViewHierarchy(ViewDebug.java:867)
at android.view.ViewDebug.dumpViewHierarchy(ViewDebug.java:867)
at android.view.ViewDebug.dumpViewHierarchy(ViewDebug.java:867)
at android.view.ViewDebug.dump(ViewDebug.java:793)
at android.view.ViewDebug.dispatchCommand(ViewDebug.java:416)
at android.view.ViewRootImpl$W.executeCommand(ViewRootImpl.java:6258)
at android.view.IWindow$Stub.onTransact(IWindow.java:65)
at android.os.Binder.execTransact(Binder.java:404)
at dalvik.system.NativeStart.run(NativeStart.java)

最佳答案

ViewDebug.getExportedPropertyMethods() should only occur if hierarchyviewer / ddm is connected. This is not a user crash.

Check here .

关于android - 致命异常 : java. lang.NoClassDefFoundError: android/view/ViewStructure,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47630197/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com