Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not find transition.jar (com.android.support:transition:28.0.0). #290

Closed
aliakbarazizi opened this issue May 23, 2019 · 7 comments
Closed

Comments

@aliakbarazizi
Copy link

I'm using libversion 28.0.0 and i get this error

Could not find transition.jar (com.android.support:transition:28.0.0).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/com/android/support/transition/28.0.0/transition-28.0.0.jar

I figure out there is no transition-28.0.0.jar and only transition-28.0.0.aar exist so I go to build.gradle and change it to this

implementation "com.android.support:transition:${rootProject.ext.supportLibVersion}@aar"

Now everythink looks fine.

Is it a better way to do that?

@Ashkan-Oliaie
Copy link

react-native link react-native-reaninmated

after linking I seem not to be able to get https://dl.google.com/dl/android/maven2/com/android/support/transition/28.0.0/transition-28.0.0.jar

@ludu12
Copy link

ludu12 commented Sep 4, 2019

Not sure I ran into the same issue or not but if you are using a newer version of RN (0.60+ I believe) then you may need to use the Jetifier to update this library as RN has movied to using AndroidX facebook/react-native#23112

See this comment here: facebook/react-native#25483 (comment)

@aliakbarazizi
Copy link
Author

I use react native 59

@kmagiera
Copy link
Member

Closing this since #395 migrates the library to use androidx and hence the problem with transition package should no longer occur

@mifi
Copy link

mifi commented Sep 30, 2019

Having the same problem on RN 0.59 when using jetify -r as suggested.

@aliakbarazizi
Copy link
Author

@mifi change build.gradle of this project to implementation "com.android.support:transition:${rootProject.ext.supportLibVersion}@aar"

@mifi
Copy link

mifi commented Oct 7, 2019

Thanks, but I upgraded to 0.61 eventually and now everything works

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants