mirror of
https://github.com/rustdesk/doc.rustdesk.com.git
synced 2024-12-26 17:09:14 +01:00
Update version of NDK
This commit is contained in:
parent
1ded1d0d92
commit
745e529550
@ -152,9 +152,9 @@ Dann installieren Sie `cargo-ndk`. Es wird benötigt, um die Datei `librustdesk.
|
||||
cargo install cargo-ndk
|
||||
```
|
||||
|
||||
Jetzt ist es an der Zeit, `ndk_arm64.sh` auszuführen. Dieses Skript enthält Code, der Rust für Flutter baut. Es benötigt `NDK` in der Version `r22b`.
|
||||
Jetzt ist es an der Zeit, `ndk_arm64.sh` auszuführen. Dieses Skript enthält Code, der Rust für Flutter baut. Es benötigt `NDK` in der Version `r23c`.
|
||||
|
||||
Sie können es [hier](https://dl.google.com/android/repository/android-ndk-r22b-linux-x86_64.zip) herunterladen und manuell installieren oder dieser [Anleitung](https://developer.android.com/studio/projects/install-ndk) folgen. Diese Datei ist recht umfangreich, sodass dieser Vorgang eine Weile dauern kann, was hauptsächlich von Ihrer Internetverbindung abhängt.
|
||||
Sie können es [hier](https://dl.google.com/android/repository/android-ndk-r23c-linux.zip) herunterladen und manuell installieren oder dieser [Anleitung](https://developer.android.com/studio/projects/install-ndk) folgen. Diese Datei ist recht umfangreich, sodass dieser Vorgang eine Weile dauern kann, was hauptsächlich von Ihrer Internetverbindung abhängt.
|
||||
|
||||
Denken Sie daran, die Variable **ANDROID_NDK_HOME** zu setzen und zu überprüfen, ob sie gültig ist.
|
||||
|
||||
|
@ -152,9 +152,9 @@ Then install `cargo-ndk` it is required to generate `librustdesk.so` file:
|
||||
cargo install cargo-ndk
|
||||
```
|
||||
|
||||
Now it's time to run `ndk_arm64.sh`, this script contains code that build's Rust for Flutter, it requires `NDK` in version `r22b`.
|
||||
Now it's time to run `ndk_arm64.sh`, this script contains code that build's Rust for Flutter, it requires `NDK` in version `r23c`.
|
||||
|
||||
You could download it [here](https://dl.google.com/android/repository/android-ndk-r22b-linux-x86_64.zip), you'll be required to install it manually or follow [this](https://developer.android.com/studio/projects/install-ndk) instruction. This file is quite heavy so this process might take a while, it mostly depends on your internet connection.
|
||||
You could download it [here](https://dl.google.com/android/repository/android-ndk-r23c-linux.zip), you'll be required to install it manually or follow [this](https://developer.android.com/studio/projects/install-ndk) instruction. This file is quite heavy so this process might take a while, it mostly depends on your internet connection.
|
||||
|
||||
Just remember to set **ANDROID_NDK_HOME** variable and check if it's valid.
|
||||
|
||||
|
@ -13,10 +13,10 @@ cd
|
||||
# Para ahorrar su tiempo y el nuestro, preparamos archivos dependientes para usted.
|
||||
wget https://github.com/rustdesk/doc.rustdesk.com/releases/download/console/dep.tar.gz
|
||||
tar xzf dep.tar.gz
|
||||
# use r22b, el nuevo NDK tiene el siguiente problema
|
||||
# use r23c, el nuevo NDK tiene el siguiente problema
|
||||
# https://stackoverflow.com/questions/68873570/how-do-i-fix-ld-error-unable-to-find-library-lgcc-when-cross-compiling-rust
|
||||
wget https://dl.google.com/android/repository/android-ndk-r22b-linux-x86_64.zip
|
||||
unzip android-ndk-r22b-linux-x86_64.zip
|
||||
wget https://dl.google.com/android/repository/android-ndk-r23c-linux.zip
|
||||
unzip android-ndk-r23c-linux.zip
|
||||
|
||||
# install ffigen and llvm
|
||||
dart pub global activate ffigen 5.0.1
|
||||
@ -29,7 +29,7 @@ rustup target add aarch64-linux-android
|
||||
|
||||
cargo install cargo-ndk
|
||||
|
||||
VCPKG_ROOT=$HOME/vcpkg ANDROID_NDK_HOME=$HOME/android-ndk-r22b flutter/ndk_arm64.sh
|
||||
VCPKG_ROOT=$HOME/vcpkg ANDROID_NDK_HOME=$HOME/android-ndk-r23c flutter/ndk_arm64.sh
|
||||
```
|
||||
|
||||
## Compilar Flutter
|
||||
|
@ -13,10 +13,10 @@ cd
|
||||
# Pour gagner du temps et de notre temps, nous avons préparé des fichiers dépendants pour vous.
|
||||
wget https://github.com/rustdesk/doc.rustdesk.com/releases/download/console/dep.tar.gz
|
||||
tar xzf dep.tar.gz
|
||||
# Veuillez utiliser R22B, le nouveau NDK a un problème voir lien ci-dessous
|
||||
# Veuillez utiliser r23c, le nouveau NDK a un problème voir lien ci-dessous
|
||||
# https://stackoverflow.com/questions/68873570/how-do-i-fix-ld-error-unable-to-find-library-lgcc-when-cross-compiling-rust
|
||||
wget https://dl.google.com/android/repository/android-ndk-r22b-linux-x86_64.zip
|
||||
unzip android-ndk-r22b-linux-x86_64.zip
|
||||
wget https://dl.google.com/android/repository/android-ndk-r23c-linux.zip
|
||||
unzip android-ndk-r23c-linux.zip
|
||||
|
||||
# installez ffigen and llvm
|
||||
dart pub global activate ffigen 5.0.1
|
||||
@ -30,7 +30,7 @@ rustup target add aarch64-linux-android
|
||||
|
||||
cargo install cargo-ndk
|
||||
|
||||
VCPKG_ROOT=$HOME/vcpkg ANDROID_NDK_HOME=$HOME/android-ndk-r22b flutter/ndk_arm64.sh
|
||||
VCPKG_ROOT=$HOME/vcpkg ANDROID_NDK_HOME=$HOME/android-ndk-r23c flutter/ndk_arm64.sh
|
||||
```
|
||||
|
||||
## Compiler Flutter
|
||||
|
@ -152,9 +152,9 @@ Installeer daarna`cargo-ndk` het is nodig om `librustdesk.so` te genereren
|
||||
cargo install cargo-ndk
|
||||
```
|
||||
|
||||
Nu is het tijd om `ndk_arm64.sh` te draaien, dit script bevat code die Rust bouwt voor Flutter, het vereist `NDK` in versie `r22b`.
|
||||
Nu is het tijd om `ndk_arm64.sh` te draaien, dit script bevat code die Rust bouwt voor Flutter, het vereist `NDK` in versie `r23c`.
|
||||
|
||||
Je kunt het downloaden [hier](https://dl.google.com/android/repository/android-ndk-r22b-linux-x86_64.zip), zul je het handmatig moeten installeren of volg [deze](https://developer.android.com/studio/projects/install-ndk) instructie. Dit bestand is vrij zwaar, dus dit proces kan even duren, het hangt vooral af van uw internetverbinding.
|
||||
Je kunt het downloaden [hier](https://dl.google.com/android/repository/android-ndk-r23c-linux.zip), zul je het handmatig moeten installeren of volg [deze](https://developer.android.com/studio/projects/install-ndk) instructie. Dit bestand is vrij zwaar, dus dit proces kan even duren, het hangt vooral af van uw internetverbinding.
|
||||
|
||||
Vergeet niet de **ANDROID_NDK_HOME** variabele en kijk of deze geldig is
|
||||
|
||||
|
@ -13,10 +13,10 @@ cd
|
||||
# Для экономии вашего и нашего времени мы подготовили для вас файлы зависимостей.
|
||||
wget https://github.com/rustdesk/doc.rustdesk.com/releases/download/console/dep.tar.gz
|
||||
tar xzf dep.tar.gz
|
||||
# пожалуйста, используйте r22b, у нового NDK имеется следующая проблема
|
||||
# пожалуйста, используйте r23c, у нового NDK имеется следующая проблема
|
||||
# https://stackoverflow.com/questions/68873570/how-do-i-fix-ld-error-unable-to-find-library-lgcc-when-cross-compiling-rust
|
||||
wget https://dl.google.com/android/repository/android-ndk-r22b-linux-x86_64.zip
|
||||
unzip android-ndk-r22b-linux-x86_64.zip
|
||||
wget https://dl.google.com/android/repository/android-ndk-r23c-linux.zip
|
||||
unzip android-ndk-r23c-linux.zip
|
||||
|
||||
# установка ffigen и llvm
|
||||
dart pub global activate ffigen
|
||||
@ -28,7 +28,7 @@ rustup target add aarch64-linux-android
|
||||
|
||||
cargo install cargo-ndk
|
||||
|
||||
VCPKG_ROOT=$HOME/vcpkg ANDROID_NDK_HOME=$HOME/android-ndk-r22b flutter/ndk_arm64.sh
|
||||
VCPKG_ROOT=$HOME/vcpkg ANDROID_NDK_HOME=$HOME/android-ndk-r23c flutter/ndk_arm64.sh
|
||||
```
|
||||
|
||||
## Сборка на Flutter
|
||||
|
@ -13,10 +13,10 @@ cd
|
||||
# For saving your time and our time, we prepared dependent files for you.
|
||||
wget https://github.com/rustdesk/doc.rustdesk.com/releases/download/console/dep.tar.gz
|
||||
tar xzf dep.tar.gz
|
||||
# please use r22b, new NDK has below problem
|
||||
# please use r23c, new NDK has below problem
|
||||
# https://stackoverflow.com/questions/68873570/how-do-i-fix-ld-error-unable-to-find-library-lgcc-when-cross-compiling-rust
|
||||
wget https://dl.google.com/android/repository/android-ndk-r22b-linux-x86_64.zip
|
||||
unzip android-ndk-r22b-linux-x86_64.zip
|
||||
wget https://dl.google.com/android/repository/android-ndk-r23c-linux.zip
|
||||
unzip android-ndk-r23c-linux.zip
|
||||
|
||||
# install ffigen and llvm
|
||||
dart pub global activate ffigen 5.0.1
|
||||
@ -29,7 +29,7 @@ rustup target add aarch64-linux-android
|
||||
|
||||
cargo install cargo-ndk
|
||||
|
||||
VCPKG_ROOT=$HOME/vcpkg ANDROID_NDK_HOME=$HOME/android-ndk-r22b flutter/ndk_arm64.sh
|
||||
VCPKG_ROOT=$HOME/vcpkg ANDROID_NDK_HOME=$HOME/android-ndk-r23c flutter/ndk_arm64.sh
|
||||
```
|
||||
|
||||
## 构建 Flutter
|
||||
|
@ -13,10 +13,10 @@ cd
|
||||
# For saving your time and our time, we prepared dependent files for you.
|
||||
wget https://github.com/rustdesk/doc.rustdesk.com/releases/download/console/dep.tar.gz
|
||||
tar xzf dep.tar.gz
|
||||
# please use r22b, new NDK has below problem
|
||||
# please use r23c, new NDK has below problem
|
||||
# https://stackoverflow.com/questions/68873570/how-do-i-fix-ld-error-unable-to-find-library-lgcc-when-cross-compiling-rust
|
||||
wget https://dl.google.com/android/repository/android-ndk-r22b-linux-x86_64.zip
|
||||
unzip android-ndk-r22b-linux-x86_64.zip
|
||||
wget https://dl.google.com/android/repository/android-ndk-r23c-linux.zip
|
||||
unzip android-ndk-r23c-linux.zip
|
||||
|
||||
# install ffigen and llvm
|
||||
dart pub global activate ffigen 5.0.1
|
||||
@ -29,7 +29,7 @@ rustup target add aarch64-linux-android
|
||||
|
||||
cargo install cargo-ndk
|
||||
|
||||
VCPKG_ROOT=$HOME/vcpkg ANDROID_NDK_HOME=$HOME/android-ndk-r22b flutter/ndk_arm64.sh
|
||||
VCPKG_ROOT=$HOME/vcpkg ANDROID_NDK_HOME=$HOME/android-ndk-r23c flutter/ndk_arm64.sh
|
||||
```
|
||||
|
||||
## 構建 Flutter
|
||||
|
Loading…
Reference in New Issue
Block a user