Skip to content

Commit

Permalink
Mention where to put android arm64 builds
Browse files Browse the repository at this point in the history
Renderdoc seems to automatically pick up android builds from 'build-android-arm32/64', but this isn't in the docs. Mention what folder name should be used for each arch since it seems like 'build-android' can only be used for arm32.

This has bit me a few times when trying to get renderdoc to find its arm64 apks.
  • Loading branch information
jmerdich authored Oct 23, 2023
1 parent 3ca187d commit 4720e93
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docs/CONTRIBUTING/Compiling.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,17 @@ On windows cmake you need to specify the 'generator' type to the cmake invocatio
cmake -DBUILD_ANDROID=On -DANDROID_ABI=armeabi-v7a -G "MSYS Makefiles" ..
```

If using developing with multiple Android ABIs, naming your build folders as follows will allow renderdoc to find the right version to install automatically:

| ABI | Folder Name |
|-------------|---------------------|
| armeabi-v7a | build-android-arm32 |
| arm64-v8a | build-android-arm64 |
| x86\* | build-android-x86 |
| x86_64\* | build-android-x64 |

\* Not officially supported

### Note:

With GLES programs on Android, the built-in hooking method doesn't always work. If you have trouble with crashes or problems capturing GLES programs, try enabling building with [interceptor-lib](../../renderdoc/3rdparty/interceptor-lib/README.md). **WARNING**: Building this requires a hefty dependency.
Expand Down

0 comments on commit 4720e93

Please sign in to comment.