简体   繁体   中英

Android studio unable to paste files to assets folder

So I want to use some fonts but when I try to paste the ttf files into a fonts folder that I have in the assets folder, it just does not do anything. And yes, I am sure that I copied the files.

Nevigate to the assets folder in file explorer. It will be at you_app_folder/app/src/main/assets/fonts

Paste the files there.

Now go back to android studio and you should see the files there.

You can also use the "Project" or "Project Files" view in Android Studio to see and copy to the "app/src/main/assets" (or whatever) directory itself.

"app/assets" is an alias in "Android" view of project and I'm thinking that is the problem for paste.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM