I got this warning:
The method start() from the type Thread is deprecated
I know a lot of Thread methods are deprecated but is the start() deprecated? If so, what should I use instead?
Edit: Is it an IDE config issue? How to remove this warning?
The method start() from the Thread class is not deprecated.
Please check the list of deprecated API. Deprecated Methods
It seems that some eclipse problem.
It turned out to be an SDK issue. (I used a custom android.jar.) Sorry, I didn't think about this when I asked the question.
I don't think it's depecreated (at least that is not Showing in android studio). Have you try run() instead?
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.