简体   繁体   English

m2e-android和eclipse kepler / adt最新消息:apklib类和资源未包含在最终apk中

[英]m2e-android and eclipse kepler/adt latest: apklib classes and resources not included in final apk

Anyone got any idea why that could be? 任何人都知道为什么会这样吗? I did "properties -> android -> add lib" and also added the apklib project to the build path. 我做了“属性-> android->添加lib”,还将apklib项目添加到了构建路径。 It is also imported to the workspace and opened and built. 它还被导入到工作区中并打开和构建。 it really drives me nuts because the v7 support libs are included in the final apk as desired, but not my own apklib project. 这确实让我发疯,因为v7支持库按需包含在最终的apk中,而不是我自己的apklib项目。 All of the projects show just fine in eclipse, only the final apk is cimpletely missing the apklib contents. 所有项目在eclipse中都显示良好,只有最终apk完全缺少apklib内容。

Problem was a mis-configuration of the library's output folders: I had to set it for the source and resource files to the project default. 问题是库的输出文件夹配置错误:我必须将源文件和资源文件将其设置为项目默认值。 For the resources, I also had to remove the ** default exclusion filter. 对于资源,我还必须删除**默认排除过滤器。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM