나는 안드로이드에서 작업 폰갭 페이스 북 플러그인을 얻기 위해 모든 노력을하지만 아무 소용이있다. 나는 3.0을 사용하고 있습니다. 내가의 지침을 따랐다 :폰갭 페이스 북 플러그인 오류 - 코르도바가 해결 될 수는
<application android:icon="@drawable/icon" android:label="@string/app_name"
android:hardwareAccelerated="true"
android:debuggable="true">
<activity android:name="face_login" android:label="@string/app_name"
android:theme="@android:style/Theme.Black.NoTitleBar"
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name="com.facebook.LoginActivity"
android:label="@string/app_name" />
</application>
config.xml 파일의 바닥 모습
: https://github.com/Raffaello/phonegap-facebook-plugin/blob/master/README.md
그래서 AndroidManifest.xml에의 응용 프로그램 태그의 모양 그러나
<plugins>
<plugin name="org.apache.cordova.facebook.Connect" value="org.apache.cordova.facebook.ConnectPlugin" />
</plugins>
</widget>
,
CallbackContext cannot be resolved to a type ConnectPlugin.java
cordova cannot be resolved ConnectPlugin.java
error: No resource identifier found for attribute 'hardwareAccelerated' in package 'android' AndroidManifest.xml
PluginResult cannot be resolved to a type ConnectPlugin.java
The import org.apache.cordova.api cannot be resolved ConnectPlugin.java
webView cannot be resolved or is not a field ConnectPlugin.java
내가 포함했다 : 나는 같은 오류의 엄청난 금액을 얻을 buildpath에서 cordova-3.0.0.jar. 하지만 여전히 모든 오류가 발생합니다. 어떤 생각이야?
그 플러그인은 6 개월 만에 업데이트되지 않았으므로 일부 수정없이 Cordova 3.x 스트림에서 실행되지 않을 것입니다. Cordova 2.9에서 작동하는지 확인해보십시오. 또는 플러그인 업그레이드 문서를 통해 3.0으로 업그레이드 할 수 있습니다. – MBillau
고마워, 그것은 2.7 함께 작동합니다. 그걸 asnwer로서 나갈 수 있니? – user1716672