Recently want to learning Android development, just installed the Android Studio 3.1.4 and use the wizard to generate the use the navigation bar at the bottom of a program, the result how make all Render error problem, content is failed to find style bottom navigation style in the current theme
On the Internet to find a day did not solve, now USES the following methods are invalid:
1, change the style file for the style name="AppTheme" parent "=" Base. Theme. AppCompat. Light. DarkActionBar "
2, change AppTheme
3, change the SDK version
4, in the build. Gradle increases the implementation 'com. Ashokvarma. Android: bottom - navigation bar: 1.2.0', or API 'com. Ashokvarma. Android: bottom - navigation bar: 1.2.0'
Within 5, in the build. Gradle implementation 'com. Android. Support: appcompat - v7:28.0.0 - rc02' changed to implementation 'com. Android. Support: appcompat - v7:28.0.0 - rc01'; Implementation 'com. Android. Support. The constraint, the constraint - layout: 1.1.3' changed to implementation 'com. Android. Support. The constraint, the constraint - layout: 1.1.2'
6, in the build menu to select the clean project
7, in the file menu to select Invalidate Caches/Restart
.
Anyway I am clueless, master, please again, this problem should how to solve it, thank you
CodePudding user response:
Can you then solve it I now use AndroidX also is this kind of circumstanceCodePudding user response:
Can git at the bottom of the navigation bar