You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
При сборке проекта с некоторой вероятностью в сгенерированном классе ProfileView$$State не находит нужный импорт на класс MetaModel.ProfileScreenMetaModel
В функции интерфейса MvpView используется тип MetaModel.ProfileScreenMetaModel
data class MetaModel(
val verificationScreen: VerificationScreenMetaModel?,
val restrictionsScreen: RestrictionsScreenMetaModel?,
val profile: ProfileScreenMetaModel?
) {
data class VerificationScreenMetaModel(val title: String, val description: String)
data class RestrictionsScreenMetaModel(val title: String, val description: String)
data class ProfileScreenMetaModel(val title: String, val description: String)
}
Ошибка возникает примерно в 3-5% сборках и только с этим вложенным классом.
gradle plugin 4.1.3
moxy 2.2.2
kotlin 1.4.31
Текст ошибки:
examplePath1/ProfileView$$State.java:4: error: cannot find symbol
import examplePackage.MetaModel$ProfileScreenMetaModel;
^
symbol: class MetaModel$ProfileScreenMetaModel
location: package examplePackage/examplePath/ProfileView$$State.java:357: error: cannot find symbol
public void setKycWidgetData(MetaModel$ProfileScreenMetaModel arg0, StatusType arg1,
^
symbol: class MetaModel$ProfileScreenMetaModel
location: class ProfileView$$State/examplePath/ProfileView$$State.java:765: error: cannot find symbol
public final MetaModel$ProfileScreenMetaModel arg0;
^
symbol: class MetaModel$ProfileScreenMetaModel
location: class ProfileView$$State.SetWidgetDataCommand/examplePath/ProfileView$$State.java:771: error: cannot find symbol
SetWidgetDataCommand(MetaModel$ProfileScreenMetaModel arg0, StatusType arg1,
^
symbol: class MetaModel$ProfileScreenMetaModel
location: class ProfileView$$State.SetWidgetDataCommand
The text was updated successfully, but these errors were encountered:
Если ошибка нестабильная, это больше похоже на проблему капта. А опции компиляции мокси какие-то используете, moxyEnableIsolatingProcessing : 'true' например?
При сборке проекта с некоторой вероятностью в сгенерированном классе
ProfileView$$State
не находит нужный импорт на классMetaModel.ProfileScreenMetaModel
В функции интерфейса MvpView используется тип
MetaModel.ProfileScreenMetaModel
Ошибка возникает примерно в 3-5% сборках и только с этим вложенным классом.
gradle plugin 4.1.3
moxy 2.2.2
kotlin 1.4.31
Текст ошибки:
examplePath1/ProfileView$$State.java:4: error: cannot find symbol
import examplePackage.MetaModel$ProfileScreenMetaModel;
^
symbol: class MetaModel$ProfileScreenMetaModel
location: package examplePackage/examplePath/ProfileView$$State.java:357: error: cannot find symbol
public void setKycWidgetData(MetaModel$ProfileScreenMetaModel arg0, StatusType arg1,
^
symbol: class MetaModel$ProfileScreenMetaModel
location: class ProfileView$$State/examplePath/ProfileView$$State.java:765: error: cannot find symbol
public final MetaModel$ProfileScreenMetaModel arg0;
^
symbol: class MetaModel$ProfileScreenMetaModel
location: class ProfileView$$State.SetWidgetDataCommand/examplePath/ProfileView$$State.java:771: error: cannot find symbol
SetWidgetDataCommand(MetaModel$ProfileScreenMetaModel arg0, StatusType arg1,
^
symbol: class MetaModel$ProfileScreenMetaModel
location: class ProfileView$$State.SetWidgetDataCommand
The text was updated successfully, but these errors were encountered: