나는 내 freind가 제공하는 www를 가진 작업중인 Android 프로젝트를 보유하고 있습니다. 그리고 나는 cordova 프로젝트를 만들고 같은 Android 플랫폼을 추가했습니다. 그런 다음 www 폴더를 프로젝트 www로 대체하십시오. 코드바 프로젝트를 빌드하면이 오류가 표시됩니다.코드 공사 프로젝트를 구축하는 중 오류가 발생했습니다.
BUILD FAILED
C:\Android\adt-bundle\sdk\tools\ant\build.xml:932: The following error occurred
while executing this line:
C:\Android\adt-bundle\sdk\tools\ant\build.xml:950: null returned: -1073741819
Total time: 11 seconds
C:\Android\fresh\platforms\android\cordova\node_modules\q\q.js:126
throw e;
^
Error code 1 for command: cmd with args: /s,/c,ant,debug,-f,C:\Android\fresh\pla
tforms\android\build.xml,-Dout.dir=ant-build,-Dgen.absolute.dir=ant-gen
Error: C:\Android\fresh\platforms\android\cordova\build.bat: Command failed with
exit code 8
at ChildProcess.whenDone (C:\Users\riyas\AppData\Roaming\npm\node_modules\co
rdova\node_modules\cordova-lib\src\cordova\superspawn.js:135:23)
at ChildProcess.emit (events.js:98:17)
at maybeClose (child_process.js:756:16)
at Process.ChildProcess._handle.onexit (child_process.js:823:5)
귀하의 android-sdk가 C : \ Android \ adt-bundle \ sdk \에 있는지 확인할 수 있습니까? –
예. android sdk 폴더가이 위치에 있습니다. –