- Android c++ 绘制和录屏,目前只测试了安卓12和12.1,其他版本需要自行测试
- 项目支持到 Android 9 ~ 13
- 编译
- 下载aosp项目,复制对应aosp_res下的安卓版本到aosp根目录的 external/aosp_native_surface
- cd到external/aosp_native_surface执行mm命令编译
- 编译完成后输出路径在out/target/product/system/(lib,lib64)/libSsage.so
执行方法演示
chmod +x NativeSurface ./NativeSurface