Skip to content

Commit 77028ce

Browse files
authored
fix: update linux for note on gradle/java (#108)
1 parent b2490cf commit 77028ce

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

content/setup/linux.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ prev: /setup
44
next: /creating-a-new-project
55
contributors:
66
- rigor789
7+
- aryzing
78
---
89

910
## Setting up Linux for Android
@@ -62,6 +63,10 @@ OpenJDK 64-Bit Server VM (build 14.0.2+12-Ubuntu-120.04, mixed mode, sharing)
6263
javac 14.0.2
6364
```
6465

66+
:::tip Note
67+
NativeScript uses Gradle for Android builds. [Different versions of Gradle rely on certain versions of Java to work](https://docs.gradle.org/current/userguide/compatibility.html#java). If a build fails, check whether the version of Java installed on your system is compatible with the version of Gradle used by NativeScript. The version of Gradle used by NativeScript can be seen in the build logs or in the [source](https://github.com/NativeScript/android/blob/main/test-app/gradle/wrapper/gradle-wrapper.properties).
68+
:::
69+
6570
Setting up the Android development environment can be daunting if you are new to Android development, however following the next steps carefully will get you up and running in no time.
6671

6772
[Download and install Android Studio](https://developer.android.com/studio). In the installation wizard, make sure you have the following components selected (the list should appear if you select **custom** options):

0 commit comments

Comments
 (0)