android debug

230130:

After Android Studio is updated to the Electric Eel version, the layout of the xml file cannot be previewed in the original project. Solution
:
Click the exclamation mark in the xml preview file, and re-build the project according to the exclamation mark prompt to preview
insert image description here

230202: This method can only solve part of the xml display problem. Some xml still cannot be previewed. You can try to clear the android studio cache and then restart, and upgrade the gradle version, but there are still some xml that cannot be previewed. It should be a bug in the new version of as. And it hasn't been fixed yet.

220413:

sync failed, error: cvc-complex-type.2.4.a: 'base-extension' '{layoutlib}' ֮һ
solution:
pay attention to compileSdkVersion, buildToolsVersion, targetSdkVersion
in File -> Setting -> Appearance $Behavior -> System Settings -> Android SDK downloads the corresponding sdk version and the corresponding version of buildTools
or modifies it to the same parameters as the sync successful project

220217:

About SmartRefreshLayout

implementation  'io.github.scwang90:refresh-layout-kernel:2.0.3'      
implementation  'io.github.scwang90:refresh-header-classics:2.0.3'    

If sync fails, use:

implementation  'com.scwang.smart:refresh-layout-kernel:2.0.3'
implementation  'com.scwang.smart:refresh-header-classics:2.0.3'   

210908:

数据库扩展或更新后,一定记得升数据库版本号,不然操作数据库无反应。//210908

Supongo que te gusta

Origin blog.csdn.net/Duker_tec/article/details/120181810
Recomendado
Clasificación