Create assets folder in Android Studio

Posted on : Thu, 23rd Apr 15 11:22 am UTC
100+ votes

IntelliJ Android Studio IDE is much different then Eclipse ADT, so much to learn and unlearn. You may have noticed that there is no assets folder that you would usually find under the project while working with eclipse ADT, in Android Studio you got to create it, lets see how it has to be done,

  1. Navigate to Packages,

    Fig : How to add assets folder to Android Project

  2. You would see app as the root folder, right click on it and select : New -> Folder -> Assets Folder,

  3. You would get a Dialog : Create a source root for assets which will be included in APK. Target Source Set : main

  4. Click Finish.
  5. Now move back to Android Project view, you should be able to see the assets folder now

Code2care's mission is to share varied knowledge in technical and non-technical areas gathered during day-to-day learnings and development activities so that our visitors can leverage this portal to find solutions to their queries without re-inventing the wheel. Technical posts include Learnings, Tutorials, Video Tutorials, Code Snippets, Tips-n-tricks.

Follow us : Facebook - Twitter - Google +