How to support 64-bit VR APP¶
How to configure¶
You can set your VR app to support a 64-bit build after Wave SDK 3.0.104 by modifying the build.gradle. You can:
- build 64-bit apk only
When a build supports 64-bit on your APK, this means that the APK will run as 64-bit when installed on a 64-bit device. See the example below to learn how to modify your VR app to support 64-bit.
Focus on the ndk setting:
android {
defaultConfig {
ndk {
abiFilters 'arm64-v8a' // Target only support 64-bit
}
}
}
By default, ndk targets all non-deprecated ABIs. To target a single ABI, set APP_ABI in your Application.mk file.
APP_ABI := arm64-v8a # Target only support 64-bit