Where to add Android src/main/assets folder in a nativescript project?


#1

To use slf4j/logback, one must include logback.xml file in “assets” folder in app/src/main of Android Studio project. There is app\App_Resources\Android folder which contains the content of app/src/main/res folder.

Where should we add the “assets” folder in the nativescript project for the same effect?

Thanks.


#2

Normally, I add my files directly to App_Resources/android or App_Resources/ios, for example when I need scaled images. Pinging @triniwiz for guidance for Android


#3

There is an issue regarding this also there are a couple options

  1. Drop it in the platforms dir each time u rebuild Expert Mode :joy:
  2. Write a hook to do above
  3. try plugin jean made