Javascript/reactnative/helloworld/react-native-cli
提供: 初心者エンジニアの簡易メモ
react-native-cliを使ったhelloworld
$ react-native init hello
以下構成で作成される
App.js __tests__ [dir] android [dir] app.json babel.config.js index.js ios [dir] metro.config.js node_modules [dir] package.json yarn.lock
実行
cd hello react-native run-android # android react-native run-ios # ios
android実行
以下エラーが出て失敗。
Internal API constructor DefaultDomainObjectSet(Class<T>) has been deprecated. This is scheduled to be removed in Gradle 7.0. Please use ObjectFactory.domainObjectSet(Class<T>) instead.
謎