google / hover

A floating menu library for Android.
Apache License 2.0
2.64k stars 284 forks source link

Can't import #97

Open AndroidDeveloperLB opened 5 years ago

AndroidDeveloperLB commented 5 years ago

I get this:

image

goforbg commented 4 years ago

Add "google()" inside buildscript { repositories { //here} } and all projects { repositories{//here } }

AndroidDeveloperLB commented 4 years ago

Why doesn't the repository have what's needed? Anyway, I tried, and it still fails...

goforbg commented 4 years ago

Also change the it from alpha 4 to latest classpath

AndroidDeveloperLB commented 4 years ago

Why not update the project to something that we can use? Or at least to something the IDE can auto-fix?

Anyway, tried what you wrote, and still fails:

image

hover.zip

goforbg commented 4 years ago

I think I know what the problem is, Replace HoverViewStateExpanded with https://pastebin.com/x333kdFs

yeah, this is an old library anyway that's not maintained anymore, even if you successfully import it and make an app out of it the Playstore will tell the user "It's coded for old devices and some features might not work". I suggest you take a look at https://github.com/sentialx/discord-bubbles instead.

AndroidDeveloperLB commented 4 years ago

Just because it's not maintained doesn't mean Android Studio should fail so badly to open it. It's only 3 years old. Eclipse did a very good job opening very old Java versions when I last used it (before Android Studio started being used).

I now tried to do as you wrote. Finally succeeded.

Just now noticed you are not working at Google. :)