From d25cc8d58157aec1836db623209a818a9a6731d5 Mon Sep 17 00:00:00 2001 From: David J Harding Date: Thu, 8 Jul 2021 20:03:01 -0400 Subject: [PATCH] After configuring your project for Android --- .gitignore | 1 - .zshrc | 3 ++- ReactNativeOnM1/.gitignore | 1 - ReactNativeOnM1/android/gradle.properties | 2 +- ReactNativeOnM1/android/local.properties | 1 + 5 files changed, 4 insertions(+), 4 deletions(-) create mode 100644 ReactNativeOnM1/android/local.properties diff --git a/.gitignore b/.gitignore index ad572e6..6de7982 100644 --- a/.gitignore +++ b/.gitignore @@ -26,7 +26,6 @@ DerivedData build/ .idea .gradle -local.properties *.iml # node.js diff --git a/.zshrc b/.zshrc index 829439c..d9d6291 100644 --- a/.zshrc +++ b/.zshrc @@ -1,3 +1,4 @@ -export PATH=/opt/homebrew/opt/ruby/bin:/opt/homebrew/lib/ruby/gems/3.0.0/bin:$PATH +export PATH=/opt/homebrew/opt/ruby/bin:/opt/homebrew/lib/ruby/gems/3.0.0/bin:/Users/david/Library/Android/sdk/platform-tools:$PATH export LDFLAGS="-L/opt/homebrew/opt/ruby/lib" export CPPFLAGS="-I/opt/homebrew/opt/ruby/include" +export ANDROID_SDK=/Users/david/Library/Android/sdk diff --git a/ReactNativeOnM1/.gitignore b/ReactNativeOnM1/.gitignore index ad572e6..6de7982 100644 --- a/ReactNativeOnM1/.gitignore +++ b/ReactNativeOnM1/.gitignore @@ -26,7 +26,6 @@ DerivedData build/ .idea .gradle -local.properties *.iml # node.js diff --git a/ReactNativeOnM1/android/gradle.properties b/ReactNativeOnM1/android/gradle.properties index d21d03f..c6477c4 100644 --- a/ReactNativeOnM1/android/gradle.properties +++ b/ReactNativeOnM1/android/gradle.properties @@ -25,4 +25,4 @@ android.useAndroidX=true android.enableJetifier=true # Version of flipper SDK to use with React Native -FLIPPER_VERSION=0.75.1 +FLIPPER_VERSION=0.91.1 diff --git a/ReactNativeOnM1/android/local.properties b/ReactNativeOnM1/android/local.properties new file mode 100644 index 0000000..3f5221d --- /dev/null +++ b/ReactNativeOnM1/android/local.properties @@ -0,0 +1 @@ +sdk.dir = /Users/david/Library/Android/sdk