Coder Social home page Coder Social logo

react-native-test's Introduction

安装react-native

install

windows下的环境配置

环境的配置工作

遇到的一些问题

1.react-native run-android

gradle

由于被墙的原因,提示连不上服务器。如下图

gradle-faild

解决方案:下载gradle离线包,安装找到gradle-2.4-all.zip后下载等待完成。然后将zip包放进如下路径的乱码文件夹子目录中,子目录

gradle-install

2 然后重新运行命令react-native run-android 又遇到如下问题
environment variable

需配置环境变量,可参照(demo)

3 重新运行命令react-native run-android 遇到如下问题
update sdk

需更新sdk,如图
update

4 重新运行命令react-native run-android 遇到如下问题
not find
找不到 tools.jar 需在系统变量中添加classpath指向jdk下的tools.jar,然后重启下电脑.可参照(demo)

5 成功的界面
success

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.