【发布时间】:2022-12-11 01:27:12
【问题描述】:
救救我,我已经安装了android studio,但是我不能写代码,IDE不允许我,但是控制台写了很多错误,也许有人遇到过这个问题,请帮忙, p.s.: 我住在俄罗斯,程序只能通过 VPN 运行 enter image description here
【问题讨论】:
标签: android
救救我,我已经安装了android studio,但是我不能写代码,IDE不允许我,但是控制台写了很多错误,也许有人遇到过这个问题,请帮忙, p.s.: 我住在俄罗斯,程序只能通过 VPN 运行 enter image description here
【问题讨论】:
标签: android
从 Android Studio Chipmunk 开始,如果您在问题面板中看到 java.lang.NoSuchFieldError: view_tree_saved_state_registry_owner 或 java.lang.ClassNotFoundException: androidx.savedstate.R$id,请确保包含对 androidx.lifecycle:lifecycle 的 debugImplementation 依赖项-viewmodel-savedstate 在你的模块中。
如果您在问题面板中看到 java.lang.NoSuchFieldError: view_tree_lifecycle_owner,请确保在您的模块中包含对 androidx.lifecycle:lifecycle-runtime 的 debugImplementation 依赖项。
如果您在问题面板中看到 java.lang.NoClassDefFoundError: Could not initialize class androidx.customview.poolingcontainer.PoolingContainer 或 java.lang.NoClassDefFoundError: androidx/customview/poolingcontainer/PoolingContainerListener,请确保包含对 androidx 的 debugImplementation 依赖项.customview:customview-poolingcontainer 在你的模块中。
【讨论】: