私の問題は、facebook SDK を現在の Android プロジェクトに追加すると、エラーが発生することです。
public void onStart() {
super.onStart();
EasyTracker.getInstance(this).activityStart(this); // This is where the error is.
}
エラーは次のとおりです。
タイプ EasyTracker のメソッド getInstance() は、引数 (MainActivity) には適用されません。
Facebook SDK がなければ、エラーは発生せず、easytracker は正常に動作します。
私もこのエラーが発生します..
Found 2 versions of android-support-v4.jar in the dependency list, but not all the versions are identical (check is based on SHA-1 only at this time).
All versions of the libraries must be the same at this time.
Versions found are:
Path: /home/david/workspace/android/BodyBuilding 101/appcompat_v7/libs/android-support-v4.jar
Length: 648327
SHA-1: ded9acc6a9792b8f1afc470f0c9cd36d178914cd
Path: /home/david/android-sdks/extras/facebook-android-sdk-3.15.0/facebook/libs/android-support-v4.jar
Length: 621451
SHA-1: 5896b0a4e377ac4242eb2bc785220c1c4fc052f4
Jar mismatch! Fix your dependencies
助けてください..