ווי צו ריכטיק configure אַ קאָטלין פּרויעקט אין ינטעללידזש געדאַנק?
איר זאלט האָבן צו configure דיין קאָטלין פּרויעקט אין ינטעללידזש געדאַנק, למשל פֿאַר אַ פּרויעקט אַז איר האָבן ימפּאָרטיד פון גיטהוב. אָן דעם ריכטיק קאָנפיגוראַטיאָן די פּרויעקט וועט נישט צונויפנעמען / לויפן אָדער איר זאל באַקומען טעות אַרטיקלען אַזאַ ווי 'אַפּפּקט ניט געפֿונען אין מאָדולע’ אָדער דיין הויפּט מעטאָד קענען ניט זיין געפֿונען.
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
נאטיץ: if you get any Github prompts click cancel

- Select Modules
- Right click src directory and set as Sources
- Click OK
נאטיץ: 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
נאטיץ: 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.
