https://kotlinlang.org logo
#android
Title
# android
a

aidanvii

10/26/2018, 10:24 AM
I'm having no luck attaching the kotlin stdlib sources in Android Studio 😕
g

gildor

10/26/2018, 10:25 AM
Strange, for me it works out of the box
a

aidanvii

10/26/2018, 10:26 AM
I'm using Android Studio 3.2 and Kotlin 1.2.60. When I try attaching kotlin-stdlib-1.2.60-sources.jar it just spins forever.
g

gildor

10/26/2018, 10:26 AM
Why do you do that manually?
a

aidanvii

10/26/2018, 10:28 AM
If I navigate to some stdlib methods it takes me to the .class file
so I need to attach sources
g

gildor

10/26/2018, 10:29 AM
it’s strange, I have sources downloaded automatically
Do you use jcenter()
a

aidanvii

10/26/2018, 10:29 AM
strangely not all, if I try navigating to something like
reduce
, it will take me to
ArraysKt.class
yep
where as
binarySearch
takes me to
_ArraysJvm.kt
with documentation
3 Views