我遵循 使用 Android Studio 的 Android 版 Facebook SDK。当我运行我的应用程序,我得到以下提到的警告。
Gradle: module 'facebook' won't be compiled. Unfortunately you can't have non-Gradle Java module and Android-Gradle module in one project.
我该怎么解决这个问题?
我尝试了@Scott Barta 的回答,得到了以下错误消息。
A problem occurred configuring project ':App'.
> Failed to notify project evaluation listener.
> A problem occurred configuring project ':libraries:facebook'.
> Failed to notify project evaluation listener.
> Could not resolve all dependencies for configuration ':libraries:facebook:_DebugCompile'.
> Could not find any version that matches com.android.support:support-v4:+.
Required by:
MyApplication2.libraries:facebook:unspecified