Access restriction问题主要是过期的API不再被支持。在eclipse下可以使用下面的方法解决:
preference--->java--->complier--->errors/warning
---->deprecated and restricted API
把 Forbidden reference 的Error改成warning 即可
但是只是把error变成了warning,最好还是不使用这些过期的API
Access restriction问题主要是过期的API不再被支持。在eclipse下可以使用下面的方法解决:
preference--->java--->complier--->errors/warning
---->deprecated and restricted API
把 Forbidden reference 的Error改成warning 即可
但是只是把error变成了warning,最好还是不使用这些过期的API