question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Dispatchers.Main causes IDE error loops in 0.27.0

See original GitHub issue

This issue doesn’t happen on version 0.26.1, and neither invalidate caches and restart nor refresh dependencies solve it on 0.27.0

When I hover the mouse with command held down, it recognizes everything but .Main that comes after Dispatchers, even when imported manually (autocomplete doesn’t work for it).

I’m forced to revert to 0.26.1 to work on an update for BleGattCoroutines because of this.

Title of the IDE error: Worker exited due to exception

File /Users/MysUserName/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlinx/kotlinx-coroutines-android/0.27.0/d39131c2f7b764a793152c5fa61205033d5553a0/kotlinx-coroutines-android-0.27.0.jar!/kotlinx/coroutines/experimental/android/HandlerDispatcherKt.class_file.txt:

// IntelliJ API Decompiler stub source generated from a class file
// Implementation of methods is not available

package kotlinx.coroutines.experimental.android

private const val MAX_DELAY: kotlin.Long /* compiled code */

@field:kotlin.jvm.JvmField internal val Main: kotlinx.coroutines.experimental.android.HandlerDispatcher /* compiled code */

private var choreographer: android.view.Choreographer? /* compiled code */

internal val mainHandler: android.os.Handler /* compiled code */

public val kotlinx.coroutines.experimental.Dispatchers.Main: kotlinx.coroutines.experimental.android.HandlerDispatcher /* compiled code */

public suspend fun awaitFrame(): kotlin.Long { /* compiled code */ }

private fun postFrameCallback(choreographer: android.view.Choreographer, cont: kotlinx.coroutines.experimental.CancellableContinuation<kotlin.Long>): kotlin.Unit { /* compiled code */ }

private fun updateChoreographerAndPostFrameCallback(cont: kotlinx.coroutines.experimental.CancellableContinuation<kotlin.Long>): kotlin.Unit { /* compiled code */ }

@kotlin.jvm.JvmName @kotlin.jvm.JvmOverloads public fun android.os.Handler.asCoroutineDispatcher(name: kotlin.String? /* = compiled code */): kotlinx.coroutines.experimental.android.HandlerDispatcher { /* compiled code */ }

@android.support.annotation.VisibleForTesting internal fun android.os.Looper.asHandler(async: kotlin.Boolean): android.os.Handler { /* compiled code */ }

File stubTree.txt:

```log PsiJetFileStubImpl[package=kotlinx.coroutines.experimental.android] KotlinStub$PACKAGE_DIRECTIVE KotlinStub$DOT_QUALIFIED_EXPRESSION KotlinStub$DOT_QUALIFIED_EXPRESSION KotlinStub$DOT_QUALIFIED_EXPRESSION KotlinStub$REFERENCE_EXPRESSION[referencedName=kotlinx] KotlinStub$REFERENCE_EXPRESSION[referencedName=coroutines] KotlinStub$REFERENCE_EXPRESSION[referencedName=experimental] KotlinStub$REFERENCE_EXPRESSION[referencedName=android] KotlinStub$IMPORT_LIST KotlinStub$PROPERTY[fqName=kotlinx.coroutines.experimental.android.MAX_DELAY, hasDelegate=false, hasDelegateExpression=false, hasInitializer=false, hasReturnTypeRef=true, isExtension=false, isTopLevel=true, isVar=false, name=MAX_DELAY] KotlinStub$MODIFIER_LIST[private const] KotlinStub$TYPE_REFERENCE KotlinStub$USER_TYPE KotlinStub$USER_TYPE KotlinStub$REFERENCE_EXPRESSION[referencedName=kotlin] KotlinStub$REFERENCE_EXPRESSION[referencedName=Long] KotlinStub$PROPERTY[fqName=kotlinx.coroutines.experimental.android.Main, hasDelegate=false, hasDelegateExpression=false, hasInitializer=false, hasReturnTypeRef=true, isExtension=false, isTopLevel=true, isVar=false, name=Main] KotlinStub$MODIFIER_LIST[internal] KotlinStub$ANNOTATION_ENTRY[hasValueArguments=false, shortName=JvmField] KotlinStub$ANNOTATION_TARGET[useSiteTarget=FIELD] KotlinStub$CONSTRUCTOR_CALLEE KotlinStub$TYPE_REFERENCE KotlinStub$USER_TYPE KotlinStub$USER_TYPE KotlinStub$USER_TYPE KotlinStub$REFERENCE_EXPRESSION[referencedName=kotlin] KotlinStub$REFERENCE_EXPRESSION[referencedName=jvm] KotlinStub$REFERENCE_EXPRESSION[referencedName=JvmField] KotlinStub$TYPE_REFERENCE KotlinStub$USER_TYPE KotlinStub$USER_TYPE KotlinStub$USER_TYPE KotlinStub$USER_TYPE KotlinStub$USER_TYPE KotlinStub$REFERENCE_EXPRESSION[referencedName=kotlinx] KotlinStub$REFERENCE_EXPRESSION[referencedName=coroutines] KotlinStub$REFERENCE_EXPRESSION[referencedName=experimental] KotlinStub$REFERENCE_EXPRESSION[referencedName=android] KotlinStub$REFERENCE_EXPRESSION[referencedName=HandlerDispatcher] KotlinStub$PROPERTY[fqName=kotlinx.coroutines.experimental.android.choreographer, hasDelegate=false, hasDelegateExpression=false, hasInitializer=false, hasReturnTypeRef=true, isExtension=false, isTopLevel=true, isVar=true, name=choreographer] KotlinStub$MODIFIER_LIST[private] KotlinStub$TYPE_REFERENCE KotlinStub$NULLABLE_TYPE KotlinStub$USER_TYPE KotlinStub$USER_TYPE KotlinStub$USER_TYPE KotlinStub$REFERENCE_EXPRESSION[referencedName=android] KotlinStub$REFERENCE_EXPRESSION[referencedName=view] KotlinStub$REFERENCE_EXPRESSION[referencedName=Choreographer] KotlinStub$PROPERTY[fqName=kotlinx.coroutines.experimental.android.mainHandler, hasDelegate=false, hasDelegateExpression=false, hasInitializer=false, hasReturnTypeRef=true, isExtension=false, isTopLevel=true, isVar=false, name=mainHandler] KotlinStub$MODIFIER_LIST[internal] KotlinStub$TYPE_REFERENCE KotlinStub$USER_TYPE KotlinStub$USER_TYPE KotlinStub$USER_TYPE KotlinStub$REFERENCE_EXPRESSION[referencedName=android] KotlinStub$REFERENCE_EXPRESSION[referencedName=os] KotlinStub$REFERENCE_EXPRESSION[referencedName=Handler] KotlinStub$PROPERTY[fqName=kotlinx.coroutines.experimental.android.Main, hasDelegate=false, hasDelegateExpression=false, hasInitializer=false, hasReturnTypeRef=true, isExtension=true, isTopLevel=true, isVar=false, name=Main] KotlinStub$MODIFIER_LIST[public] KotlinStub$ANNOTATION_ENTRY[hasValueArguments=false, shortName=JvmField] KotlinStub$ANNOTATION_TARGET[useSiteTarget=FIELD] KotlinStub$CONSTRUCTOR_CALLEE KotlinStub$TYPE_REFERENCE KotlinStub$USER_TYPE KotlinStub$USER_TYPE KotlinStub$USER_TYPE KotlinStub$REFERENCE_EXPRESSION[referencedName=kotlin] KotlinStub$REFERENCE_EXPRESSION[referencedName=jvm] KotlinStub$REFERENCE_EXPRESSION[referencedName=JvmField] KotlinStub$TYPE_REFERENCE KotlinStub$USER_TYPE KotlinStub$USER_TYPE KotlinStub$USER_TYPE KotlinStub$USER_TYPE KotlinStub$REFERENCE_EXPRESSION[referencedName=kotlinx] KotlinStub$REFERENCE_EXPRESSION[referencedName=coroutines] KotlinStub$REFERENCE_EXPRESSION[referencedName=experimental] KotlinStub$REFERENCE_EXPRESSION[referencedName=Dispatchers] KotlinStub$TYPE_REFERENCE KotlinStub$USER_TYPE KotlinStub$USER_TYPE KotlinStub$USER_TYPE KotlinStub$USER_TYPE KotlinStub$USER_TYPE KotlinStub$REFERENCE_EXPRESSION[referencedName=kotlinx] KotlinStub$REFERENCE_EXPRESSION[referencedName=coroutines] KotlinStub$REFERENCE_EXPRESSION[referencedName=experimental] KotlinStub$REFERENCE_EXPRESSION[referencedName=android] KotlinStub$REFERENCE_EXPRESSION[referencedName=HandlerDispatcher] KotlinStub$FUN[fqName=kotlinx.coroutines.experimental.android.awaitFrame, hasBlockBody=true, hasBody=true, hasTypeParameterListBeforeFunctionName=false, isExtension=false, isTopLevel=true, mayHaveContract=false, name=awaitFrame] KotlinStub$MODIFIER_LIST[public suspend] KotlinStub$VALUE_PARAMETER_LIST KotlinStub$TYPE_REFERENCE KotlinStub$USER_TYPE KotlinStub$USER_TYPE KotlinStub$REFERENCE_EXPRESSION[referencedName=kotlin] KotlinStub$REFERENCE_EXPRESSION[referencedName=Long] KotlinStub$FUN[fqName=kotlinx.coroutines.experimental.android.postFrameCallback, hasBlockBody=true, hasBody=true, hasTypeParameterListBeforeFunctionName=false, isExtension=false, isTopLevel=true, mayHaveContract=false, name=postFrameCallback] KotlinStub$MODIFIER_LIST[private] KotlinStub$VALUE_PARAMETER_LIST KotlinStub$VALUE_PARAMETER[fqName=null, hasDefaultValue=false, hasValOrVar=false, isMutable=false, name=choreographer] KotlinStub$TYPE_REFERENCE KotlinStub$USER_TYPE KotlinStub$USER_TYPE KotlinStub$USER_TYPE KotlinStub$REFERENCE_EXPRESSION[referencedName=android] KotlinStub$REFERENCE_EXPRESSION[referencedName=view] KotlinStub$REFERENCE_EXPRESSION[referencedName=Choreographer] KotlinStub$VALUE_PARAMETER[fqName=null, hasDefaultValue=false, hasValOrVar=false, isMutable=false, name=cont] KotlinStub$TYPE_REFERENCE KotlinStub$USER_TYPE KotlinStub$USER_TYPE KotlinStub$USER_TYPE KotlinStub$USER_TYPE KotlinStub$REFERENCE_EXPRESSION[referencedName=kotlinx] KotlinStub$REFERENCE_EXPRESSION[referencedName=coroutines] KotlinStub$REFERENCE_EXPRESSION[referencedName=experimental] KotlinStub$REFERENCE_EXPRESSION[referencedName=CancellableContinuation] KotlinStub$TYPE_ARGUMENT_LIST KotlinStub$TYPE_PROJECTION[projectionKind=NONE] KotlinStub$TYPE_REFERENCE KotlinStub$USER_TYPE KotlinStub$USER_TYPE KotlinStub$REFERENCE_EXPRESSION[referencedName=kotlin] KotlinStub$REFERENCE_EXPRESSION[referencedName=Long] KotlinStub$TYPE_REFERENCE KotlinStub$USER_TYPE KotlinStub$USER_TYPE KotlinStub$REFERENCE_EXPRESSION[referencedName=kotlin] KotlinStub$REFERENCE_EXPRESSION[referencedName=Unit] KotlinStub$FUN[fqName=kotlinx.coroutines.experimental.android.updateChoreographerAndPostFrameCallback, hasBlockBody=true, hasBody=true, hasTypeParameterListBeforeFunctionName=false, isExtension=false, isTopLevel=true, mayHaveContract=false, name=updateChoreographerAndPostFrameCallback] KotlinStub$MODIFIER_LIST[private] KotlinStub$VALUE_PARAMETER_LIST KotlinStub$VALUE_PARAMETER[fqName=null, hasDefaultValue=false, hasValOrVar=false, isMutable=false, name=cont] KotlinStub$TYPE_REFERENCE KotlinStub$USER_TYPE KotlinStub$USER_TYPE KotlinStub$USER_TYPE KotlinStub$USER_TYPE KotlinStub$REFERENCE_EXPRESSION[referencedName=kotlinx] KotlinStub$REFERENCE_EXPRESSION[referencedName=coroutines] KotlinStub$REFERENCE_EXPRESSION[referencedName=experimental] KotlinStub$REFERENCE_EXPRESSION[referencedName=CancellableContinuation] KotlinStub$TYPE_ARGUMENT_LIST KotlinStub$TYPE_PROJECTION[projectionKind=NONE] KotlinStub$TYPE_REFERENCE KotlinStub$USER_TYPE KotlinStub$USER_TYPE KotlinStub$REFERENCE_EXPRESSION[referencedName=kotlin] KotlinStub$REFERENCE_EXPRESSION[referencedName=Long] KotlinStub$TYPE_REFERENCE KotlinStub$USER_TYPE KotlinStub$USER_TYPE KotlinStub$REFERENCE_EXPRESSION[referencedName=kotlin] KotlinStub$REFERENCE_EXPRESSION[referencedName=Unit] KotlinStub$FUN[fqName=kotlinx.coroutines.experimental.android.asCoroutineDispatcher, hasBlockBody=true, hasBody=true, hasTypeParameterListBeforeFunctionName=false, isExtension=true, isTopLevel=true, mayHaveContract=false, name=asCoroutineDispatcher] KotlinStub$MODIFIER_LIST[public] KotlinStub$ANNOTATION_ENTRY[hasValueArguments=false, shortName=JvmName] KotlinStub$CONSTRUCTOR_CALLEE KotlinStub$TYPE_REFERENCE KotlinStub$USER_TYPE KotlinStub$USER_TYPE KotlinStub$USER_TYPE KotlinStub$REFERENCE_EXPRESSION[referencedName=kotlin] KotlinStub$REFERENCE_EXPRESSION[referencedName=jvm] KotlinStub$REFERENCE_EXPRESSION[referencedName=JvmName] KotlinStub$ANNOTATION_ENTRY[hasValueArguments=false, shortName=JvmOverloads] KotlinStub$CONSTRUCTOR_CALLEE KotlinStub$TYPE_REFERENCE KotlinStub$USER_TYPE KotlinStub$USER_TYPE KotlinStub$USER_TYPE KotlinStub$REFERENCE_EXPRESSION[referencedName=kotlin] KotlinStub$REFERENCE_EXPRESSION[referencedName=jvm] KotlinStub$REFERENCE_EXPRESSION[referencedName=JvmOverloads] KotlinStub$TYPE_REFERENCE KotlinStub$USER_TYPE KotlinStub$USER_TYPE KotlinStub$USER_TYPE KotlinStub$REFERENCE_EXPRESSION[referencedName=android] KotlinStub$REFERENCE_EXPRESSION[referencedName=os] KotlinStub$REFERENCE_EXPRESSION[referencedName=Handler] KotlinStub$VALUE_PARAMETER_LIST KotlinStub$VALUE_PARAMETER[fqName=null, hasDefaultValue=false, hasValOrVar=false, isMutable=false, name=name] KotlinStub$TYPE_REFERENCE KotlinStub$NULLABLE_TYPE KotlinStub$USER_TYPE KotlinStub$USER_TYPE KotlinStub$REFERENCE_EXPRESSION[referencedName=kotlin] KotlinStub$REFERENCE_EXPRESSION[referencedName=String] KotlinStub$TYPE_REFERENCE KotlinStub$USER_TYPE KotlinStub$USER_TYPE KotlinStub$USER_TYPE KotlinStub$USER_TYPE KotlinStub$USER_TYPE KotlinStub$REFERENCE_EXPRESSION[referencedName=kotlinx] KotlinStub$REFERENCE_EXPRESSION[referencedName=coroutines] KotlinStub$REFERENCE_EXPRESSION[referencedName=experimental] KotlinStub$REFERENCE_EXPRESSION[referencedName=android] KotlinStub$REFERENCE_EXPRESSION[referencedName=HandlerDispatcher] KotlinStub$FUN[fqName=kotlinx.coroutines.experimental.android.asHandler, hasBlockBody=true, hasBody=true, hasTypeParameterListBeforeFunctionName=false, isExtension=true, isTopLevel=true, mayHaveContract=false, name=asHandler] KotlinStub$MODIFIER_LIST[internal] KotlinStub$ANNOTATION_ENTRY[hasValueArguments=false, shortName=VisibleForTesting] KotlinStub$CONSTRUCTOR_CALLEE KotlinStub$TYPE_REFERENCE KotlinStub$USER_TYPE KotlinStub$USER_TYPE KotlinStub$USER_TYPE KotlinStub$USER_TYPE KotlinStub$REFERENCE_EXPRESSION[referencedName=android] KotlinStub$REFERENCE_EXPRESSION[referencedName=support] KotlinStub$REFERENCE_EXPRESSION[referencedName=annotation] KotlinStub$REFERENCE_EXPRESSION[referencedName=VisibleForTesting] KotlinStub$TYPE_REFERENCE KotlinStub$USER_TYPE KotlinStub$USER_TYPE KotlinStub$USER_TYPE KotlinStub$REFERENCE_EXPRESSION[referencedName=android] KotlinStub$REFERENCE_EXPRESSION[referencedName=os] KotlinStub$REFERENCE_EXPRESSION[referencedName=Looper] KotlinStub$VALUE_PARAMETER_LIST KotlinStub$VALUE_PARAMETER[fqName=null, hasDefaultValue=false, hasValOrVar=false, isMutable=false, name=async] KotlinStub$TYPE_REFERENCE KotlinStub$USER_TYPE KotlinStub$USER_TYPE KotlinStub$REFERENCE_EXPRESSION[referencedName=kotlin] KotlinStub$REFERENCE_EXPRESSION[referencedName=Boolean] KotlinStub$TYPE_REFERENCE KotlinStub$USER_TYPE KotlinStub$USER_TYPE KotlinStub$USER_TYPE KotlinStub$REFERENCE_EXPRESSION[referencedName=android] KotlinStub$REFERENCE_EXPRESSION[referencedName=os] KotlinStub$REFERENCE_EXPRESSION[referencedName=Handler] ```

File stubTreeFromIndex.txt:

```log PsiJetFileStubImpl[package=kotlinx.coroutines.experimental.android] KotlinStub$PACKAGE_DIRECTIVE KotlinStub$DOT_QUALIFIED_EXPRESSION KotlinStub$DOT_QUALIFIED_EXPRESSION KotlinStub$DOT_QUALIFIED_EXPRESSION KotlinStub$REFERENCE_EXPRESSION[referencedName=kotlinx] KotlinStub$REFERENCE_EXPRESSION[referencedName=coroutines] KotlinStub$REFERENCE_EXPRESSION[referencedName=experimental] KotlinStub$REFERENCE_EXPRESSION[referencedName=android] KotlinStub$IMPORT_LIST KotlinStub$PROPERTY[fqName=kotlinx.coroutines.experimental.android.MAX_DELAY, hasDelegate=false, hasDelegateExpression=false, hasInitializer=false, hasReturnTypeRef=true, isExtension=false, isTopLevel=true, isVar=false, name=MAX_DELAY] KotlinStub$MODIFIER_LIST[private const] KotlinStub$TYPE_REFERENCE KotlinStub$USER_TYPE KotlinStub$USER_TYPE KotlinStub$REFERENCE_EXPRESSION[referencedName=kotlin] KotlinStub$REFERENCE_EXPRESSION[referencedName=Long] KotlinStub$PROPERTY[fqName=kotlinx.coroutines.experimental.android.Main, hasDelegate=false, hasDelegateExpression=false, hasInitializer=false, hasReturnTypeRef=true, isExtension=false, isTopLevel=true, isVar=false, name=Main] KotlinStub$MODIFIER_LIST[internal] KotlinStub$ANNOTATION_ENTRY[hasValueArguments=false, shortName=JvmField] KotlinStub$ANNOTATION_TARGET[useSiteTarget=FIELD] KotlinStub$CONSTRUCTOR_CALLEE KotlinStub$TYPE_REFERENCE KotlinStub$USER_TYPE KotlinStub$USER_TYPE KotlinStub$USER_TYPE KotlinStub$REFERENCE_EXPRESSION[referencedName=kotlin] KotlinStub$REFERENCE_EXPRESSION[referencedName=jvm] KotlinStub$REFERENCE_EXPRESSION[referencedName=JvmField] KotlinStub$TYPE_REFERENCE KotlinStub$USER_TYPE KotlinStub$USER_TYPE KotlinStub$USER_TYPE KotlinStub$USER_TYPE KotlinStub$USER_TYPE KotlinStub$REFERENCE_EXPRESSION[referencedName=kotlinx] KotlinStub$REFERENCE_EXPRESSION[referencedName=coroutines] KotlinStub$REFERENCE_EXPRESSION[referencedName=experimental] KotlinStub$REFERENCE_EXPRESSION[referencedName=android] KotlinStub$REFERENCE_EXPRESSION[referencedName=HandlerDispatcher] KotlinStub$PROPERTY[fqName=kotlinx.coroutines.experimental.android.choreographer, hasDelegate=false, hasDelegateExpression=false, hasInitializer=false, hasReturnTypeRef=true, isExtension=false, isTopLevel=true, isVar=true, name=choreographer] KotlinStub$MODIFIER_LIST[private] KotlinStub$TYPE_REFERENCE KotlinStub$NULLABLE_TYPE KotlinStub$USER_TYPE KotlinStub$USER_TYPE KotlinStub$USER_TYPE KotlinStub$REFERENCE_EXPRESSION[referencedName=android] KotlinStub$REFERENCE_EXPRESSION[referencedName=view] KotlinStub$REFERENCE_EXPRESSION[referencedName=Choreographer] KotlinStub$PROPERTY[fqName=kotlinx.coroutines.experimental.android.mainHandler, hasDelegate=false, hasDelegateExpression=false, hasInitializer=false, hasReturnTypeRef=true, isExtension=false, isTopLevel=true, isVar=false, name=mainHandler] KotlinStub$MODIFIER_LIST[internal] KotlinStub$TYPE_REFERENCE KotlinStub$USER_TYPE KotlinStub$USER_TYPE KotlinStub$USER_TYPE KotlinStub$REFERENCE_EXPRESSION[referencedName=android] KotlinStub$REFERENCE_EXPRESSION[referencedName=os] KotlinStub$REFERENCE_EXPRESSION[referencedName=Handler] KotlinStub$PROPERTY[fqName=kotlinx.coroutines.experimental.android.Main, hasDelegate=false, hasDelegateExpression=false, hasInitializer=false, hasReturnTypeRef=true, isExtension=true, isTopLevel=true, isVar=false, name=Main] KotlinStub$MODIFIER_LIST[public] KotlinStub$ANNOTATION_ENTRY[hasValueArguments=false, shortName=JvmField] KotlinStub$ANNOTATION_TARGET[useSiteTarget=FIELD] KotlinStub$CONSTRUCTOR_CALLEE KotlinStub$TYPE_REFERENCE KotlinStub$USER_TYPE KotlinStub$USER_TYPE KotlinStub$USER_TYPE KotlinStub$REFERENCE_EXPRESSION[referencedName=kotlin] KotlinStub$REFERENCE_EXPRESSION[referencedName=jvm] KotlinStub$REFERENCE_EXPRESSION[referencedName=JvmField] KotlinStub$TYPE_REFERENCE KotlinStub$USER_TYPE KotlinStub$USER_TYPE KotlinStub$USER_TYPE KotlinStub$USER_TYPE KotlinStub$REFERENCE_EXPRESSION[referencedName=kotlinx] KotlinStub$REFERENCE_EXPRESSION[referencedName=coroutines] KotlinStub$REFERENCE_EXPRESSION[referencedName=experimental] KotlinStub$REFERENCE_EXPRESSION[referencedName=Dispatchers] KotlinStub$TYPE_REFERENCE KotlinStub$USER_TYPE KotlinStub$USER_TYPE KotlinStub$USER_TYPE KotlinStub$USER_TYPE KotlinStub$USER_TYPE KotlinStub$REFERENCE_EXPRESSION[referencedName=kotlinx] KotlinStub$REFERENCE_EXPRESSION[referencedName=coroutines] KotlinStub$REFERENCE_EXPRESSION[referencedName=experimental] KotlinStub$REFERENCE_EXPRESSION[referencedName=android] KotlinStub$REFERENCE_EXPRESSION[referencedName=HandlerDispatcher] KotlinStub$FUN[fqName=kotlinx.coroutines.experimental.android.awaitFrame, hasBlockBody=true, hasBody=true, hasTypeParameterListBeforeFunctionName=false, isExtension=false, isTopLevel=true, mayHaveContract=false, name=awaitFrame] KotlinStub$MODIFIER_LIST[public suspend] KotlinStub$VALUE_PARAMETER_LIST KotlinStub$TYPE_REFERENCE KotlinStub$USER_TYPE KotlinStub$USER_TYPE KotlinStub$REFERENCE_EXPRESSION[referencedName=kotlin] KotlinStub$REFERENCE_EXPRESSION[referencedName=Long] KotlinStub$FUN[fqName=kotlinx.coroutines.experimental.android.postFrameCallback, hasBlockBody=true, hasBody=true, hasTypeParameterListBeforeFunctionName=false, isExtension=false, isTopLevel=true, mayHaveContract=false, name=postFrameCallback] KotlinStub$MODIFIER_LIST[private] KotlinStub$VALUE_PARAMETER_LIST KotlinStub$VALUE_PARAMETER[fqName=null, hasDefaultValue=false, hasValOrVar=false, isMutable=false, name=choreographer] KotlinStub$TYPE_REFERENCE KotlinStub$USER_TYPE KotlinStub$USER_TYPE KotlinStub$USER_TYPE KotlinStub$REFERENCE_EXPRESSION[referencedName=android] KotlinStub$REFERENCE_EXPRESSION[referencedName=view] KotlinStub$REFERENCE_EXPRESSION[referencedName=Choreographer] KotlinStub$VALUE_PARAMETER[fqName=null, hasDefaultValue=false, hasValOrVar=false, isMutable=false, name=cont] KotlinStub$TYPE_REFERENCE KotlinStub$USER_TYPE KotlinStub$USER_TYPE KotlinStub$USER_TYPE KotlinStub$USER_TYPE KotlinStub$REFERENCE_EXPRESSION[referencedName=kotlinx] KotlinStub$REFERENCE_EXPRESSION[referencedName=coroutines] KotlinStub$REFERENCE_EXPRESSION[referencedName=experimental] KotlinStub$REFERENCE_EXPRESSION[referencedName=CancellableContinuation] KotlinStub$TYPE_ARGUMENT_LIST KotlinStub$TYPE_PROJECTION[projectionKind=NONE] KotlinStub$TYPE_REFERENCE KotlinStub$USER_TYPE KotlinStub$USER_TYPE KotlinStub$REFERENCE_EXPRESSION[referencedName=kotlin] KotlinStub$REFERENCE_EXPRESSION[referencedName=Long] KotlinStub$TYPE_REFERENCE KotlinStub$USER_TYPE KotlinStub$USER_TYPE KotlinStub$REFERENCE_EXPRESSION[referencedName=kotlin] KotlinStub$REFERENCE_EXPRESSION[referencedName=Unit] KotlinStub$FUN[fqName=kotlinx.coroutines.experimental.android.updateChoreographerAndPostFrameCallback, hasBlockBody=true, hasBody=true, hasTypeParameterListBeforeFunctionName=false, isExtension=false, isTopLevel=true, mayHaveContract=false, name=updateChoreographerAndPostFrameCallback] KotlinStub$MODIFIER_LIST[private] KotlinStub$VALUE_PARAMETER_LIST KotlinStub$VALUE_PARAMETER[fqName=null, hasDefaultValue=false, hasValOrVar=false, isMutable=false, name=cont] KotlinStub$TYPE_REFERENCE KotlinStub$USER_TYPE KotlinStub$USER_TYPE KotlinStub$USER_TYPE KotlinStub$USER_TYPE KotlinStub$REFERENCE_EXPRESSION[referencedName=kotlinx] KotlinStub$REFERENCE_EXPRESSION[referencedName=coroutines] KotlinStub$REFERENCE_EXPRESSION[referencedName=experimental] KotlinStub$REFERENCE_EXPRESSION[referencedName=CancellableContinuation] KotlinStub$TYPE_ARGUMENT_LIST KotlinStub$TYPE_PROJECTION[projectionKind=NONE] KotlinStub$TYPE_REFERENCE KotlinStub$USER_TYPE KotlinStub$USER_TYPE KotlinStub$REFERENCE_EXPRESSION[referencedName=kotlin] KotlinStub$REFERENCE_EXPRESSION[referencedName=Long] KotlinStub$TYPE_REFERENCE KotlinStub$USER_TYPE KotlinStub$USER_TYPE KotlinStub$REFERENCE_EXPRESSION[referencedName=kotlin] KotlinStub$REFERENCE_EXPRESSION[referencedName=Unit] KotlinStub$FUN[fqName=kotlinx.coroutines.experimental.android.asCoroutineDispatcher, hasBlockBody=true, hasBody=true, hasTypeParameterListBeforeFunctionName=false, isExtension=true, isTopLevel=true, mayHaveContract=false, name=asCoroutineDispatcher] KotlinStub$MODIFIER_LIST[public] KotlinStub$ANNOTATION_ENTRY[hasValueArguments=false, shortName=JvmName] KotlinStub$CONSTRUCTOR_CALLEE KotlinStub$TYPE_REFERENCE KotlinStub$USER_TYPE KotlinStub$USER_TYPE KotlinStub$USER_TYPE KotlinStub$REFERENCE_EXPRESSION[referencedName=kotlin] KotlinStub$REFERENCE_EXPRESSION[referencedName=jvm] KotlinStub$REFERENCE_EXPRESSION[referencedName=JvmName] KotlinStub$ANNOTATION_ENTRY[hasValueArguments=false, shortName=JvmOverloads] KotlinStub$CONSTRUCTOR_CALLEE KotlinStub$TYPE_REFERENCE KotlinStub$USER_TYPE KotlinStub$USER_TYPE KotlinStub$USER_TYPE KotlinStub$REFERENCE_EXPRESSION[referencedName=kotlin] KotlinStub$REFERENCE_EXPRESSION[referencedName=jvm] KotlinStub$REFERENCE_EXPRESSION[referencedName=JvmOverloads] KotlinStub$TYPE_REFERENCE KotlinStub$USER_TYPE KotlinStub$USER_TYPE KotlinStub$USER_TYPE KotlinStub$REFERENCE_EXPRESSION[referencedName=android] KotlinStub$REFERENCE_EXPRESSION[referencedName=os] KotlinStub$REFERENCE_EXPRESSION[referencedName=Handler] KotlinStub$VALUE_PARAMETER_LIST KotlinStub$VALUE_PARAMETER[fqName=null, hasDefaultValue=false, hasValOrVar=false, isMutable=false, name=name] KotlinStub$TYPE_REFERENCE KotlinStub$NULLABLE_TYPE KotlinStub$USER_TYPE KotlinStub$USER_TYPE KotlinStub$REFERENCE_EXPRESSION[referencedName=kotlin] KotlinStub$REFERENCE_EXPRESSION[referencedName=String] KotlinStub$TYPE_REFERENCE KotlinStub$USER_TYPE KotlinStub$USER_TYPE KotlinStub$USER_TYPE KotlinStub$USER_TYPE KotlinStub$USER_TYPE KotlinStub$REFERENCE_EXPRESSION[referencedName=kotlinx] KotlinStub$REFERENCE_EXPRESSION[referencedName=coroutines] KotlinStub$REFERENCE_EXPRESSION[referencedName=experimental] KotlinStub$REFERENCE_EXPRESSION[referencedName=android] KotlinStub$REFERENCE_EXPRESSION[referencedName=HandlerDispatcher] KotlinStub$FUN[fqName=kotlinx.coroutines.experimental.android.asHandler, hasBlockBody=true, hasBody=true, hasTypeParameterListBeforeFunctionName=false, isExtension=true, isTopLevel=true, mayHaveContract=false, name=asHandler] KotlinStub$MODIFIER_LIST[internal] KotlinStub$ANNOTATION_ENTRY[hasValueArguments=false, shortName=VisibleForTesting] KotlinStub$CONSTRUCTOR_CALLEE KotlinStub$TYPE_REFERENCE KotlinStub$USER_TYPE KotlinStub$USER_TYPE KotlinStub$USER_TYPE KotlinStub$USER_TYPE KotlinStub$REFERENCE_EXPRESSION[referencedName=android] KotlinStub$REFERENCE_EXPRESSION[referencedName=support] KotlinStub$REFERENCE_EXPRESSION[referencedName=annotation] KotlinStub$REFERENCE_EXPRESSION[referencedName=VisibleForTesting] KotlinStub$TYPE_REFERENCE KotlinStub$USER_TYPE KotlinStub$USER_TYPE KotlinStub$USER_TYPE KotlinStub$REFERENCE_EXPRESSION[referencedName=android] KotlinStub$REFERENCE_EXPRESSION[referencedName=os] KotlinStub$REFERENCE_EXPRESSION[referencedName=Looper] KotlinStub$VALUE_PARAMETER_LIST KotlinStub$VALUE_PARAMETER[fqName=null, hasDefaultValue=false, hasValOrVar=false, isMutable=false, name=async] KotlinStub$TYPE_REFERENCE KotlinStub$USER_TYPE KotlinStub$USER_TYPE KotlinStub$REFERENCE_EXPRESSION[referencedName=kotlin] KotlinStub$REFERENCE_EXPRESSION[referencedName=Boolean] KotlinStub$TYPE_REFERENCE KotlinStub$USER_TYPE KotlinStub$USER_TYPE KotlinStub$USER_TYPE KotlinStub$REFERENCE_EXPRESSION[referencedName=android] KotlinStub$REFERENCE_EXPRESSION[referencedName=os] KotlinStub$REFERENCE_EXPRESSION[referencedName=Handler] ```

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:8 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
LouisCADcommented, Oct 1, 2018

Here’s a workaround, taking place at the dependency level:

api "org.jetbrains.kotlinx:kotlinx-coroutines-core:0.30.0"
api "org.jetbrains.kotlinx:kotlinx-coroutines-android:0.26.1"

It seems there has been no real changes in the Android artifact since version 0.26.1, so it should be safe to use with core version 0.30.0. I tried successfully on a project.

0reactions
LouisCADcommented, Sep 30, 2018

@erokhins I have 1.2.71 for Android Studio 3.2

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why application terminates when coroutine tries to enter ...
Main , but when I try to set launch(Dispatcher.Main) whole application terminates without an error. I started following tutorial from: https:// ...
Read more >
Bug listing with status RESOLVED with resolution TEST ...
Bug:233 - "Emacs segfaults when merged through the sandbox." status:RESOLVED resolution:TEST-REQUEST severity:critical · Bug:3888 - "yenta_socket module not ...
Read more >
redux-saga-requests - npm Package Health Analysis - Snyk
With redux-saga-requests , you no longer need to define error and success actions ... If such an action is dispatched, it will cause...
Read more >
IDE crashes when editing a particular JavaScript source file.
(Out of the box Eclipse IDE for Java EE Developers) hs_err: # # A fatal error has been detected by the Java Runtime...
Read more >
Frequently Asked Questions - Numba documentation
If you are seeing an exception on importing Numba with an error message that ... There are some unknown issues in relation to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found