diff --git a/Facebook.Unity.Editor/android/FacebookAndroidUtil.cs b/Facebook.Unity.Editor/android/FacebookAndroidUtil.cs index cc9ee2ea..d24bd98c 100644 --- a/Facebook.Unity.Editor/android/FacebookAndroidUtil.cs +++ b/Facebook.Unity.Editor/android/FacebookAndroidUtil.cs @@ -123,7 +123,7 @@ public static string GetAndroidSdkPath() { string sdkPath = EditorPrefs.GetString("AndroidSdkRoot"); - if (string.IsNullOrEmpty(sdkPath) || EditorPrefs.GetBool("SdkUseEmbedded")) + if (EditorPrefs.GetBool("SdkUseEmbedded") || string.IsNullOrEmpty(sdkPath)) { try {