Twitter的面料 - 无法解析符号 [英] Twitter Fabric - Cannot Resolve Symbol

查看:224
本文介绍了Twitter的面料 - 无法解析符号的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经安装了微博面料插件Android的工作室。这是简单明了但是当我复制我的项目无法识别任何Twitter的对象,并粘贴​​在织物对话框中的code。例如下面的行

I've installed the Twitter Fabric plugin for Android Studio. That was simple and straightforward however my project can't recognise any of the Twitter objects when I copy and paste the code from the Fabric dialogue box. For example the following line

private TwitterLoginButton loginButton;

有TwitterLoginButton红色并说不能解析符号。我复制了import语句已经所以我认为这将是它。

has 'TwitterLoginButton' in red and says 'cannot resolve symbol'. I've copied the import statements already so I thought that would be it.

很显然,我还没有下载东西或者我需要让Android工作室意识到可能是文件路径。我已经配置了Android SDK中的设定,所以这是很好。有谁知道任何常见的错误,第一个实施微博面料到Android Studio时?

Obviously I haven't downloaded something or I need to make Android studio aware of a file path maybe. I've configured the setting for the Android SDK, so that's fine. Does anyone know of any common mistakes when first implementing Twitter Fabric to Android Studio?

推荐答案

爱这些简单的,愚蠢的。我所要做的就是在工具栏生成选项,使一切ok了下单击重建。我认为这是由于摇篮建设。

Love these simple, stupid ones. All I had to do was click Rebuild under the Build option in the toolbar to make everything ok. I assume this is due to the Gradle Build.

这篇关于Twitter的面料 - 无法解析符号的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆