danger / kotlin

⚠️ Stop saying "you forgot to …" in code review
MIT License
505 stars 50 forks source link

Autocomplete and Syntax Highlighting are not working on latest Android Studio #244

Open 417-72KI opened 1 year ago

417-72KI commented 1 year ago
Android Studio Dolphin \ 2021.3.1 Android Studio Electric Eel \ 2022.1.1
worked not working
JustJerem commented 1 year ago

Any updates on this issue?

gianluz commented 1 year ago

No updates guys! I was planning to find some time during the weekend. I believe it is a problem connected to the kotlin version. I hope it will be enough to solve!

r0adkll commented 1 year ago

I was finally able to resolve this in AS by adding

-Dkotlin.script.classpath=/usr/local/lib/danger/danger-kotlin.jar

to the studio.vmoptions in ~/Library/Application Support/Google/AndroidStudio<version>/ directory

ron-diesel commented 2 months ago

I was finally able to resolve this in AS by adding

-Dkotlin.script.classpath=/usr/local/lib/danger/danger-kotlin.jar

to the studio.vmoptions in ~/Library/Application Support/Google/AndroidStudio<version>/ directory

/opt/homebrew/opt/danger-kotlin/lib/danger/danger-kotlin.jar