Fixed
Status Update
Comments
em...@gmail.com <em...@gmail.com> #2
Android Studio 3.5 Canary 8
Build #AI-191.6014.8.35.5375575, built on March 14, 2019
JRE: 1.8.0_152-release-1343-b01 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0
Build #AI-191.6014.8.35.5375575, built on March 14, 2019
JRE: 1.8.0_152-release-1343-b01 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0
em...@gmail.com <em...@gmail.com> #3
Please refer to this screenshot. It should be fixed soon because it makes all the IDE useless. I don't know if it will works OK if i will change the gradle scripts from kotlin to groovy but it will take time because of large configurations.
Best Regards
Best Regards
sy...@syntezzz.ru <sy...@syntezzz.ru> #4
So much for "first class" Kotlin support
em...@gmail.com <em...@gmail.com> #5
After working some hours and switching back all my project to Groovy still it is throwing the error when trying to sync:
org/jetbrains/kotlin/kapt/idea/KaptGradleModelorg/jetbrains/kotlin/kapt/idea/KaptGradleModel
org/jetbrains/kotlin/kapt/idea/KaptGradleModelorg/jetbrains/kotlin/kapt/idea/KaptGradleModel
em...@gmail.com <em...@gmail.com> #6
It is true as mentioned in comment #4 the Kotlin plugin is incompatible with the latest version of Android Studio this is what cause this bug
Attached screenshot
Attached screenshot
em...@gmail.com <em...@gmail.com> #7
This is the project build.gradle :
classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.21'
classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.21'
ch...@gmail.com <ch...@gmail.com> #8
Same error...
em...@gmail.com <em...@gmail.com> #9
Latest update : ( Except this, i understand that i will be solved for sure but just to say something more)
I have tried too to implement latest kotlin plugin from dev repository too see if maybe it works so changed the repository to :
maven {url "http://dl.bintray.com/kotlin/kotlin-dev "} and added classpath : classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.40-dev-763'
But it is still not working.
Best Regards, waiting for solution.
I have tried too to implement latest kotlin plugin from dev repository too see if maybe it works so changed the repository to :
maven {url "
But it is still not working.
Best Regards, waiting for solution.
ro...@gmail.com <ro...@gmail.com> #10
em...@gmail.com <em...@gmail.com> #11
I understad, that will be solved for sure i am not worried, but do you have any workaround for this ? I have tried to manually download from :
https://plugins.jetbrains.com/plugin/6954-kotlin the plugin that support Android Studio V. 191 but i have some other gradle errors while trying to sync the project
em...@gmail.com <em...@gmail.com> #12
With manually downloaded pluging everything works ok but throwing some warning about Crashlytics :
Warning:<i><b>project ':app': Unable to build Kotlin project configuration</b>
Details: org.gradle.api.internal.artifacts.ivyservice.DefaultLenientConfiguration$ArtifactResolveException: Could not resolve all files for configuration ':app:debugImplementationDependenciesMetadata'.
Caused by: org.gradle.internal.resolve.ArtifactNotFoundException: Could not find crashlytics.arr (com.crashlytics.sdk.android:crashlytics:2.9.9).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/com/crashlytics/sdk/android/crashlytics/2.9.9/crashlytics-2.9.9.arr </i>
Warning:<i><b>project ':app': Unable to build Kotlin project configuration</b>
Details: org.gradle.api.artifacts.ResolveException: Could not resolve all dependencies for configuration ':app:debugImplementationDependenciesMetadata'.
Caused by: org.gradle.internal.resolve.ArtifactNotFoundException: Could not find crashlytics.arr (com.crashlytics.sdk.android:crashlytics:2.9.9).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/com/crashlytics/sdk/android/crashlytics/2.9.9/crashlytics-2.9.9.arr </i>
Warning:<i><b>project ':app': Unable to build Kotlin project configuration</b>
Details: org.gradle.api.internal.artifacts.ivyservice.DefaultLenientConfiguration$ArtifactResolveException: Could not resolve all files for configuration ':app:debugImplementationDependenciesMetadata'.
Caused by: org.gradle.internal.resolve.ArtifactNotFoundException: Could not find crashlytics.arr (com.crashlytics.sdk.android:crashlytics:2.9.9).
Searched in the following locations:
Warning:<i><b>project ':app': Unable to build Kotlin project configuration</b>
Details: org.gradle.api.artifacts.ResolveException: Could not resolve all dependencies for configuration ':app:debugImplementationDependenciesMetadata'.
Caused by: org.gradle.internal.resolve.ArtifactNotFoundException: Could not find crashlytics.arr (com.crashlytics.sdk.android:crashlytics:2.9.9).
Searched in the following locations:
ra...@google.com <ra...@google.com> #13
As mentioned in #6, the IDE ends up with an incompatible version of the Kotlin plugin which it disables and then sync fails.
We have a fix in progress, but until that is released, the workaround is to manually remove ~/.AndroidStudioPreview3.5/config/plugins/Kotlin.
We have a fix in progress, but until that is released, the workaround is to manually remove ~/.AndroidStudioPreview3.5/config/plugins/Kotlin.
em...@gmail.com <em...@gmail.com> #14
I just tried that but still it is not working and throwing again this error :
org.jetbrains.kotlin.kapt.idea.KaptGradleModel PluginClassLoader[org.jetbrains.android , 10.3.5 Canary 8] com.intellij.ide.plugins.cl.PluginClassLoader@6aaeea3org/jetbrains/kotlin/kapt/idea/KaptGradleModel
org.jetbrains.kotlin.kapt.idea.KaptGradleModel PluginClassLoader[org.jetbrains.android , 10.3.5 Canary 8] com.intellij.ide.plugins.cl.PluginClassLoader@6aaeea3
Anyway i will wait for a fix . For the moment fall back to Canary 7
Thanks for your work, regards
org.jetbrains.kotlin.kapt.idea.KaptGradleModel PluginClassLoader[
org.jetbrains.kotlin.kapt.idea.KaptGradleModel PluginClassLoader[
Anyway i will wait for a fix . For the moment fall back to Canary 7
Thanks for your work, regards
ra...@google.com <ra...@google.com> #15
Can you look in the idea.log and see which Kotlin plugin is causing the issue?
I've managed to reproduce the issue locally by installing the EAP version of 1.3.30, and now I see these in my log:
2019-03-25 13:33:30,580 [entQueue-0] WARN - llij.ide.plugins.PluginManager - Kotlin not loaded: until build 183.SNAPSHOT < AI-191.6014.8.35.5375575
2019-03-25 13:33:30,581 [entQueue-0] INFO - llij.ide.plugins.PluginManager - Plugin 'Kotlin' can't be loaded because: Plugin since-build(183.1) or until-build(183.*) don't match this product's build number(AI-191.6014.8.35.5375575).
2019-03-25 13:33:30,629 [entQueue-0] INFO - llij.ide.plugins.PluginManager - Disabled plugins: Kotlin (1.3.30-eap-45-Studio3.4-1)
I've managed to reproduce the issue locally by installing the EAP version of 1.3.30, and now I see these in my log:
2019-03-25 13:33:30,580 [entQueue-0] WARN - llij.ide.plugins.PluginManager - Kotlin not loaded: until build 183.SNAPSHOT < AI-191.6014.8.35.5375575
2019-03-25 13:33:30,581 [entQueue-0] INFO - llij.ide.plugins.PluginManager - Plugin 'Kotlin' can't be loaded because: Plugin since-build(183.1) or until-build(183.*) don't match this product's build number(AI-191.6014.8.35.5375575).
2019-03-25 13:33:30,629 [entQueue-0] INFO - llij.ide.plugins.PluginManager - Disabled plugins: Kotlin (1.3.30-eap-45-Studio3.4-1)
em...@gmail.com <em...@gmail.com> #16
Ohhh, i am so sorry but i just close my laptop right know :D , as soon as possible when i will go again coding if this is needed i will reply back to let you know and to upload the logs.
Thanks
Thanks
ye...@gmail.com <ye...@gmail.com> #18
I fixed this bug by opening (on Mac) Android Studio / Preferences / Plugins / Installed, found there `Kotlin` plugin, saw the text "Kotlin plugin is incompatible with this version", uninstall It and restart IDE. After this the project start syncing.
mi...@gmail.com <mi...@gmail.com> #19
The solution with uninstalling the Kotlin plugin didn't help in my case. Still getting the same error.
ed...@gmail.com <ed...@gmail.com> #20
I can confirm that deleting the ~/Library/Application\ Support/AndroidStudioPreview3.5/Kotlin folder on macOS and restarting Android Studio has solved this issue.
ra...@google.com <ra...@google.com> #21
The fix (which is to ignore incompatible Kotlin versions, such as 1.3.30-eap-45 built for Studio 3.4) will be in Studio 3.5 Canary 9.
em...@gmail.com <em...@gmail.com> #22
Thanks for fast fix, and any estimate release date for canary 9 ?
ra...@google.com <ra...@google.com> #23
Canary 9 was released today, hopefully it works for you now.
em...@gmail.com <em...@gmail.com> #24
Hi, i have downloaded Canary 9 just after Google uploaded. I can confirm that everything seems to be working fine.
But just to say, if someone update from Canary 8 to 9 , the installer fails and didn't complete. But if Canary 9 is downloaded directly online, unzipped and started as new everything is OK.
Thank you for the fast fix. Going forward with next builds and latest features.
Best Regards
But just to say, if someone update from Canary 8 to 9 , the installer fails and didn't complete. But if Canary 9 is downloaded directly online, unzipped and started as new everything is OK.
Thank you for the fast fix. Going forward with next builds and latest features.
Best Regards
Description
org.jetbrains.kotlin.kapt.idea.KaptGradleModel PluginClassLoader[
org.jetbrains.kotlin.kapt.idea.KaptGradleModel PluginClassLoader[
I am using kotlin-dsl for gradle builds.