Reputation: 202
I am trying to add an assets folder in Android Studio but it is not an option to me. When I go into the android view and try to create a new folder I am only presented with these options. An alternative answer I found was to go to the packages view; however, I could not see my project directory from there. Does anyone know a way to add it as an option? Thanks!
Upvotes: 3
Views: 3816
Reputation: 202
I resolved the issue. My gradle file was not updated and I needed to sync dependencies. Once doing that I was presented with the option to create an assets folder.
Upvotes: 0
Reputation: 872
Right-click on app folder go to New> Folder>Assets Folder.
Android Studio will open a dialog box. Keep all the settings default. Under the target source set, option main should be selected. and click finish.
Upvotes: 7