神啊!Android Studio 3.1.4 Render problem 錯誤怎么樣才能搞定?
最近想學習Android 開發,就安裝了Android Studio 3.1.4 并用向導生成了使用底部導航欄的一個程式,結果怎么搞都報Render problem錯誤,內容是failed to find style bottom navigation style in current theme

在網上找了一天也沒有解決,目前采用以下方法均無效:
1、更改style檔案為style name="AppTheme" parent="Base.Theme.AppCompat.Light.DarkActionBar"
2、更改AppTheme
3、更改sdk版本
4、在build.gradle內增加implementation 'com.ashokvarma.android:bottom-navigation-bar:1.2.0',或api 'com.ashokvarma.android:bottom-navigation-bar:1.2.0'
5、在build.gradle內將implementation 'com.android.support:appcompat-v7:28.0.0-rc02'更改為implementation 'com.android.support:appcompat-v7:28.0.0-rc01';implementation 'com.android.support.constraint:constraint-layout:1.1.3'更改為implementation 'com.android.support.constraint:constraint-layout:1.1.2'
6、在build選單選擇clean project
7、在file選單選擇 Invalidate Caches/Restart
…………
反正我是黔驢技窮了,再次請問高手,這個問題到底應該怎么才能解決呢,謝謝
uj5u.com熱心網友回復:
你后來解決了嗎 我現在用AndroidX也是這種情況uj5u.com熱心網友回復:
可以git 別人的底部導航欄轉載請註明出處,本文鏈接:https://www.uj5u.com/yidong/40794.html
標籤:Android
