I've installed an IntelliJ IDEA Community Edition 2018.2.4 x64. I've cloned a Project from Git (I learn a course on the "coursera").
The first task was: "Click the green arrow at the left side from the code.." I haven't any arrows. I can't run it from main menu, the programm ask me about configuration. What exactly I need to do?
The problem solved. It was fun.. The firewall blocked all functions of mavel,jdk and part of IDEA. Adding to exceptions didn't help. Switching off the Firewall - helped. Strange were: Empty repositories of maven, the same settings as at the another computers where it have worked.
Now everything is working.
You have to create a new configuration for Kotlin and specify the main class which would be lesson1.task1.SimpleKt
. Then the disabled arrow will turn green and be clickable.
If you want to run the other examples you have to create a new configuration for each one since they all have their own .kt file with a main function.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.