Erreur de contexte dans Android Studio

//You can try this

Context context = this;

//or

File f = File(UploadToServer.this.getCacheDir(), "filename");
 
Fantastic Flamingo