简体   繁体   English

我的电晕SDK项目无法在Android上正确构建

[英]My corona sdk project won't build properly on Android

I have posted about this problem on the Corona forums, but was not able to get an answer there. 我已经在Corona论坛上发布了有关此问题的信息,但无法在那里找到答案。

http://forums.coronalabs.com/topic/29712-android-failure-install-parse-failed-certificate-encoding/ http://forums.coronalabs.com/topic/29712-android-failure-install-parse-failed-certificate-encoding/

Basically the problem is that my project runs fine in the simulator, but when I try to build for Android and transfer the apk, I get an error message saying "The application could not be installed." 基本上问题是我的项目在模拟器中可以正常运行,但是当我尝试为Android构建并传输apk时,出现一条错误消息,提示“无法安装该应用程序”。 This problem only occurs on my mac. 仅在我的Mac上会出现此问题。 When I build with a Windows 8 virtual machine, it builds fine and runs on my Nexus 7. Please check the link to the forum for some of the troubleshooting I have already done. 当我使用Windows 8虚拟机进行构建时,它可以正常运行并可以在Nexus 7上运行。请查看论坛的链接,以获取一些我已经完成的故障排除方法。

Notes: 笔记:

  • I am using Java 6, not 7 我正在使用Java 6,而不是7
  • Currently using the latest public build of Corona, but the problem has happened on earlier builds 当前使用的是最新的Corona公开版本,但该问题已在较早版本中发生
  • I can successfully build an Android app using the JDK 我可以使用JDK成功构建一个Android应用
  • I have a 13-inch, Mid 2010 Macbook Pro 我有一台13英寸的2010年中Macbook Pro
  • Same problem happens on my brother's Macbook Pro bought 2 years earlier 我哥哥两年前购买的Macbook Pro发生了同样的问题

该问题现在似乎已解决,我不确定这是Corona还是Java的较新版本,或者我们是否在代码中进行了更改。

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

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