I have an android application that I exported a signed version perfectly on March 17, 2013. Then on March 19, 2013 I updated the Facebook SDK and Android SDK Manager, then tried to export my a signed version of my app again. First mistake.
我有一个Android应用程序,我在2013年3月17日完美地导出了签名版本。然后在2013年3月19日我更新了Facebook SDK和Android SDK Manager,然后尝试再次导出我的应用程序的签名版本。第一个错误。
Now I've been experiencing one of the two issues ever since and I can't export a new signed version of my app to re-upload the Google Play store.
现在我遇到了两个问题之一,我无法导出我的应用程序的新签名版本以重新上传Google Play商店。
- Conversion to Dalvik format failed with error 1
- 转换为Dalvik格式失败,错误1
- or my Android Application Crashes when I'm exporting it.
- 或者我的Android应用程序在导出时崩溃了。
I've tried numerous solutions I've found on the web and still am experiencing no luck. I even removed and re-installed Eclipse, the ADT, and Facebook SDK. Still, I'm having issues.
我尝试了很多我在网上找到的解决方案,但仍然没有运气。我甚至删除并重新安装了Eclipse,ADT和Facebook SDK。不过,我有问题。
Eclipse actually crashes which is really odd. Any ideas?
Eclipse实际上崩溃了,这真的很奇怪。有任何想法吗?
Update: So, I am no longer getting the "Conversion to Dalvik format failed with error 1" any more on export of signed app. Eclipse just crashes on export of signed app. Any ideas? I have all the latest software: eclipse, facebook sdk, android sdk, etc. I'm running the latest version of Mac OS X.
更新:因此,我不再在签名应用程序的导出中获得“转换为Dalvik格式失败,错误1”。 Eclipse只是在签名应用程序的导出时崩溃。有任何想法吗?我有所有最新的软件:eclipse,facebook sdk,android sdk等。我正在运行最新版本的Mac OS X.
6 个解决方案
#1
76
So here's how I fixed the issue, I'm sure someone will have this issue again. what worked for me was turning off automatic build. Something so small. Thanks for the help!
所以这就是我如何解决问题,我相信有人会再次遇到这个问题。对我有用的是关闭自动构建。东西这么小。谢谢您的帮助!
*Also, the answers above worked for others.
*此外,上述答案适用于其他人。
#2
5
I also experienced this one. Try doing project->clean to your project and restart your eclipse workspace.
我也经历过这一次。尝试对项目执行project-> clean并重新启动eclipse工作区。
If it doesn't work read this thread it might help you.
如果它不起作用,请阅读此主题,它可能会对您有所帮助。
"Conversion to Dalvik format failed with error 1" -- on export only
“转换为Dalvik格式失败,错误1” - 仅在导出时
#3
4
Go to Project » Properties » Java Build Path » Libraries and remove all except the "Android X.Y", click OK.
转到项目»属性»Java构建路径»库并删除除“Android X.Y”之外的所有项目,单击“确定”。
Go to Project » Clean » Clean projects selected below » select your project and click OK.
转到项目»清洁»清除下面选择的项目»选择项目,然后单击“确定”。
#4
4
Disable project/build Automatically before export an apk.
在导出apk之前自动禁用项目/构建。
Exporting APK from eclipse (ADT) silently crashes
从eclipse(ADT)导出APK无声地崩溃
#5
0
this might be because there are libraries that have classes that have alike names or different android target version
这可能是因为有些库具有类似名称或不同的android目标版本的类
#6
0
For me, quitting Dropbox on Mac OS X Yosemite helped (I clicked on "Report" and the stacktrace mentioned a Dropbox thread).
对我来说,在Mac OS X Yosemite上退出Dropbox有帮助(我点击了“Report”,堆栈跟踪提到了一个Dropbox线程)。
#1
76
So here's how I fixed the issue, I'm sure someone will have this issue again. what worked for me was turning off automatic build. Something so small. Thanks for the help!
所以这就是我如何解决问题,我相信有人会再次遇到这个问题。对我有用的是关闭自动构建。东西这么小。谢谢您的帮助!
*Also, the answers above worked for others.
*此外,上述答案适用于其他人。
#2
5
I also experienced this one. Try doing project->clean to your project and restart your eclipse workspace.
我也经历过这一次。尝试对项目执行project-> clean并重新启动eclipse工作区。
If it doesn't work read this thread it might help you.
如果它不起作用,请阅读此主题,它可能会对您有所帮助。
"Conversion to Dalvik format failed with error 1" -- on export only
“转换为Dalvik格式失败,错误1” - 仅在导出时
#3
4
Go to Project » Properties » Java Build Path » Libraries and remove all except the "Android X.Y", click OK.
转到项目»属性»Java构建路径»库并删除除“Android X.Y”之外的所有项目,单击“确定”。
Go to Project » Clean » Clean projects selected below » select your project and click OK.
转到项目»清洁»清除下面选择的项目»选择项目,然后单击“确定”。
#4
4
Disable project/build Automatically before export an apk.
在导出apk之前自动禁用项目/构建。
Exporting APK from eclipse (ADT) silently crashes
从eclipse(ADT)导出APK无声地崩溃
#5
0
this might be because there are libraries that have classes that have alike names or different android target version
这可能是因为有些库具有类似名称或不同的android目标版本的类
#6
0
For me, quitting Dropbox on Mac OS X Yosemite helped (I clicked on "Report" and the stacktrace mentioned a Dropbox thread).
对我来说,在Mac OS X Yosemite上退出Dropbox有帮助(我点击了“Report”,堆栈跟踪提到了一个Dropbox线程)。