Ignoring files from Android APK

前端 未结 5 967
青春惊慌失措
青春惊慌失措 2020-12-17 10:40

Is it possible to ignore files from being packaged into the Android APK? For instance, I have my .psd files in the same folder as their .png counterparts, and all the .psd f

5条回答
  •  被撕碎了的回忆
    2020-12-17 11:21

    Use the Maven Android Plugin and declare your resources with a matching pattern that excluded the relevant file types you dont want added (e.g. */.psd). Check out the documentation for the resource plugin and look at the Maven Android Plugin Samples project .. specifically the MorseFlash application I created and the resource plugin related setup.

提交回复
热议问题