Hi, I'm trying to run a simple unit test on an and...
# test
y
Hi, I'm trying to run a simple unit test on an android app project (gradle)
Copy code
package com.ohelshem.app.controller

import com.ohelshem.app.toCalendar
import org.junit.Test

class Testing {
    @Test
    fun tryCallMethod() {
        10L.toCalendar()
    }
}
However it crashes with
java.lang.NoSuchMethodError: com.ohelshem.app.PackageKt.toCalendar(J)Ljava/util/Calendar;
. Any idea?