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

问题描述

目前 Appcelerator 有很多问题,每次都会出现随机错误消息,但我知道这与领域有关.

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

今天的障碍是为我的应用测试 Facebook 集成,我正在测试由工作室创建的原版项目.

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.

该项目没有什么特别之处,它只是一个基本设置,其中 tiapp.xml 更改并添加了 facebook.module?

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

有什么想法吗?

推荐答案

查看此票 https://jira.appcelerator.org/browse/MOD-2283 但即使它说它已经解决了......事实并非如此.您必须从 github 下载 facebook 模块 5.2.0 并将其本地放置在您的项目(模块)中.Ti sdk 发行版中的 facebook 模块 5.2.0 构建失败.

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 无法打包应用程序,重复文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-20 15:28