From 552769ca8c68a850609b7764be67df7845a6cc2a Mon Sep 17 00:00:00 2001 From: liqiang Date: Fri, 12 Dec 2025 14:26:16 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E5=A2=9E=E5=8A=A0=E5=9C=A8DevEco=20Stu?= =?UTF-8?q?dio=E9=87=8C=E4=BD=BF=E7=94=A8BabylonReactNative=E5=AE=89?= =?UTF-8?q?=E8=A3=85=E7=94=9F=E6=95=88git=E7=9A=84=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: liqiang --- en/BabylonReactNative.md | 9 +++++++++ zh-cn/BabylonReactNative.md | 9 +++++++++ 2 files changed, 18 insertions(+) diff --git a/en/BabylonReactNative.md b/en/BabylonReactNative.md index 5ff90ae65..eed2c294e 100644 --- a/en/BabylonReactNative.md +++ b/en/BabylonReactNative.md @@ -44,6 +44,15 @@ yarn add @react-native-oh-tpl/babylonjs-react-native yarn add @react-native-oh-tpl/babylonjs-react-native-harmony ``` +#### **If using BabylonReactNative in DevEco Studio** + +```bash +When running git --version in the DevEco Studio terminal, if the Git version cannot be detected, follow these steps: +1.Install Git.(Skip this step if Git is already installed.) +2.Add the Git executable directory to the system Path environment variable.(Skip this step if the Path already contains the Git directory.) +3.Restart your computer to ensure the environment variables take effect in DevEco Studio. +``` + The following code shows the basic use scenario of the repository: diff --git a/zh-cn/BabylonReactNative.md b/zh-cn/BabylonReactNative.md index 8e194eea9..1c0968a95 100644 --- a/zh-cn/BabylonReactNative.md +++ b/zh-cn/BabylonReactNative.md @@ -42,6 +42,15 @@ yarn add @react-native-oh-tpl/babylonjs-react-native yarn add @react-native-oh-tpl/babylonjs-react-native-harmony ``` +#### **如果在DevEco Studio里使用BabylonReactNative** + +```bash +在DevEco Studio的终端里执行: git --version,如果查不到git的版本号,依次执行以下步骤: +1.安装git(git已安装,跳过该步骤) +2.在系统环境变量Path里加入git可执行文件路径(Path里已存在git可执行文件路径,跳过该步骤) +3.复位电脑,让环境变量在DevEco Studio里生效 +``` + 下面的代码展示了这个库的基本使用场景: -- Gitee