Gson cannot be resolved to a type error randomly started appearing
i have this method that loads a json file into a class, which i dont exactly know it started throwing an error at this line
Gson gson = new Gson(); despite me not touching that function or the Util function. The wierd part is that if i rewrite that function in a runnable class likeit works. so i can say its not an issue with imports or my util function