Java – Unable to parse symbols in Android

Unable to parse symbols in Android… here is a solution to the problem.

Unable to parse symbols in Android

I’m working on integrating twitter with my android app, and I’m using the twitter4j library to do this.

I added the

twitter4j library file and put it in the folder libs, and added the compilation dependencies in build.gradle inside the app folder

dependencies {
    compile fileTree(dir: 'libs', include: ['*.jar'])
    compile ''
    compile ''
    compile 'org.twitter4j:twitter4j-core:4.0.2'

But I still can’t use this library
enter image description here


In the Gradle drawer on the right, can you hit the refresh button to see if that helps? Also, the dependency block you pasted above doesn’t contain instructions for twitter4j – did you happen to just miss it in the issue, or is it really missing from the file?

Related Problems and Solutions