[英]Login Via Facebook in Android
I am developing an Android app in which user will have choice that he/she can Login in main app using a Facebook account (FB Login). 我正在开发一个Android应用程序,用户可以选择使用Facebook帐户登录主应用程序(FB登录)。 I came to this tutorial in this link .
我通过此链接进入了本教程。
While developing the app, I came to an error in a .java
file that: 在开发应用程序时,
.java
文件出现错误:
the Facebook class is not available.
Facebook类不可用。 Create Facebook class.
创建Facebook课程。
I am not getting anything as I have already included Facebook Android SDK in my project. 我没有任何东西,因为我已经在项目中包含了Facebook Android SDK。
What am I missing? 我想念什么?
First check Library in your project's properties-> android. 首先在项目属性-> android中检查Library。 In library Add facebook(com_facebook_android) library.
在库中添加facebook(com_facebook_android)库。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.