I'm trying to implement a code with DownloadManager but I have an import error:

 The import android.app.DownloadManager cannot be resolved

Do i have to add anything to the project in order to use this library??

Thank you very much,

Lucía

有帮助吗?

解决方案

DownloadManager exists only since API level 9 (2.3/Gingerbread), do you use 9 or higher ?

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top