Nosmai  Effects Nosmai  Moderation Nosmai Try-ons coming soon
Docs menu Android
Reference

Android

Add the verified Nosmai AAR to a Camera2 application for real-time beauty, AR effects, backgrounds, recording, and processed frame output.

Platform Android SDK version 3.0.4 Updated Aug 22, 2026 Time 4 min

Start here

Requirements

ItemRequirement
Minimum OSAndroid API 21
Device ABIPhysical arm64-v8a device
ToolchainCompile SDK 35 and Java 11
DistributionVerified nosmai-sdk-3.0.4.aar

Available features

  • Camera2 input and NosmaiPreviewView
  • skin retouching, makeup, face shaping, and eye color
  • local and cloud .nosmai packages, including games
  • manual and authored backgrounds
  • processed MP4 recording
  • external direct-I420 processing
  • CPU frame callback and shared EGL texture output
  • verified native Agora, LiveKit, and raw WebRTC streaming paths

Native Android still capture belongs to the application's Camera2 implementation in 3.0.4. Flutter provides higher-level capture through its native platform view.

Important ownership rules

Request camera permission before opening Camera2. Stop any previous controller before starting Nosmai. Camera device error 2 normally indicates that another session still owns the camera.

Next steps

References

Was this page helpful?

Your response helps us prioritize documentation improvements.

Nosmai

An AR and AI company. Founded on the idea that the next decade of software will be visual, and that the tools for it should be within reach of anyone building.

Newsletter

Product updates and release notes. No spam.

© 2026 nosmai, inc · all rights reserved