search

Home  >  Q&A  >  body text

android-studio mipmap无法创建文件夹,资源怎么引入

黄舟黄舟2772 days ago614

reply all(7)I'll reply

  • 迷茫

    迷茫2017-04-17 16:59:41

    Copy all the files in. The resource folder is not allowed and the folder is not recognized. Only the files under the mipmap are recognized.

    reply
    0
  • PHPz

    PHPz2017-04-17 16:59:41

    Hum, I usually put it under drawable. Why do you put mipmap? Do you want to replace ic_launcher? ? ?

    reply
    0
  • 迷茫

    迷茫2017-04-17 16:59:41

    The drawable stores some xml files, and the mipmap contains some pictures. Is it possible to create folders in the mipmap? I don’t know whether I have tried it or not. The poster can take a look at the official documentation. Please reply later. Can you? How to build it, how to use it after building it, thank you

    reply
    0
  • PHP中文网

    PHP中文网2017-04-17 16:59:41

    For category management, it is recommended to download a plug-in, which can automatically create a virtual directory through the file header https://github.com/dmytrodanylyk/folding-plugin

    But I don’t know if 2.0 can be used. After all, this plug-in has not been updated for a long time. I don’t know. Even after I updated it, it didn’t work.

    reply
    0
  • ringa_lee

    ringa_lee2017-04-17 16:59:41

    The directory under res no longer supports secondary directories unless you create it manually, but even if you create it manually, it will not be recognized and cannot be added to the R file resource ID, which means that the resource files you added under the secondary directory is invalid.

    reply
    0
  • 巴扎黑

    巴扎黑2017-04-17 16:59:41

    You cannot create a secondary directory by default, not to mention that even if you create it manually, the system will not recognize it

    reply
    0
  • 天蓬老师

    天蓬老师2017-04-17 16:59:41

    Please go to android studio mipmap to create folders with different resolutions

    reply
    0
  • Cancelreply