How to run React-Native Examples?

后端 未结 9 2266
暗喜
暗喜 2021-01-31 21:18

I can\'t find any instructions on how to install and run one of the other Examples provided in \'https://github.com/facebook/react-native/tree/master/Examples\' such as \'https:

9条回答
  •  Happy的楠姐
    2021-01-31 21:56

    Also, you can run the android version of the UIExplorer app by running the command:

    ./gradlew :Examples:UIExplorer:android:app:installDebug
    ./packager/packager.sh
    

    or this:

    ./gradlew :Examples:Movies:android:app:installDebug
    ./packager/packager.sh
    

    for the movies example (should be run on the react-native folder).

    Also, you could run the gradle daemon to speed up the build time for Android.

提交回复
热议问题