Paul
Paul
I encountered the same problem. google says that setPreviewOrientation only affects the surface output. does not affects the Camera.PreviewCallback nv21 data...so i think you have to use the landscape theme.....
I just use the 1080p resolution, and it works fine, but the phone can not handle the data that quickly and quality is very bad, so just use 720p instead....
you can use eglCreatePbufferSurface for your camera holder. and get the camera preview data from the buffer. then use egl buffer to do filters and render buffer to a surface...
classpath "com.alibaba:arouter-register:" 这个好像就是用来解决您提的问题的吧?
我的理解是这样子,Arouter的release版本默认是在versionCode有更新的时候,才会重新进行包扫描,才会把新增的配置添加进来。debug版本每次都会进行包扫描。 如果增加了auto-register配置,那么在编译器就会进行扫描,也就不会有类似问题。 debug版本每次都会包扫描。 执行了ARouter.openDebug()后,也会每次都包扫描,但是release版本可能有安全问题。 您的问题会不会是这个原因导致的呢?
> > 我的理解是这样子,Arouter的release版本默认是在versionCode有更新的时候,才会重新进行包扫描,才会把新增的配置添加进来。debug版本每次都会进行包扫描。 > > 如果增加了auto-register配置,那么在编译器就会进行扫描,也就不会有类似问题。 > > debug版本每次都会包扫描。 > > 执行了ARouter.openDebug()后,也会每次都包扫描,但是release版本可能有安全问题。 > > 您的问题会不会是这个原因导致的呢? > > 我也添加了arouter-register插件,按道理应该是在编译期就进行了路由表的扫描,可就是这样运行在手机上还是找不到path 如果添加了arouter-register插件,建议通过apktool反编译apk后,检查com.alibaba.android.arouter.core.LogisticsCenter.loadRouterMap()函数内容,看看是不是映射表以及生成了。 也可以同时看看sp里面的内容(可以通过logcat输出)是不是已经更新了。
看了下源码,好像是拿provider的时候直接通过type,而没有考虑name导致的。ARouter.getInstance().navigation(PathReplaceService.class); 烦请大牛指教。 ``` /** * Build postcard by path and default group */ protected Postcard build(String path) { if (TextUtils.isEmpty(path)) { throw new HandlerException(Consts.TAG + "Parameter is invalid!"); } else...
应该是设计特性,抱歉,打扰了。
> Hello everyone, I have managed to solve this "Failed to resolve labels" problem". Inside the MediaPipe.tulsiproj (open it's folder), it has Configs/MediaPipe.tulsigen, and inside the MediaPipe.tulsigen. > > input...