faizmalkani / Fabulous

[DEPRECATED]
MIT License
478 stars 117 forks source link

Can't add to Android Studio Project #13

Open LeviiSnyderr opened 10 years ago

LeviiSnyderr commented 10 years ago

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.

shawnvega commented 10 years ago

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.

LeviiSnyderr commented 10 years ago

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

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

LeviiSnyderr commented 10 years ago

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.