Common Errors and Solutions
Last updated
Last updated
Error
java.lang.RuntimeException: Duplicate class kotlin.internal.jdk7.JDK7PlatformImplementations found in modules org.jetbrains.kotlin.kotlin-stdlib-1.8.22.jar (org.jetbrains.kotlin.kotlin-stdlib-1.8.22.jar) and org.jetbrains.kotlin.kotlin-stdlib-jdk7-1.7.10.jar (org.jetbrains.kotlin.kotlin-stdlib-jdk7-1.7.10.jar)
Resolution
Enable Main Gradle Template from Player Settings
Add implementation(platform("org.jetbrains.kotlin:kotlin-bom:1.8.0")) in dependencies block
Force resolve from EDMU (External Dependency Manager for Unity)
Error Argument 1: cannot convert from 'VoxelBusters.EasyMLKit.IInputSource' to 'VoxelBusters.EasyMLKit.IImageInputSource'
Resolution : Replace IInputSource type with IImageInputSource
Error
'Prepare(..) is obsolete: 'This method is obsolete. Pass Input source instance as first parameter to Prepare method.'
Resolution : You need to pass the input source (IImageInputSource or IDrawingInputSource) to Prepare method as first parameter.