I moved my Eclispe project to Android Studio, but it outputs a lot of deprecated errors when built. I tried some methods, but they don't work.
Asked
Active
Viewed 6,924 times
0
-
I have tried the method like @SuppressWarnings("deprecation") and linterror abort,but it doesn't work. – TIANYUAN LI Jun 12 '16 at 05:10
1 Answers
3
Try placing this at the top of the methods:
@SuppressWarnings("deprecation")
Example
@SuppressWarnings("deprecation")
public void testMethod(){
...
}
For a brief explaination go to this link:
Update:
It seems that there is also some known issues with deprecations. You might want to read this for more info: