Easy ML Kit
  • Easy ML Kit
  • Setup
    • Installation
    • Settings
    • Common Errors and Solutions
  • Usage Overview
  • Release Notes
    • 2.3.1
    • 2.3.0
    • 2.2.0
    • 2.1.0
    • 2.0.0
    • 1.2.0
  • Input Sources
    • Image Input Source
    • Live Camera Input Source
    • AR Foundation Camera Input Source
  • Features
    • Barcode Scanner
    • Object Detector and Tracker
    • Text Recognizer
    • Digital Ink Recognizer
Powered by GitBook
On this page
  1. Setup

Common Errors and Solutions

PreviousSettingsNextUsage Overview

Last updated 2 months ago

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)

Argument 1: cannot convert from 'VoxelBusters.EasyMLKit.IInputSource' to 'VoxelBusters.EasyMLKit.IImageInputSource'

Resolution : Replace IInputSource type with IImageInputSource

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.

Conflicts with Firebase dependencies on iOS?

Resolution: Make sure you set Target Minimum iOS Version to 16.0.

Using 15.5.0 still works but you unity may show some warnings, which you can ignore.