Install homebrew https://brew.sh/
brew cask install homebrew/cask-versions/adoptopenjdk8
brew cask install android-sdk
| [{ | |
| "localDexId": "Galar Dex: Foreign", | |
| "nationalDexId": "001", | |
| "name": "Bulbasaur", | |
| "stats": { | |
| "hp": 0, | |
| "atk": 0, | |
| "def": 0, | |
| "spa": 0, | |
| "spd": 0, |
brew cask install homebrew/cask-versions/adoptopenjdk8
brew cask install android-sdk
| import React, { useMemo, useRef } from 'react'; | |
| import { View } from 'react-native'; | |
| import { node } from 'prop-types'; | |
| import { PanGestureHandler, State, PinchGestureHandler } from 'react-native-gesture-handler'; | |
| import Animated from 'react-native-reanimated'; | |
| import styles from './styles'; | |
| /** styles.js | |
| import { StyleSheet } from 'react-native'; |
The following worked for me (tested on react native 0.38 and 0.40):
npm install -g ios-deploy
# Run on a connected device, e.g. Max's iPhone:
react-native run-ios --device "Max's iPhone"
This is the proper way to do this according to fb. If you try to run just the run-ios command, you will find that the script recommends that you npm install -g ios-deploy when it comes to the install step after building.
| # ios | |
| match(...) | |
| package = load_json(json_path: "../package.json") | |
| increment_version_number(version_number: package["version"]) | |
| increment_build_number(build_number: ENV["CIRCLE_BUILD_NUM"] || 1) | |
| # android | |
| package = load_json(json_path: "../package.json") |
| 1. Go to Sublime Text to: Tools -> Build System -> New Build System | |
| and put the next lines: | |
| { | |
| "cmd": ["python3", "-i", "-u", "$file"], | |
| "file_regex": "^[ ]File \"(...?)\", line ([0-9]*)", | |
| "selector": "source.python" | |
| } | |
| Then save it with a meaningful name like: python3.sublime-build |