2012-04-25 2 views
2

내가 내 안드로이드 프로젝트의 빌드 타겟을 실행하는거야 참조하는 안드로이드 프로젝트를 구축하고, 콘솔 로그에이 실패 할 때 :오류 페이스 북

-setup: 
    [echo] Creating output directories if needed... 
    [echo] Gathering info for MyGameProject... 
    [setup] Android SDK Tools Revision 19 
    [setup] Project Target: Android 2.2 
    [setup] API level: 8 
    [setup] 
    [setup] ------------------ 
    [setup] Resolving library dependencies: 
    [setup] E:\Android\workspace\MyGameProject: ../../facebook-android-sdk/facebook => E:\Android\facebook-android-sdk\facebook 
    [setup] ------------------ 
    [setup] Ordered libraries: 
    [setup] E:\Android\facebook-android-sdk\facebook 
    [setup] ------------------ 
    [setup] API<=15: Adding annotations.jar to the classpath. 
    [setup] ------------------ 
-build-setup: 
    [echo] Building Libraries 

BUILD FAILED 
E:\Android\workspace\MyGameProject\build.xml:51: The following error occurred while executing this line: 
C:\Android\android-sdk-windows\tools\ant\build.xml:515: The following error occurred while executing this line: 
Target "${build.target}" does not exist in the project "facebook". 

사람이 그것을 해결하는 방법을 알고 있나요?

+0

매니페스트 코드를 표시 할 수 있습니까? Facebook 통합에 어떤 라이브러리를 사용하고 있습니까? – Bandreid

+0

페이스 북 라이브러리 프로젝트도 업데이트하셨습니까? – Vasu

답변

1

기본적으로 facebook-android-sdk에는 build.xml이 없습니다.

다음을 만들 수 있습니다. facebook-sdk dir로 이동하여 명령 줄을 실행하십시오.

android update project -p . 
+0

답변 해 주셔서 감사합니다. 명령을 실행 해 보았습니다. facebook 폴더에 build.xml이 있습니다. 그러나 ant에서 빌드 대상을 실행하는 것은 여전히 ​​오류를 보여줍니다. 내 게임이 나머지 게임을 만드는 것을 멈추게하는 것은 오류가 아닙니다. 내 게임은 여전히이 오류로 실행됩니다. – Lisa