Generating release apk for the new architecture throws bunch of error #67
-
I created a new Then I enabled the new arch and hermes
and then try to generate via android studio I get following errors Later on I tried using cmd with following command
I get following error I tried cleaning and invalidating cache as well Repo is here https://github.com/PritishSawant/ReactNativeAndroidReleaseApkNewArch |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Reference to the issue on React Native: facebook/react-native#34304 As a rule of thumb, you should run |
Beta Was this translation helpful? Give feedback.
-
@cortinico Thanks Help for future me https://stackoverflow.com/questions/28296237/set-android-home-environment-variable-in-mac |
Beta Was this translation helpful? Give feedback.
Reference to the issue on React Native: facebook/react-native#34304
Please check my last comment. I believe your issue is related to the lack of either the
ANDROID_HOME
orANDROID_SDK_ROOT
environment variable.As a rule of thumb, you should run
react-native doctor
to make sure your environment is properly configured.