https://kotlinlang.org logo
Title
m

m1nd

07/05/2017, 7:18 AM
‼️ Hi, I’ve got a weird issue: Currently we a using kotlin version “1.1.1” in our android project. I’d like to update to the the latest version (“1.1.3"). But if I do so and I compile the project I get the following error:
Error:Uncaught translation error: com.android.dx.cf.code.SimException: at stack depth 2, expected type kotlin.ranges.IntRange but found int
Error:1 error; aborting
Error:Execution failed for task ':app:transformClassesWithDexForStudoDebug'.
com.android.build.api.transform.TransformException: java.lang.RuntimeException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: com.android.ide.common.process.ProcessException: Return code 1 for dex process
Has anyone experienced / solved this issue? ‼️
g

gildor

07/05/2017, 7:28 AM
m1nd: Just to be sure. Clean doesn’t help?
m

m1nd

07/05/2017, 7:31 AM
nope. clean does not help
k

kirillrakhman

07/05/2017, 8:01 AM
shot inthe dark but maybe 1.1.3-2 fixed this?
also, do you use Instant Run? If yes, could you try without it?
m

m1nd

07/06/2017, 8:48 AM
using 1.1.3-2 does not help
and no, i’m not using instant run (so this is always disabled)