@@ -74,8 +74,11 @@ to develop and test your apps on a Simulator. However, you will need to enroll w
7474
7575#### Note
7676
77- You do not need to separately install the Java Development Kit (JDK). Android Studio will automatically install the
78- proper JDK for you.
77+ You might need to install the Java Development Kit (JDK) separately. Recent versions of Android Studio no longer install it automatically.
78+ If you encounter Gradle errors, check the [ Gradle JDK Compatibility Matrix] ( https://docs.gradle.org/current/userguide/compatibility.html ) .
79+ The latest JDK version may not be supported yet.
80+
81+ To check the installed Gradle version, examine the `` nativephp/android/.gradle `` folder after running `` php artisan native:install `` .
7982
8083</aside >
8184
@@ -110,6 +113,8 @@ export PATH=$PATH:$JAVA_HOME/bin:$ANDROID_HOME/emulator:$ANDROID_HOME/tools:$AND
110113```
111114
112115#### On Windows
116+ The example below assumes default installation paths for the Android SDK and JDK:
117+
113118``` shell
114119set ANDROID_HOME=C:\U sers\y ourname\A ppData\L ocal\A ndroid\S dk
115120set PATH=%PATH%; %JAVA_HOME%\b in; %ANDROID_HOME%\p latform-tools
@@ -118,6 +123,10 @@ set PATH=%PATH%;%JAVA_HOME%\bin;%ANDROID_HOME%\platform-tools
118123set JAVA_HOME=C:\P rogram Files\M icrosoft\j dk-17.0.8.7-hotspot
119124```
120125
126+ ### "No AVDs found" error
127+ If you encounter this error, it means no Virtual Devices are configured in Android Studio.
128+ To resolve it, open Android Studio, navigate to Virtual Devices, and create at least one device.
129+
121130## Testing on Real Devices
122131
123132You don't _ need_ a physical iOS/Android device to compile and test your application, as NativePHP for Mobile supports
0 commit comments