frakbot / GlowPadBackport

A backport of the Android 4.2 GlowPadView that works on the SDK on API levels 4+
246 stars 85 forks source link

Proguard warnings about android.util.FloatMath methods #16

Closed calvarez-ov closed 8 years ago

calvarez-ov commented 8 years ago

When setting compileSdkVersion to 23 in my project, proguard shows these warnings:

Warning: net.frakbot.glowpadbackport.PointCloud: can't find referenced method 'float cos(float)' in library class android.util.FloatMath
Warning: net.frakbot.glowpadbackport.PointCloud: can't find referenced method 'float sin(float)' in library class android.util.FloatMath
Warning: net.frakbot.glowpadbackport.PointCloud: can't find referenced method 'float sqrt(float)' in library class android.util.FloatMath
calvarez-ov commented 8 years ago

A PR has already been opened for this: https://github.com/frakbot/GlowPadBackport/pull/15

rock3r commented 8 years ago

See the PR for details on why this is not a real issue. If you want to suppress the warnings, add -dontwarn net.frakbot.glowpadbackport.** to your Proguard rules.

calvarez-ov commented 8 years ago

For info, a more specific rule seems to suffice to ignore the warning:

-dontwarn net.frakbot.glowpadbackport.PointCloud
rock3r commented 8 years ago

:+1: