meshtastic / Meshtastic-Android

Android application for Meshtastic
https://meshtastic.org
GNU General Public License v3.0
628 stars 189 forks source link

Facing build issue with Meshtastic-Android-2.3.11 on Android Studio Koala | 2024.1.1 #1101

Closed gawadepd07 closed 2 weeks ago

gawadepd07 commented 2 weeks ago

e: [ksp] [MissingType]: Element 'com.geeksville.mesh.database.Converters' references a type that is not present e: [ksp] D:/Meshtastic/Meshtastic-Android/app/src/main/java/com/geeksville/mesh/NodeInfo.kt:26: [MissingType]: Element 'com.geeksville.mesh.MeshUser' references a type that is not present e: [ksp] D:/Meshtastic/Meshtastic-Android/app/src/main/java/com/geeksville/mesh/NodeInfo.kt:67: [MissingType]: Element 'com.geeksville.mesh.Position' references a type that is not present e: [ksp] D:/Meshtastic/Meshtastic-Android/app/src/main/java/com/geeksville/mesh/NodeInfo.kt:128: [MissingType]: Element 'com.geeksville.mesh.DeviceMetrics' references a type that is not present e: [ksp] D:/Meshtastic/Meshtastic-Android/app/src/main/java/com/geeksville/mesh/NodeInfo.kt:153: [MissingType]: Element 'com.geeksville.mesh.EnvironmentMetrics' references a type that is not present e: [ksp] D:/Meshtastic/Meshtastic-Android/app/src/main/java/com/geeksville/mesh/database/entity/MeshLog.kt:13: [MissingType]: Element 'com.geeksville.mesh.database.entity.MeshLog' references a type that is not present e: [ksp] D:/Meshtastic/Meshtastic-Android/app/src/main/java/com/geeksville/mesh/database/dao/NodeInfoDao.kt:15: [MissingType]: Element 'com.geeksville.mesh.database.dao.NodeInfoDao' references a type that is not present e: [ksp] androidx.room.RoomKspProcessor was unable to process 'com.geeksville.mesh.database.MeshtasticDatabase' because not all of its dependencies could be resolved. Check for compilation errors or a circular dependency with generated code. e: [ksp] InjectProcessingStep was unable to process 'ChannelSetRepository(androidx.datastore.core.DataStore)' because 'error.NonExistentClass' could not be resolved.

Dependency trace: => element (CLASS): com.geeksville.mesh.repository.datastore.ChannelSetRepository => element (CONSTRUCTOR): ChannelSetRepository(androidx.datastore.core.DataStore) => type (EXECUTABLE constructor): (androidx.datastore.core.DataStore)void => type (DECLARED parameter type): androidx.datastore.core.DataStore => type (ERROR type argument): error.NonExistentClass

If type 'error.NonExistentClass' is a generated type, check above for compilation errors that may have prevented the type from being generated. Otherwise, ensure that type 'error.NonExistentClass' is on your classpath. e: [ksp] InjectProcessingStep was unable to process 'LocalConfigRepository(androidx.datastore.core.DataStore)' because 'error.NonExistentClass' could not be resolved.

Dependency trace: => element (CLASS): com.geeksville.mesh.repository.datastore.LocalConfigRepository => element (CONSTRUCTOR): LocalConfigRepository(androidx.datastore.core.DataStore) => type (EXECUTABLE constructor): (androidx.datastore.core.DataStore)void => type (DECLARED parameter type): androidx.datastore.core.DataStore => type (ERROR type argument): error.NonExistentClass

If type 'error.NonExistentClass' is a generated type, check above for compilation errors that may have prevented the type from being generated. Otherwise, ensure that type 'error.NonExistentClass' is on your classpath. e: [ksp] InjectProcessingStep was unable to process 'ModuleConfigRepository(androidx.datastore.core.DataStore)' because 'error.NonExistentClass' could not be resolved.

Dependency trace: => element (CLASS): com.geeksville.mesh.repository.datastore.ModuleConfigRepository => element (CONSTRUCTOR): ModuleConfigRepository(androidx.datastore.core.DataStore) => type (EXECUTABLE constructor): (androidx.datastore.core.DataStore)void => type (DECLARED parameter type): androidx.datastore.core.DataStore => type (ERROR type argument): error.NonExistentClass

If type 'error.NonExistentClass' is a generated type, check above for compilation errors that may have prevented the type from being generated. Otherwise, ensure that type 'error.NonExistentClass' is on your classpath. e: [ksp] AssistedInjectProcessingStep was unable to process 'MockInterface(com.geeksville.mesh.repository.radio.RadioInterfaceService,java.lang.String)' because 'error.NonExistentClass' could not be resolved.

Dependency trace: => element (CLASS): com.geeksville.mesh.repository.radio.MockInterface => element (METHOD): handleAdminPacket(error.NonExistentClass,error.NonExistentClass) => element (PARAMETER): pr => type (ERROR parameter type): error.NonExistentClass

If type 'error.NonExistentClass' is a generated type, check above for compilation errors that may have prevented the type from being generated. Otherwise, ensure that type 'error.NonExistentClass' is on your classpath. e: [ksp] AssistedFactoryProcessingStep was unable to process 'com.geeksville.mesh.repository.radio.MockInterfaceFactory' because 'error.NonExistentClass' could not be resolved.

Dependency trace: => element (CLASS): com.geeksville.mesh.repository.radio.MockInterface => element (METHOD): handleAdminPacket(error.NonExistentClass,error.NonExistentClass) => element (PARAMETER): pr => type (ERROR parameter type): error.NonExistentClass

If type 'error.NonExistentClass' is a generated type, check above for compilation errors that may have prevented the type from being generated. Otherwise, ensure that type 'error.NonExistentClass' is on your classpath. e: [ksp] AssistedProcessingStep was unable to process 'address' because 'error.NonExistentClass' could not be resolved.

Dependency trace: => element (CLASS): com.geeksville.mesh.repository.radio.MockInterface => element (METHOD): handleAdminPacket(error.NonExistentClass,error.NonExistentClass) => element (PARAMETER): pr => type (ERROR parameter type): error.NonExistentClass

If type 'error.NonExistentClass' is a generated type, check above for compilation errors that may have prevented the type from being generated. Otherwise, ensure that type 'error.NonExistentClass' is on your classpath. e: [ksp] ModuleProcessingStep was unable to process 'com.geeksville.mesh.repository.datastore.DataStoreModule' because 'error.NonExistentClass' could not be resolved.

Dependency trace: => element (OBJECT): com.geeksville.mesh.repository.datastore.DataStoreModule => element (METHOD): provideLocalConfigDataStore(android.content.Context) => type (DECLARED return type): androidx.datastore.core.DataStore => type (ERROR type argument): error.NonExistentClass

If type 'error.NonExistentClass' is a generated type, check above for compilation errors that may have prevented the type from being generated. Otherwise, ensure that type 'error.NonExistentClass' is on your classpath. e: [ksp] BindingMethodProcessingStep was unable to process 'provideLocalConfigDataStore(android.content.Context)' because 'error.NonExistentClass' could not be resolved.

Dependency trace: => element (OBJECT): com.geeksville.mesh.repository.datastore.DataStoreModule => element (METHOD): provideLocalConfigDataStore(android.content.Context) => type (DECLARED return type): androidx.datastore.core.DataStore => type (ERROR type argument): error.NonExistentClass

If type 'error.NonExistentClass' is a generated type, check above for compilation errors that may have prevented the type from being generated. Otherwise, ensure that type 'error.NonExistentClass' is on your classpath. e: [ksp] BindingMethodProcessingStep was unable to process 'provideModuleConfigDataStore(android.content.Context)' because 'error.NonExistentClass' could not be resolved.

Dependency trace: => element (OBJECT): com.geeksville.mesh.repository.datastore.DataStoreModule => element (METHOD): provideLocalConfigDataStore(android.content.Context) => type (DECLARED return type): androidx.datastore.core.DataStore => type (ERROR type argument): error.NonExistentClass

If type 'error.NonExistentClass' is a generated type, check above for compilation errors that may have prevented the type from being generated. Otherwise, ensure that type 'error.NonExistentClass' is on your classpath. e: [ksp] BindingMethodProcessingStep was unable to process 'provideChannelSetDataStore(android.content.Context)' because 'error.NonExistentClass' could not be resolved.

Dependency trace: => element (OBJECT): com.geeksville.mesh.repository.datastore.DataStoreModule => element (METHOD): provideLocalConfigDataStore(android.content.Context) => type (DECLARED return type): androidx.datastore.core.DataStore => type (ERROR type argument): error.NonExistentClass

If type 'error.NonExistentClass' is a generated type, check above for compilation errors that may have prevented the type from being generated. Otherwise, ensure that type 'error.NonExistentClass' is on your classpath. e: Error occurred in KSP, check log for detail

Task :app:kspFdroidDebugKotlin FAILED

FAILURE: Build failed with an exception.

BUILD FAILED in 1m 13s

gawadepd07 commented 2 weeks ago

After fetching and updating the repo issue has been resolved.

Thank you...