更新时间:2023-11-10 19:25:28
最终通过以下方法解决了该问题:
1.从public.xml中删除符号定义;
2.将android.view.Surface替换为android.view.SurfaceControl,并将WindowManagerService.DEFAULT_DIM_DURATION替换为WindowAnimator.DEFAULT_DIM_DURATION。
Finally resolved the problem, by did these: 1. Removed the symbol definition from public.xml; 2. Replaced android.view.Surface with android.view.SurfaceControl, and WindowManagerService.DEFAULT_DIM_DURATION with WindowAnimator.DEFAULT_DIM_DURATION.
此后,我将其编译成功,尽管仍然存在一些问题,它仍可以运行。
After that, I compile it succeed, and it can be run, although there still have some problems.