有什么办法可以解决setDrawSliceTextisdeprecated的问题。我没有找到任何解决方案。如何获取pieChart.setDrawSliceText(false); 最佳答案 它已被弃用,但在其javadoc中指出:/***Setthistotruetodrawtheentrylabelsintothepieslices(ProvidedbythegetLabel()methodofthePieEntryclass).*Deprecated->usesetDrawEntryLabels(...)instead.**@