updated android ndk version + more info on android sdk and ndk installation
This commit is contained in:
parent
fa9062968b
commit
e788c26cc6
@ -66,8 +66,8 @@ Effect examples report output parameter values and CPU usage statistics via USB
|
||||
|
||||
Android examples are built without the help of Android Studio or Gradle. You'll however need to have a recent enough JDK (we need `javac` and `keytool`), as well as to download the latest stable:
|
||||
|
||||
- Android SDK (https://developer.android.com/studio/index.html#command-line-tools-only);
|
||||
- Android NDK (https://developer.android.com/ndk/downloads);
|
||||
- Android SDK (https://developer.android.com/studio/index.html) \*;
|
||||
- Android NDK (https://developer.android.com/ndk/downloads) \*;
|
||||
- `.jar`s and `.aar`s (and you'll also need to manually extract the inner `.jar` from each `.aar`, which are just ZIP files) for:
|
||||
- AndroidX Core (https://mvnrepository.com/artifact/androidx.core/core);
|
||||
- AndroidX Lifecycle Common (https://mvnrepository.com/artifact/androidx.lifecycle/lifecycle-common)
|
||||
@ -79,6 +79,8 @@ Android examples are built without the help of Android Studio or Gradle. You'll
|
||||
|
||||
Then you'll probably also need to adjust paths in `common/android/android.mk`.
|
||||
|
||||
\* You can install both the needed parts of the Android SDK and the NDK by downloading the so-called "command line tools" (https://developer.android.com/studio#command-line-tools-only) and using the included `sdkmanager` program. In such case you need to install the following packages: "platforms;android-*latest*", "build-tools;*latest*", "platform-tools", and "ndk;*latest*".
|
||||
|
||||
### Build
|
||||
|
||||
In order to build just type `make`. You'll find the resulting `.apk` file in `build`.
|
||||
|
@ -1,6 +1,6 @@
|
||||
COMMON_DIR := ${ROOT_DIR}/../../common/android
|
||||
ANDROID_SDK_DIR := ${HOME}/Android/Sdk
|
||||
ANDROID_NDK_DIR := ${ANDROID_SDK_DIR}/ndk/25.1.8937393
|
||||
ANDROID_NDK_DIR := ${ANDROID_SDK_DIR}/ndk/25.2.9519653
|
||||
ANDROIDX_DIR := ${HOME}/Android/androidx
|
||||
KOTLIN_DIR := ${HOME}/Android/kotlin
|
||||
MINIAUDIO_DIR := ${ROOT_DIR}/../../../../miniaudio
|
||||
|
Loading…
Reference in New Issue
Block a user