GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - anova-culinary/AndroidUSBCamera: Flexible and useful UVC camera engine on Android platform, supporting multi-road cameras!

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

379 Commits
379 Commits

Folders and files

NameName
Last commit message
Last commit date
.claude
.claude
 
 
app
app
 
 
gradle/wrapper
gradle/wrapper
 
 
images
images
 
 
libausbc
libausbc
 
 
libnative
libnative
 
 
libuvc
libuvc
 
 
.gitignore
.gitignore
 
 
FAQ.md
FAQ.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
VERSION.md
VERSION.md
 
 
build.gradle
build.gradle
 
 
gradle.properties
gradle.properties
 
 
gradlew
gradlew
 
 
gradlew.bat
gradlew.bat
 
 
settings.gradle
settings.gradle
 
 

Repository files navigation

AndroidUSBCamera - Building AAR Files

This repository contains the source code for building AndroidUSBCamera AAR files locally.

Prerequisites

  • Android SDK with NDK (version 24.0.8215888 recommended for compatibility)
  • CMake 3.22.1 or newer
  • Java 11 (Gradle 6.7.1 doesn't support Java 17+)

Setup

  1. Create a local.properties file in the project root:
sdk.dir=/path/to/your/Android/sdk
ndk.dir=/path/to/your/Android/sdk/ndk/24.0.8215888
cmake.dir=/path/to/your/Android/sdk/cmake/3.22.1
  1. Make sure gradlew is executable:
chmod +x gradlew

Build Commands

Build all AAR files:

JAVA_HOME=/path/to/java11 ./gradlew assembleRelease

Or build individual modules:

# Build libausbc AAR
JAVA_HOME=/path/to/java11 ./gradlew :libausbc:assembleRelease

# Build libuvc AAR
JAVA_HOME=/path/to/java11 ./gradlew :libuvc:assembleRelease

# Build libnative AAR
JAVA_HOME=/path/to/java11 ./gradlew :libnative:assembleRelease

Output Locations

After successful build, the AAR files will be located at:

  • libausbc/build/outputs/aar/libausbc-release.aar
  • libuvc/build/outputs/aar/libuvc-release.aar
  • libnative/build/outputs/aar/libnative-release.aar

Required AAR Files

All three AAR files are required for complete functionality:

  • libausbc: Main camera client library
  • libuvc: UVC camera native implementation
  • libnative: Native utilities (YUVUtils, MP3 encoding, etc.)

Notes

  • The build is configured for ARM architectures only (armeabi-v7a, arm64-v8a) to avoid PIC compilation issues with x86 architectures on newer NDK versions

About

Flexible and useful UVC camera engine on Android platform, supporting multi-road cameras!

juejin.cn/post/7115229806844706847

Resources

Readme
License
Activity
Custom properties

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.