Stanimir Yakimov
Stanimir Yakimov

Reputation: 884

Can't find my assets folder

I'm developing an Android application and I want to add a custom font. I read about the epic assets folder and her location over some themes like this. I check my src folder - it's not there. I check almost every single directory from my project tree and I still can't find her. Here is the picture of my directory tree. And by the way, on my previous project, on Android 0.6 I used to add a custom font but I don't remember where was the folder located and now, on Android Studio 0.8 I even can't find my folder. enter image description here

Upvotes: 3

Views: 6496

Answers (2)

Max McKinney
Max McKinney

Reputation: 1218

Under your main folder you need to make an assets directory.

Right click on the "main" folder -> New -> Directory

And then name it "assets" and here is what it should now look like (minus the xml file of course)

Asset folder

Upvotes: 12

PKlumpp
PKlumpp

Reputation: 5233

Todays IDEs do most of the work for you. But if they fail, why you not just try to do it yourself? Place your assets-folder in src\main\assets and you should be fine.

Upvotes: 0

Related Questions