我在这个项目中有5个Android模块:3个是Java,2个是Kotlin。一切都很好,但是在“重建项目”之后,我突然发现了这个错误:Information:Kotlin:: Multiple values are not allowed for plugin option org.jetbrains.kotlin.android:package
我有以下返回流的方法 try {getPokemon()时,我将面临这个错误
Exception doesn't match @Throws-specified class list and thus isn't propagated from KotlinUncaught Kotlin exception: kotlin.Exception: He
我使用Flow从房间中获取数据,然后在我的FragmentLogic类中调用Flow.collect。房间道类: @Query("SELECT * FROM product")
fun observableList(): Flow<List<ProductEntity>> 然后在实现中: productDao.observableList