Kotlin - 기존 프로젝트 import시 Run As >> Kotlin Application 실행항목이 보이지 않을 때 해결방법입니다. (The selection cannot be launched, and there are no recent launches.)

CODEDRAGON Development/Kotlin

반응형


  

 

오류 메시지

기존 프로젝트 import Run As >> Kotlin Application 실행항목이 보이지 않을 해결방법입니다.

 

검색한 결과 특별한 해결방법이 없어 여러가지 방법으로 테스트한 결과 해결방법1 해결였습니다. (해결방법 추천)

 

The selection cannot be launched, and there are no recent launches.


 

 


 

 

 

 

 

 

 

해결방법 1

Github 프로젝트를 [Git] >> [Projects from Git]으로 임포트하지 말고

[General] >> [Existing Projects into Workspace] 임포트하면 해결됩니다.


 


 

 

 

 

 

 

해결방법 2 (비추)

매번 실행시 마다 프로젝트와 Class파일 설정을 해주어야 합니다.

 

 


 

 

프로젝트 선택 >> [마우스 우클릭] >> [Properties] >>

[Run/Debug Settings] >> [New]


 


 


 

 

아래의 규칙에 따라 입력 >> [Apply] >> [OK]

Name:

Config - 파일명.kt

(임지로 이름 지정가능)

Project:

우측의 [Browse] 버튼 클릭 현재 프로젝트명 선택

Main class

패키지명.파일명Kt

 


 


 

 



반응형