이 누리집은 대한민국 공식 전자정부 누리집입니다.
적용 지원, FAQ, Q&A 게시판을 통해 기술 문제 해결을 지원합니다.
김*중
2013-06-13 16:26:17
1,623
모바일
완료
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.jayway.maven.plugins.android.generation2:android-maven-plugin:3.1.1:generate-sources (default-generate-sources) on project testSv: Execution default-generate-sources of goal com.jayway.maven.plugins.android.generation2:android-maven-plugin:3.1.1:generate-sources failed: Could not find tool 'aapt'. Please provide a proper Android SDK directory path as configuration parameter <sdk><path>...</path></sdk> in the plugin <configuration/>. As an alternative, you may add the parameter to commandline: -Dandroid.sdk.path=... or set environment variable ANDROID_HOME. -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException
위와같은 에러가 나는데요... 혹시나해서 pom.xml에
<android.sdk.path>c:\eGovFrame\bin\sdk</android.sdk.path>
위에 처럼 넣어줘도 계속 동일 합니다. 그건 왜 그런건지요?
ㅠㅠㅋ 그리고 가이드 프로그램 요즘 안드로이드 버전(젤리빈)으로 돌려보려고 하는데... 어떻게 해야하나요?
안녕하세요. 김재중님.
우선 Android 가이드 프로그램을 생성해서 수행 하시는데는 별도의 maven 빌드는 필요하지 않습니다.
pom.xml은 플러그인 형태로 개발환경에 프로젝트를 생성하는 기능을 구현하기 위해서 추가가 된 것이고 Android 프로젝트를 실행하시는 데에는 maven 빌드를 하지 않으셔도 무관합니다.
또한 가이드 프로그램을 특정 안드로이드 버전으로 돌려보시기 위해서는 우선 SDK 매니저를 통하여 해당 프로젝트를 특정 안드로이드 버전을 사용하여 재 컴파일 후, 해당 안드로이드 버전의 에뮬레이터 또는 디바이스를 통하여 테스트 해 보시기 바랍니다.
상세 내용은 위키가이드를 참고 하시기 바랍니다.
http://www.egovframe.go.kr/wiki/doku.php?id=egovframework:hyb:gate_page
그럼 오늘도 좋은하루 보내시기 바랍니다.
감사합니다.