본문 바로가기

카테고리 없음

cordova build android 에서 에러 발생시

cordova platform add android 이렇게 하고


cordova build android 하면 


어떨 때는 에러나고 어떨 때는 그냥 통과 된다


cordova 버전에 따라서 build 오퍼레이션과 spec이 틀리기 때문에


문제가 발생할수 있다


이럴 경우


해당 프로젝트가 만들어 진 버전으로 android 플랫폼을 추가해 보자


나의 경우 cordova platform add android@~5


이런식으로 하니 정상 작동했다.