Android 외부 프로젝트 모듈 import시 Project 'xxx' is missing required source folder: 'gen' 오류

Android 프로젝트 진행 중 외부 모듈을 가져다 쓸 때 위와 같이 Package Explorer에서 외부 모듈 프로젝트가 느낌표가 뜨면서 아래와 같은 로그 메세지가 나올 수 있습니다.

Project 'GreeSdk' is missing required source folder: 'gen' GreeSdk Build path Build Path Problem
Project 'gson' is missing required source folder: 'gen' gson Build path Build Path Problem

Project 'PullToRefresh' is missing required source folder: 'gen' PullToRefresh Build path Build Path Problem
Project 'signpost-commonshttp4' is missing required source folder: 'gen' signpost-commonshttp4 Build path Build Path Problem
Project 'signpost-core' is missing required source folder: 'gen' signpost-core Build path Build Path Problem

느낌표가 나는 프로젝트의 Properties -> Java Build Path -> Order and Export 탭에서 프로젝트가 사용하고 있는 Android 버전 API를 느낌표 에러중인 프로젝트보다 위로 올려주면 됩니다.

댓글

이 블로그의 인기 게시물

'xxx.exe' 프로그램을 시작할 수 없습니다. 지정된 파일을 찾을 수 없습니다.

goorm IDE에서 node.js 프로젝트로 Hello World Simple Server 만들어 띄워보기

애드센스 수익을 웨스턴 유니온으로 수표대신 현금으로 지급 받아보자.