Where to create the Assets folder in an android project?

Asked

Viewed 5,553 times

4

Where the folder should be created Assets?
I want to use it to store my sources.

2 answers

10

  • In Android Studio right-click the folder inserir a descrição da imagem aqui and navigate to Assets Folder.

inserir a descrição da imagem aqui

  • On the next screen just click on Finish.

inserir a descrição da imagem aqui

  • This will create the folder assets at the main root of your application.

inserir a descrição da imagem aqui


Source of the answer: Where to place Assets Folder in Android Studio

I did not test the answer because I do not have Android Studio installed on this machine, but according to the original answer this answer serves pro Android Studio 1.0 and higher versions.

3

The briefcase assets should be created at the root of your project, ie in the same folder directory gen and res for example.

The image below exemplifies this structure:
inserir a descrição da imagem aqui

Reference: Google Android 3rd Edition

Browser other questions tagged

You are not signed in. Login or sign up in order to post.