6.0 报错
The method sin(float) is undefined for the type FloatMath
The method floor(float) is undefined for the type FloatMath
Android6.0使用 Math.floor 代替 FloatMath.floor 即可,见下图:
解决方案是使用数学类:(float) Math,例如(float)Math.sqrt(),
6.0 报错
The method sin(float) is undefined for the type FloatMath
The method floor(float) is undefined for the type FloatMath
Android6.0使用 Math.floor 代替 FloatMath.floor 即可,见下图:
解决方案是使用数学类:(float) Math,例如(float)Math.sqrt(),