By Alvin Alexander. Last updated: June 6, 2016
Android FAQ: Where should the ’assets’ directory be when using Android Studio?
Solution: If you want to include an assets folder in your project when using Android Studio, create the folder as src/main/assets, i.e., as an assets folder under src/main.
You can later open files in the assets folder using code like this:
InputStream is = getBaseContext().getAssets().open(relativeFilename);
where relativeFilename is the name of your file, like foo.jpg.