Sidee si sax ah reserved mashruuca Kotlin ah ee IDEA IntelliJ?
Waxaa laga yaabaa inaad reserved mashruuca Kotlin aad ee IDEA IntelliJ, tusaale ahaan mashruuca ah in aad laga keeno Github. Aan qaabeynta saxda ah mashruuca aan isu ururin doonaa / ordaan ama waxaad ka heli kartaa fariimaha qalad sida 'AppKt lagama helin module’ ama habka aad ugu weyn ee aan la heli karin.
The following steps will configure your GitHub Kotlin project
- Configure Kotlin in your project
- Tools -> Kotlin -> Configure Kotlin in Project

- If you have more than one module choose all modules otherwise Single module will be fine and choose Use library from plugin
- Press OK

- Tools -> Kotlin -> Configure Kotlin in Project
- Configure the project settings
- Create a directory for the Project compiler output
- Right click the project root in the Project Tool Window
- Choose New -> Directory
- Enter new directory name: out
- Press OK
- Right click the new out directory in the Project Tool Window and choose Copy Path

- Right click the project root in the Project Tool Window
- Choose File -> Project Structure…
- In Project compiler output paste in the out directory Path which was copied in the previous step
- Select the JDK 1.8 in Project SDK
- Select SDK default in Project language level
Ogow: if you get any Github prompts click cancel

- Select Modules
- Right click src directory and set as Sources
- Click OK
Ogow: Cancel or choose No for any Github prompts

- Create a directory for the Project compiler output
- Configure Run and Debug for Kotlin
- Open the App.kt file or the file which contains the main application entry point method
Ogow: Choose No for any Github prompts - Click the small Kotlin icon to the left of the method
- Choose Run ‘AppKt’

- Choose Run ‘AppKt’
- Open the App.kt file or the file which contains the main application entry point method
Your project configuration is now complete and your Kotlin app should compile and run with no problems.
