2014-11-02 5 views
0

나는 내 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) 
+0

귀하의 android-sdk가 C : \ Android \ adt-bundle \ sdk \에 있는지 확인할 수 있습니까? –

+0

예. android sdk 폴더가이 위치에 있습니다. –

답변

0

마지막으로 나는이 문제를 해결했습니다. 즉 -1073741819 오류입니다. 이것은 Windows 사용자를위한 sdk의 aapt.exe 파일 빌드 도구의 버그로 인한 것입니다.

그냥 안정적인 버전으로 안드로이드 SDK를 업그레이드 확인,이 파일에 대한 자세한 내용은 https://android.googlecode.com/issues/attachment?aid=776290120000&name=aapt.exe.zip&token=ABZ6GAcRj6lR-sOmUyVguB0Gmf_BI4Z7Gg%3A1415016896298

이 페이지

https://code.google.com/p/android/issues/detail?id=77629

0

을 aapt.exe 파일을 대체 .. 내가 21을 사용했지만 21.02로 업그레이드되었습니다. 그 다음 나는 그것을 재건했고 효과가 있었다.

관련 문제