Error “Could not find /.env on the classpath”.
chen-aq2020 opened this issue · 2 comments
chen-aq2020 commented
I have put ".env" file in the root directory(C:\Users\Administrator\AndroidStudioProjects[Project name]),but i still get the error “Could not find /.env on the classpath”.
CJCrafter commented
dotenv is just the tool I use for API key, it is completely optional (you can switch out for another tool, if you'd like).
Since you're working with android studio, I recommend looking at how projects typically store API credentials.
But without more information, I don't know how to help.
chen-aq2020 commented
Ok,got it