i am new in kotlin and when install kotlin in android step by step in building project i got this error search a lot about how fix this problem but didn't work any solution like invalidate cache/reset please help me
Asked
Active
Viewed 1,455 times
0
-
is your internet well?maybe its unable to load that class – EL TEGANI MOHAMED HAMAD GABIR Aug 26 '18 at 07:04
-
i am sure my internet is well, @ALTegani – Sootood Ebrahimi Aug 26 '18 at 07:06
-
what about rebuild the project – EL TEGANI MOHAMED HAMAD GABIR Aug 26 '18 at 07:14
-
i did it ,dosent solve my problem but i found this error in error log "java.lang.NoClassDefFoundError: kotlin/reflect/KDeclarationContainer" so i check my library find KDeclarationContainerImpl and KdeclarationContainer (interface) but didnt find clas KDeclarationContainer so what can i do??? @ALTegani – Sootood Ebrahimi Aug 26 '18 at 07:26
-
Got same problem, just recently everything worked well, but stopped working. Now I have `kotlin-reflect` in my classpath, it's declared in MANIFEST.MF and present in jar locally, tried `kotlin-reflect` versions `1.2.21`, `1.2.51`, `1.2.60`. – Pavlus Oct 09 '18 at 18:05
1 Answers
0
Add kotlin-reflect
to you build.gradle
:
compile group: 'org.jetbrains.kotlin', name: 'kotlin-reflect', version: '1.2.61'

Alexey Soshin
- 16,718
- 2
- 31
- 40