Twitter fabric - cannot resolve character

I installed the Twitter Fabric plugin for Android Studio. It was simple and straightforward, but my project cannot recognize any Twitter objects when I copy and paste code from the Fabric dialog box. For example, the following line

private TwitterLoginButton loginButton; 

has "TwitterLoginButton" in red and says "cannot resolve character". I copied the import instructions already, so I thought it would be.

Obviously, I didn’t download something or I need to make Android studio about the file path. I configured the setting for the Android SDK, so great. Does anyone know of any common errors when first implementing Twitter Fabric in Android Studio?

+2
android twitter fabric-twitter
source share
1 answer

Love these simple, stupid. All I had to do was click Rebuild in the Build section of the toolbar so that everything was in order. I assume this is due to the Gradle construct.

+4
source share

All Articles