Fabulous icon indicating copy to clipboard operation
Fabulous copied to clipboard

Can't add to Android Studio Project

Open LeviiSnyderr opened this issue 10 years ago • 3 comments

I get an error saying: Error:(3, 0) Could not find property 'ANDROID_BUILD_SDK_VERSION' on project ':FloatingActionButton'.

I can't find a fix for it, what do I do? I tried the closed issue that said to import it as a module (File>Import Module...) and that didn't work either.

LeviiSnyderr avatar Aug 14 '14 07:08 LeviiSnyderr

I'm having a hard time getting it to work in android studio also. Once someone figures it out, they should put it in the wiki or something.

shawnvega avatar Sep 01 '14 06:09 shawnvega

I eventually moved all the files into the package, and when referencing it, called it by

"com.leviisnyderr.package.FloatingActionButton = mFab;"

LeviiSnyderr avatar Sep 02 '14 08:09 LeviiSnyderr

Also, if you're putting it on a fragment, put it on the fragments layout, above the other views. I learned that, and figured someone may be a little confused like I was.

LeviiSnyderr avatar Sep 02 '14 08:09 LeviiSnyderr