尝试调用虚拟方法'android.view.View android.view.Window.getDecorView()'

问题描述 投票:-1回答:1

我从androidx.appcompat:appcompat更新了1.1.0-alpha03to 1.1.0-alpha02的版本。之后我的应用程序开始崩溃排队super.onCreate(savedInstanceState);。它发生在扩展PreferenceActivity的类中。有解决方案吗

android android-appcompat android-preferences preferenceactivity
1个回答
1
投票

修复了Appcompat的新版本(1.1.0-alpha04)。

implementation "androidx.appcompat:appcompat:1.1.0-alpha04"
© www.soinside.com 2019 - 2024. All rights reserved.