you can’t define the environment directory in that particular activity , i dont know what kind of bug it is. instead of that you have pass through string variable.
@Gokul001 as per my guess may that environment.getdirectory will fetch from project directory but , you can only use relative path , as per directory.getfiles it will return fullpath that’s the reason why it’s returning exception. may be exactly i don’t know it’s bug or not.
I don’t think this is a big issue, as it is just a warning that is supposed to accomplish a slightly more robust code.
I wouldn’t worry about it, personally, but I will check with the team whether the interaction with the Environment commands can be improved (after all, fetching your folder dynamically is already good enough and I feel like it shouldn’t warrant this warning anymore).