[versions]
agp ="8.6.0"
kotlin ="1.9.0"
coreKtx ="1.10.1"
junit ="4.13.2"
junitVersion ="1.1.5"
espressoCore ="3.5.1"
lifecycleRuntimeKtx ="2.6.1"
activityCompose ="1.8.0"
composeBom ="2024.04.01"navHost ="2.8.0"
kotlinxSerializationJson ="1.6.3"
androidxLifecycle ="2.8.5"[libraries]
androidx-core-ktx ={ group ="androidx.core", name ="core-ktx", version.ref ="coreKtx"}
junit ={ group ="junit", name ="junit", version.ref ="junit"}
androidx-junit ={ group ="androidx.test.ext", name ="junit", version.ref ="junitVersion"}
androidx-espresso-core ={ group ="androidx.test.espresso", name ="espresso-core", version.ref ="espressoCore"}
androidx-lifecycle-runtime-ktx ={ group ="androidx.lifecycle", name ="lifecycle-runtime-ktx", version.ref ="lifecycleRuntimeKtx"}
androidx-activity-compose ={ group ="androidx.activity", name ="activity-compose", version.ref ="activityCompose"}
androidx-compose-bom ={ group ="androidx.compose", name ="compose-bom", version.ref ="composeBom"}
androidx-ui ={ group ="androidx.compose.ui", name ="ui"}
androidx-ui-graphics ={ group ="androidx.compose.ui", name ="ui-graphics"}
androidx-ui-tooling ={ group ="androidx.compose.ui", name ="ui-tooling"}
androidx-ui-tooling-preview ={ group ="androidx.compose.ui", name ="ui-tooling-preview"}
androidx-ui-test-manifest ={ group ="androidx.compose.ui", name ="ui-test-manifest"}
androidx-ui-test-junit4 ={ group ="androidx.compose.ui", name ="ui-test-junit4"}
androidx-material3 ={ group ="androidx.compose.material3", name ="material3"}// Navigation
androidx-navigation ={ group ="androidx.navigation", name ="navigation-compose",version.ref ="navHost"}// 序列化包
kotlinx-serialization-json ={ group ="org.jetbrains.kotlinx", name ="kotlinx-serialization-json", version.ref ="kotlinxSerializationJson"}
androidx-lifecycle-viewModelCompose ={ group ="androidx.lifecycle", name ="lifecycle-viewmodel-compose", version.ref ="androidxLifecycle"}[plugins]
android-application ={ id ="com.android.application", version.ref ="agp"}
kotlin-android ={ id ="org.jetbrains.kotlin.android", version.ref ="kotlin"}// 序列化插件
kotlin-serialization ={ id ="org.jetbrains.kotlin.plugin.serialization", version.ref ="kotlin"}
Bug:引入Feign后发现监控onApplication中ContextRefreshedEvent事件触发了2次或者4次。 【原理】在Spring的文档注释中提示到: Event raised when an {code ApplicationContext} gets initialized or refreshed.即当 ApplicationContext 进行初始化或者刷…
本人不止一次在使用EndNote软件时遇到过“EndNote could not connect to the online sync service”这个问题。
过去遇到这个问题都是用这个方法来解决: 这个方法虽然能解决,但工程量太大,每次做完得歇半天身体才能缓过来。
后来再遇到该问…