Support Topics Documentation Slack YouTube Blog

Backendless Library not found on Android Studio

(Mogale Mokgothu) #1

I am having trouble using Backendless libraries. I cannot import the libraries using ‘com.backendless.Backendless’ my IDE highlights ‘… Backendless’ in red at the import statement disallowing me to use the library at all

(Sergey Chupov) #2

Hi Mogale,

Probably you need to specify the name in lowercase: ‘com.backendless.backendless’
Would be best to copy-paste from here:

(Mogale Mokgothu) #3

I did try it out nothing seems to work, it keeps giving me a ‘cannot resolve symbol’ error when I use small caps

(Sergey Chupov) #4

Do you use Gradle? Can you please post the relevant build.gradle?

(Mogale Mokgothu) #5

See the attached

(Mark Piller) #6

How about downloading Android project template from Backendless console (per the Getting Started instructions in the doc) and seeing how it is set up there ? And perhaps using that project for your development?

(Sergey Chupov) #7

Well, the file looks OK, so probably it’s a problem with your Internet connection, so that the library fails to be downloaded, or some problem with Gradle cache - it’s not so unusual than one can expect. In this case you should better follow the Mark’s advice below and try with a generated project.

(Mogale Mokgothu) #8

Good day Mark in this instance I did before reinstalling Android Studio on my laptop and I still recieve the ‘cannot resolve symbol’ error on the import statement

(Sergey Chupov) #9

Try these suggestions: