React-native+genymotion+ubuntu Frequently Asked Questions

Source: Internet
Author: User

The front end is mostly under Windouws, and the backend is under Linux. Because of the hassle of switching back and forth, the React-native project was switched to Ubuntu for several days. Due to Linux innate permissions problem, I have a few minor problems in deploying the development environment under Ubuntu, and summarize here.

    • 1.genymotion permissions issues;
      When I finished installing genymotion on Ubuntu, I started genymotion as a normal user. But there was a mistake when downloading virtual machine. A total of two errors,

Http response Error:no such file or directory
And
Genymotion failed to write virtual device description file.
This is caused by permissions issues. You can start here as root, or you can open the folder where the genymotion is responsible for loading the downloaded files.

      1. Permissions issues for "./android" Files
        This file defaults to the normal user does not have read and write permissions, here we just have to read the permission to open the line.
    • 3.react-native The SDK was not found by the compilation program
      This is not necessarily a problem for everyone, but if you find it, it's easy to solve. You simply create the Local.properties file in the Android folder under your project's folder (if you have an edit). and write it in there.

Sdk.dir = {Your SDK path}

React-native+genymotion+ubuntu Frequently Asked questions

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.