原文:Unity3d 打包時報錯 CommandInvokationFailure: Unable to convert classes into dex format. See the Console for details.

今天打包帶有Android插件的unity d 項目是,報錯CommandInvokationFailure: Unable to convert classes into dex format. See the Console for details. 搜了一下說是因為出現了重復的class ,於是把在libs里面的class.jar干掉后發布正常。 ...

2014-09-27 23:02 1 8611 推薦指數:

查看詳情

unity調用安卓打包apk時的錯誤unable to convert classes into dex format

出現這種問題一般是由於有重復的文件所致,看下unity報的錯誤那些文件重復了,把重復的文件刪了即可 例如,將eclipse中的安卓工程bin\class導出jar包時,會將下面的.class文件打包,但選中的.class unity中已經含有了,把這些文件刪除就行了 ...

Fri Oct 02 22:11:00 CST 2015 0 2792
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM