Appcelerator - Android无法打包应用程序,重复文件 [英] Appcelerator - Android failed to package application, duplicate file

查看:226
本文介绍了Appcelerator - Android无法打包应用程序,重复文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



今天的障碍正在测试中我的应用程序的Facebook集成,我正在测试由工作室创建的香草项目。



当我去测试应用程序时,我得到以下错误:

  [错误]:无法打包应用程序:
[ERROR]:
[ERROR]:/ Users / auhjbe0 / Documents / Appcelerator_Studio_Workspace / CleanProject / build / android / res / drawable-hdpi-v4 / com_facebook_button_like_icon_selected.png:错误:重复的文件。
[ERROR]:/Users/auhjbe0/Documents/Appcelerator_Studio_Workspace/CleanProject/build/android/res/drawable-hdpi/com_facebook_button_like_icon_selected.png:原始版本在这里。版本限定符可能被暗示。

项目没什么特别之处,它只是一个基本设置,使用 tiapp。 xml 更改和 facebook.module 添加?



任何想法?

解决方案

看到这张票 https://jira.appcelerator.org/browse/MOD-2283 但即使它说它已经解决了...不是。您必须从github下载Facebook模块5.2.0并将其放在您的项目(模块)中。 Ti sdk分发中的facebook模块5.2.0版本失败。


Having a load of issues with Appcelerator at the moment, random error messages at every turn, but I know that comes with the territory.

Today's hurdle is testing out the Facebook integration for my app and I'm testing on a vanilla project created by the studio.

When I go to test the application I get the following error:

[ERROR] :  Failed to package application:
[ERROR] :  
[ERROR] :  /Users/auhjbe0/Documents/Appcelerator_Studio_Workspace/CleanProject/build/android/res/drawable-hdpi-v4/com_facebook_button_like_icon_selected.png: error: Duplicate file.
[ERROR] :  /Users/auhjbe0/Documents/Appcelerator_Studio_Workspace/CleanProject/build/android/res/drawable-hdpi/com_facebook_button_like_icon_selected.png: Original is here. The version qualifier may be implied.

Nothing special with the project, it's just a basic setup with the tiapp.xml changes and facebook.module added?

Any ideas?

解决方案

See this ticket https://jira.appcelerator.org/browse/MOD-2283 But even though it says it’s resolved…it’s not. You have to download the facebook module 5.2.0 from github and place it locally in your project (modules). The facebook module 5.2.0 in the Ti sdk distribution fails the build.

这篇关于Appcelerator - Android无法打包应用程序,重复文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆