You can import the viewpage pointer. this project, created in eclipse, cannot find the gradle file when you import a module that is only on the same platform.
as in my case, I imported facebook sdk 4.7.0, but I got the same error "Specify the location of the gradle project or the Android Eclipse Project", so I download the new sdk 4.1.0, which is fully suitable for Android studio. and I import easily.
if your project was on the eclipse platform, so you need to import as an eclipse project
see this image
I hope you understand
source share