You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an app with 3 modules:mobile(mobile app), wear(watch app)and core(contains some common entities).
I tried to use paperparcel in mobile and core modules. In mobile module(plugin: 'com.android.application') it works fine, but in core module(plugin: 'com.android.library') this exception was caught: org.jetbrains.kotlin.util.ReenteringLazyValueComputationException
:core:kaptGenerateStubsReleaseKotlin FAILED
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':core:kaptGenerateStubsReleaseKotlin'.
I have an app with 3 modules:mobile(mobile app), wear(watch app)and core(contains some common entities).
I tried to use paperparcel in mobile and core modules. In mobile module(plugin: 'com.android.application') it works fine, but in core module(plugin: 'com.android.library') this exception was caught: org.jetbrains.kotlin.util.ReenteringLazyValueComputationException
:core:kaptGenerateStubsReleaseKotlin FAILED
FAILURE: Build failed with an exception.
Execution failed for task ':core:kaptGenerateStubsReleaseKotlin'.
My file in core module:
core->build.gradle:
apply plugin: 'com.android.library'
apply plugin: "kotlin-android"
apply plugin: 'kotlin-android-extensions'
apply plugin: 'kotlin-kapt'
android {
compileSdkVersion 24
buildToolsVersion "23.0.2"
}
dependencies {
compile 'com.google.android.gms:play-services-wearable:8.1.0'
}
Also I enabled org.gradle.parallel and tried to add generateStubs = true but it didn't resolve this issue.
The text was updated successfully, but these errors were encountered: