react-native icon indicating copy to clipboard operation
react-native copied to clipboard

The awesomeProject of android can't load gif ,I download the demo but the gif can't show

Open kevinTutu opened this issue 10 years ago • 7 comments

Hey there and thank you for using React Native!

React Native, as you've probably heard, is getting really popular and truth is we're getting a bit overwhelmed by the activity surrounding it. Before opening a new issue, make sure to carefully read the following guidelines.

  • Is this something you can debug and fix? Send a pull request! Bug fixes and documentation fixes are welcome.
  • Have a usage question? We use GitHub Issues for bugs. Ask your usage question on Stack Overflow: http://stackoverflow.com/questions/tagged/react-native
  • Have an idea for a feature? Post the feature request on Product Pains, which has a voting system to surface important issues: https://productpains.com/product/react-native/

GitHub issues should only be used for bugs. Make sure these boxes are checked before submitting your issue:

  • [ ] You're using the latest release of React Native: https://github.com/facebook/react-native/releases
  • [ ] You've searched through existing issues: https://github.com/facebook/react-native/issues Chances are that your issue has been reported or resolved before.
  • [ ] You have filled out the template below, or provided an equivalent amount of detail. Issues without sufficient information will be labeled 'Needs more information' and will be closed until there is enough information.

Describe your issue in as much detail as possible. Provide screenshots where appropriate. Provide a minimal code snippet / rnplay example that reproduces the bug, or include a list of detailed list of steps that reproduce the issue.

--- delete everything above this line before submitting your issue ---

Issue Description

[FILL THIS OUT]

Steps to Reproduce / Code Snippets

[FILL THIS OUT]

Expected Results

[FILL THIS OUT]

Additional Information

  • React Native version: [FILL THIS OUT]
  • Platform(s) (iOS, Android, or both?): [FILL THIS OUT]
  • Operating System (macOS, Linux, or Windows?): [FILL THIS OUT]

kevinTutu avatar Aug 30 '16 13:08 kevinTutu

the demo for android can't load the gif

kevinTutu avatar Aug 30 '16 13:08 kevinTutu

Please try to search before ask, there are a batch of issues about that and have been solved, you need to config for gif and webp support https://github.com/facebook/react-native/pull/8951 and that has already be add to the offical docs https://facebook.github.io/react-native/docs/image.html#gif-and-webp-support-on-android BTW, why not just edit the initial content of the issue

nihgwu avatar Aug 30 '16 16:08 nihgwu

We have do the same thing as #8951, but our Android project will crash after that. We change the Fresco version to 0.10.0, and the project work well but the gif image can't be loaded.

Backlighting-Neo avatar Aug 31 '16 02:08 Backlighting-Neo

@Backlighting-Neo What version of React Native are you using ?

charpeni avatar Aug 31 '16 22:08 charpeni

using 0.31.0-rc0

Backlighting-Neo avatar Sep 06 '16 10:09 Backlighting-Neo

Sorry, It's our problem and it was fixed

Backlighting-Neo avatar Sep 06 '16 10:09 Backlighting-Neo

@charpeni hello,we have solve the problem,we have put the .so file into the jniLibs of android project ago,but now we compile the library via maven.So the project has referenced the same library more than one times. anyway ,thank you!

kevinTutu avatar Sep 06 '16 10:09 kevinTutu