renative
renative copied to clipboard
[Android, AndroidTV] Can't run Android apps on M1 mac
Describe the bug Can't run Android apps on M1 mac
To Reproduce
- Create new project with
rnv new
- Do
rnv run -p android
orrnv run -p androidtv
-> error
Expected behavior Chosen template should run
Screenshots or copy&paste
Desktop (please complete the following information):
- OS: Monterey 12.3.1
- Node Version 16.14.2
- RNV Version 0.36.2-canary.4
- Android Studio 2021.2.1 Patch 2
Additional context Template used @rnv/[email protected]
Cross checked on other M1 mac with 16.14.2 node, 11.6 os version, 2020.3.1 Patch 3 android studio and it works
@pauliusguzas it seems like your configured NDK folder is not correct. Looking at the error it says that the NDK folder does not contain source.properties
Resolved by adding full path to ndk including directory with version number of ndk