어플리 케이션으로 등록 하는 방법 이경우 asset 경로가 desktop 과 안드로이드 경로의 상태적 위치 차이로 에러 난다. 안드로이드 스튜디오 데스크탑 런처 설정 아래는 그래들 에서 desktop:run 으로 실행 하면 상대적 경로를 그래들에서 해결해 주는듯 하다. 아래 것을 추천 한다.
안드로이드 스튜디오 에서 다음과 같은 에러 발생시 안드로이드 스튜디오에서는 알수 없는 에러가 발생 할때가 많다. 그래서 여기 하나 소개 한다. [대처법] Error:Execution failed for task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug'. > com.android.builder.dexing.DexArchiveMergerException: Unable to merge dex 그레들에 다음 라인을 추가 하면 에러가 해결된다. your gradle add this line android { defaultConfig { multiDexEnabled true } } finally Solved 해결
libgdx 최초 실행시 다음 과 같은 에러 발생시 Exception in thread "LWJGL Application" com.badlogic.gdx.utils.GdxRuntimeException: Couldn't load file: badlogic.jpg Run -> Edit Configurations On the left hand side choose: Application -> DesktopLauncher In the "Configuration"-Tab, undert "Working directory" choose your android/assets path working directory 의 경로를 asset 폴더로 지정