Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

error exporting signed apk - Dalvik format failed with error 1

I know that there are a lot of similar questions, but I cannot really fix it. I've lost a week and I'm still at square one.

I'm trying to export a very basic app that perform a login on Facebook. The code is the same code as in the sample. It works in debug but exporting it returns the error Dalvik format failed with error 1

If I remove the reference and create a blank app, everything works. If I add the reference to the Facebook sdk, it chrashes. I've checked my references, paths, cleaned all, rebooted the machine. Nothing works! I'm not using proguard. I've installed Java 6. I'm on win 8 64 bit.

like image 222
Davide.77 Avatar asked May 17 '26 01:05

Davide.77


1 Answers

My problem was solved by doing this :

Uncheck Project -> Build Automatically

Now export your apk. It should work without any problem.

like image 130
Vipul Purohit Avatar answered May 18 '26 20:05

Vipul Purohit



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!