From dba6d565b3ecf34f55e36129f191b6377e1421b4 Mon Sep 17 00:00:00 2001 From: Nicola Corti Date: Mon, 15 Aug 2022 02:42:03 -0700 Subject: [PATCH] Make sure the template project name is `helloworld_appmodules` (#34417) Summary: Make sure the new app template uses the correct project CMake project name: `helloworld_appmodules`, otherwise the app will fail to load the dynamic library. This was a copy-n-paste error from RNTester. ## Changelog [Internal] - Make sure the template project name is `helloworld_appmodules` Pull Request resolved: https://github.com/facebook/react-native/pull/34417 Test Plan: Will test an app created with the New App template Reviewed By: cipolleschi Differential Revision: D38698682 Pulled By: cortinico fbshipit-source-id: b09331a52989b3b131ea8ba627057febcb535ef8 --- template/android/app/src/main/jni/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template/android/app/src/main/jni/CMakeLists.txt b/template/android/app/src/main/jni/CMakeLists.txt index dd2f515893ef6e..d2cad3a3268dfa 100644 --- a/template/android/app/src/main/jni/CMakeLists.txt +++ b/template/android/app/src/main/jni/CMakeLists.txt @@ -1,7 +1,7 @@ cmake_minimum_required(VERSION 3.13) # Define the library name here. -project(rntester_appmodules) +project(helloworld_appmodules) # This file includes all the necessary to let you build your application with the New Architecture. include(${REACT_ANDROID_DIR}/cmake-utils/ReactNative-application.cmake)