Add Ubuntu setup script and set configureOnDemand=false for New Architecture
- scripts/setup-ubuntu.sh: JDK 17, nvm/Node, Android SDK/NDK/CMake - android/gradle.properties: avoid CMake/codegen race with New Arch Made-with: Cursor
This commit is contained in:
@@ -22,8 +22,10 @@ org.gradle.jvmargs=-Xmx4g -Dfile.encoding=UTF-8
|
||||
# Enable parallel builds
|
||||
org.gradle.parallel=true
|
||||
|
||||
# Optional: Enable configuration on demand
|
||||
org.gradle.configureondemand=true
|
||||
# Must stay false for React Native New Architecture: configure-on-demand can run app
|
||||
# CMake (Android-autolinking) before library projects run codegen, so
|
||||
# .../node_modules/.../android/build/generated/source/codegen/jni/ never exists (CXX1429).
|
||||
org.gradle.configureondemand=false
|
||||
|
||||
# When configured, Gradle will run in incubating parallel mode.
|
||||
# This option should only be used with decoupled projects. More details, visit
|
||||
|
||||
Reference in New Issue
Block a user