mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-11-25 02:55:33 +00:00
Update macOS JAVA_HOME path
This commit is contained in:
parent
dcc1fd3ee4
commit
a967afc629
@ -43,7 +43,7 @@ For Magisk app crashes, record and upload the logcat when the crash occurs.
|
|||||||
- Install Python 3.6+ \
|
- Install Python 3.6+ \
|
||||||
(Windows only: select **'Add Python to PATH'** in installer, and run `pip install colorama` after install)
|
(Windows only: select **'Add Python to PATH'** in installer, and run `pip install colorama` after install)
|
||||||
- Configure to use the JDK bundled in Android Studio:
|
- Configure to use the JDK bundled in Android Studio:
|
||||||
- macOS: `export JAVA_HOME="/Applications/Android Studio.app/Contents/jre/jdk/Contents/Home"`
|
- macOS: `export JAVA_HOME="/Applications/Android Studio.app/Contents/jre/Contents/Home"`
|
||||||
- Linux: `export PATH="/path/to/androidstudio/jre/bin:$PATH"`
|
- Linux: `export PATH="/path/to/androidstudio/jre/bin:$PATH"`
|
||||||
- Windows: Add `C:\Path\To\Android Studio\jre\bin` to environment variable `PATH`
|
- Windows: Add `C:\Path\To\Android Studio\jre\bin` to environment variable `PATH`
|
||||||
- Set environment variable `ANDROID_SDK_ROOT` to the Android SDK folder (can be found in Android Studio settings)
|
- Set environment variable `ANDROID_SDK_ROOT` to the Android SDK folder (can be found in Android Studio settings)
|
||||||
|
@ -16,7 +16,7 @@ buildscript {
|
|||||||
extra["vNav"] = vNav
|
extra["vNav"] = vNav
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath("com.android.tools.build:gradle:7.0.1")
|
classpath("com.android.tools.build:gradle:7.0.2")
|
||||||
classpath(kotlin("gradle-plugin", version = "1.5.30"))
|
classpath(kotlin("gradle-plugin", version = "1.5.30"))
|
||||||
classpath("androidx.navigation:navigation-safe-args-gradle-plugin:${vNav}")
|
classpath("androidx.navigation:navigation-safe-args-gradle-plugin:${vNav}")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user