How can I force Proguard to keep my .xml resource file?

前端 未结 3 1296
广开言路
广开言路 2020-12-03 17:33

I am succesfully using proguard for my Android apps.

However, with one app I am having trouble.

This app uses a java library that has a .xml fi

3条回答
  •  情书的邮戳
    2020-12-03 18:16

    You should store files in the appropriate /res/xml, /res/assets, or /res/raw folder and access them through the resource management system or the asset manager correspondingly. You can read more about providing resources in Android Developer's Guide.

提交回复
热议问题