I am confused about the assets
folder. It doesn't come auto-created in Android Studio, and almost all the forums in which this is discussed talk about Eclipse.
How can the Assets directory be configured in Android Studio?
I am confused about the assets
folder. It doesn't come auto-created in Android Studio, and almost all the forums in which this is discussed talk about Eclipse.
How can the Assets directory be configured in Android Studio?
When upgrading to the release version of Android Studio, you may be automatically switched to the new Android project View (see here for more info). If you swap back to either the Project or Packages view, you should see the standard folder hierarchy of a Gradle-based project. Then refer to CommonsWare's answer for the appropriate location.
Put the assets folder in the
main/src/assets
path.In android studio you can specify where the source, res, assets folders are located. for each module/app in the build.gradle file you can add something like:
It might not show on your side bar if the app is selected. Click the drop-down at the top that says android and select packages. you will see it then.
In Android Studio, click on the
app
folder, then thesrc
folder, and then themain
folder. Inside the main folder you can add the assets folder.Either create a directory under /app/src/main or use studio File-> New -> Folder - > Assets Folder.