Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you may not be able to execute some actions.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
测试了在android12无法设置画笔颜色,在另外一台android9的手机可以
paint.setColor(Color.parseColor("#ff0000")); paint.setColor(colors.RED); 这两个api无法设置画笔颜色