안드로이드 스튜디오 Desktop 실행 방법
The following will quickly cover how to setup a newly imported libGDX project to run a desktop application, via Android Studio 1.1.0.
This assumes that you have already created a new libGDX project and have already imported it into Android Studio. If you have not, please review Creating your first libgdx project with Android Studio 1.1.0.
With the project imported, select the configurations drop-down, or navigate to Run > Edit Configurations...` in the menu.
Next click the green plus sign in the top left corner and select 'Application.'
There are now four fields you need to populate to complete this step.
Name: Enter whatever you'd like. I like using 'Desktop' to be obvious.
Main class: com.xxx.desktop.DesktopLauncher
Working directory: C:\Path\to\project\android\assets
Use classpath of mod: select the desktop module
And that's it. You should be able to select and run the configuration.
If you work on multiple machines, note that by default this configuration change will mostly likely not be checked into source control. The file that contains this configuration is located in your project directory under \.idea\workspace.xml
.
ex)
'개발 > 안드로이드' 카테고리의 다른 글
안드로이드 스튜디오 외부 jar파일 추가하기 (0) | 2015.08.30 |
---|---|
안드로이드 스튜디오 한글 설정 (0) | 2015.08.30 |
안드로이드 스튜디오 단축키모음집 (0) | 2015.08.28 |
안드로이드 스튜디오 처음 실행시 프로젝트 선택할수 있도록 설정 (0) | 2015.08.28 |
안드로이드스튜디오 + libGDX 연동 (0) | 2015.08.28 |
댓글