开发者

Ignore certain files when exporting APK with Eclipse ADT

Is there a way in Eclipse ADT to ignore a certain set of files under the Package Explorer when exporting an APK package?

I have a PhoneGap application that reuses a whole bunch of js/开发者_开发百科css/images with another application, but currently the APK export is including everything under my "assets" directory, inflating the APK size as a result. Ideally, I only want certain js/css/image files under my "assets" directory to be included in the package instead of everything.


I don't think that there is any support in the SDK/API to achieve this directly but you put your shared resources into a directory on to the memory card and refer to them there from your app? Though your next question is how would you 'install' the shared images etc without including them in the .apk file.. which I'm not sure of the answer.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜