andkulikov / Transitions-Everywhere

Set of extra Transitions on top of Jetpack Transitions Library
Apache License 2.0
4.83k stars 486 forks source link

package/symbol R does not exist #91

Closed EddyMexico closed 5 years ago

EddyMexico commented 5 years ago

I'm new to this, sorry if I do/ask anything that I shouldn't. When I imported the library I got:

import com.transitionseverywhere.R; java package R does not exist

What am I missing?

andkulikov commented 5 years ago

Hi. Did you copy library files into your project? What exactly you are trying to solve, why don't you just add library as a dependency into your gradle script?

EddyMexico commented 5 years ago

Yes, I copied all the library files, I tried various times. I tried to add it as a module too but it didn't work. How do I exactly add it as a dependency as you say?

andkulikov commented 5 years ago

to add a new library add it's dependency into a build.gradle file like this dependencies { compile "com.andkulikov:transitionseverywhere:1.8.1" }