I'm using Android version is 4.2
I want to get the path of a stored file by using this
String file = Environment.getExternalFilesDir() + "/"+title+".zip"
I get this error:
The method getExternalFilesDir() is undefined for the type Environment
However, the Environment class does have this method, why do I get this error?