Development/cocos2d-x
안드로이드 스튜디오 작업중 LOCAL_SRC_FILES points to a missing file 에러 해결방법
후미카
2016. 11. 2. 16:34
Android NDK: ERROR: [프로젝트 경로]\proj.android-studio\../cocos2d/external/freetype2/prebuilt/android/Android.mk:cocos_freetype2_static: LOCAL_SRC_FILES points to a missing file
Android NDK: Check that [프로젝트 경로]/proj.android-studio/../cocos2d/external/freetype2/prebuilt/android/arm64-v8a/libfreetype.a exists or that its path is correct
안드로이드 스튜디오로 작업 중 NDK빌드 시 위와 같은 에러가 나타나는 경우가 있다.
이유는 64비트로 prebuilt 된 freetype2가 존재하지 않기 때문이다.
Application.mk 파일 최 상단에 APP_ABI := armeabi 를 추가해주면 armeabi 만 적용 되며 빌드가 된다.