Mac OSX system builds React natvie for android development environment, osxnatvie

Source: Internet
Author: User

Mac OSX system builds React natvie for android development environment, osxnatvie
1. Download node. js https://nodejs.org/en/ download OSX V5.6 2. Install android sdk jdk 3. Install react-native-cli open command line, enterNpm install-g react-native-cli Error:Missing write access to/usr/local/lib/node_modules/usr/local/lib add sudo command 4. InitializationReact-native init AwesomeProject requires FQ5. Start the React Native Server command line to enterAwesomeProjectDirectory, runReact-native startStart server6.AwesomeProject android Project  Error: Can't find variable: _ fbBatchedBridge Got JS Exception: ReferenceError: Can't find variable: _ fbBatchedBridge Open the Permission Notification box. A red error occurs. How to solve the problem. Open http: // localhost: 8081/index. android. bundle? Platform = android is correct Input: adb reverse tcp: 8081 tcp: 8081 Or refer to the instructions on the official website:Http://facebook.github.io/react-native/docs/running-on-device-android.html then there will be a long-overdue welcome react native PAGE .. PS: the basic android sdk and jdk are not written. Install android studio.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.