add release instructions for Android

This commit is contained in:
Nick Fisher
2024-03-08 18:01:38 +08:00
parent d6cc6c13fe
commit f72aeb486c

View File

@@ -422,11 +422,27 @@ make generate-background-material
# Known issues
On Windows, loading a glTF (but NOT a glb) may crash due to a race condition between uploading resource data to GPU memory and being freed on the host side.
## Windows
This has been fixed in recent versions of Filament, but other bugs on Windows prevent upgrading.
Loading a glTF (but NOT a glb) may crash due to a race condition between uploading resource data to GPU memory and being freed on the host side. This has been fixed in recent versions of Filament, but other bugs on Windows prevent upgrading. Only workaround is to load a .glb file.
Only workaround is to load a .glb file.
## Android
In release mode, you must add the following to your `app/build.gradle`:
```
buildTypes {
release {
...
shrinkResources false
minifyEnabled false
}
}
...
dependencies {
....
implementation 'net.java.dev.jna:jna:5.10.0@aar'
}
```
# Thanks