Some of this is quite old. Links to YouTube videos from 2015 and websites that don't exist any more aren't so useful. Update and rearrange. Still lacking is an ARCHITECTURE.md that explains the repo layout. I'll do that next.
Android NDK Samples
This repository contains sample apps that use the Android NDK.
Build and run
- Clone the repository
 - Open the whole project in Android Studio
 - Select the sample you want to run in the top bar (you may need to sync gradle first)
 - Click the play button to run the sample
 
You can also build the samples from the command line if you prefer. Use
./gradlew build to build everything (if you're on Windows, use .\gradlew.bat
instead of ./gradlew). For individual tasks, see ./gradlew tasks. To see the
tasks for an individual sample, run the tasks task for that directory. For
example, ./gradlew :camera:basic:tasks will show the tasks for the
camera/basic app.
Additional documentation
Support
If you've found an issue with a sample and you know how to fix it, please send us a PR!.
If you need to report a bug, where it needs to be filed depends on the type of issue:
- Problems with the samples themselves: https://github.com/googlesamples/android-ndk/issues
 - Problems with the OS APIs: http://b.android.com (usually the Framework component)
 - Problems with NDK (that is, the compiler): https://github.com/android/ndk/issues
 
For questions about using the NDK or the platform APIs, you can ask on:
- The NDK mailing list (best if you're not sure where else to ask)
 - The Discussions tab of this repo (best for questions about the samples themselves)
 - The NDK's Discussions (best for questions about the NDK compilers and build systems)
 - Stack Overflow
 
Additional NDK samples:
- Google Play Game Samples with Android Studio
 - Google Android Vulkan Tutorials
 - Android Vulkan API Basic Samples
 - Android High Performance Audio
 
License
Copyright 2018 The Android Open Source Project, Inc.
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.