我我的Android工作室更新到2.1.2,打开以前project.Now它表明FloatMath.sqrt()已被弃用,无法解析法“的sqrt(浮动)”方法FloatMath.sqrt()已过时
3
A
回答
14
只需键入与浮动强制转换为 -
(float)Math.sqrt(...)
FloatMath
在API已被弃用22
参考链接 - https://developer.android.com/reference/android/util/FloatMath.html
相关问题
- 1. PixelBuffer.AsStream()方法已过时?
- 2. 使用appsettings,但“ConfigurationSettings”方法已过时
- 3. 已过时个createCriteria方法5
- 4. ConfigurationSettings.AppSettings - 此方法已过时错误
- 5. Android的方法已过时旧SDK
- 6. Android处理方法已过时
- 7. Accord.net SimpleLinearRegression的回归方法已过时?
- 8. 过程或方法的监视时间已过
- 9. .net框架已过时的方法 - 它们何时被删除?
- 10. Java运行时的标记方法已过时
- 11. SKPayment paymentWithProductIdentifier已过时。备择方案?
- 12. 重构 - 只是代码SqlParameterCollection.Add方法已过时
- 13. 马克的方法已过时尤斯的ActiveSupport ::弃用
- 14. 将本地方法标记为已弃用/过时?
- 15. 使用已过时并在未来的方法中删除
- 16. JOOQ:类型Condition中的方法和(布尔值)已过时
- 17. Groovy的方法已过时和Eclipse - 排序
- 18. 已过时的Google Earth API存在哪些替代方法?
- 19. OpenTK.Graphics.OpenGL.GL已过时?
- 20. WatchViewStub已过时
- 21. 已过时createEvenSource
- 22. MultipartEntity已过时
- 23. getAllNetworkInfo()已过时
- 24. DesiredCapabilities已过时
- 25. Windows.Phone.Media.Capture.PhotoCaptureDevice已过时...?
- 26. “System.Configuration.ConfigurationSettings.AppSettings”已过时
- 27. 'System.Reactive.Concurrency.Scheduler.NewThread'已过时
- 28. SSLCertificateChainFile已过时
- 29. Gtk.Style.Font已过时?
- 30. 链接过滤和映射方法时如何获取已过滤的索引
使用(float)Math.sqrt(...) – Eenvincible