Android failed to export application

I have problem when trying to sign my application in release mode from over two/three days now. I’ve tried everything which I find as an information in internet/stackoverflow and nothing worked for me. I’ve update my whole SDK, update proguard to 4.7 version, checked for jar files and conflict packages, but can’t find any solution. I have included library to my main project,but ’till now I did not have any problems with signing my application.

Any ideas what else I can try so I can solve this problem, because I’m still reading some information over internet and still can’t find any solution.

  • Android unit test for camera preview?
  • Installing USB driver for Nexus 4 (with KitKat) on Windows 8 64-bit - “no compatible software driver”
  • Android How do you get total memory RAM in the device?
  • Android BadTokenException when using a WebView Container
  • listview with arraylist,simple adapter in android
  • Does signing the app protect against tampering with the file?
  • P.S. I did not have problem with building debug version and running on device. The only problem I get is only when I try to sign my application on release mode and I get Failed to export application error.

    Related posts:

    buttons below expanding scrollview
    Android4.4 can not handle sms intent with “vnd.android-dir/mms-sms”
    Android make transition on activity recreate()
    Set layout_anchor at runtime on FloatingActionButton
    Finding and Android NSD-Service from a non-Android Device
    Android - Better alternative to expandable listview?
  • redirect to appstore or google play
  • How to get rid of camera freezes (SurfaceView)?
  • Radial gradient in XML with parent size
  • How can I capture a video recording on Android?
  • How to get application or package info from the apk file in the android application in the Android environment
  • Android paste text from clipboard after restarting the phone
  • 11 Solutions collect form web for “Android failed to export application”

    For me, the answer of Jmart was the good one.
    You can easily have rotten file name in your project.

    Whatever, I post an answer because, as Android-Droid I was stuck with the common message “Failed to export applicaiton”.

    But by trying to export my app without signature (see the screenshot under), this time it gaves me explanation on the error ! Whereas it don’t say anything when you sign with the wizard.

    enter image description here

    Hope it helps others like me !

    Believe it or not… I had the same problem (‘android failed to export..’ without any other indication/message). After many many hours I found the problem: I had a .jpg resource under the assets folder with some special characters (ilĂ­aco.jpg). Just removing the “offending” character and problem solved.

    You have some errors, I would say. Try to run the app on the virtual machine to see if it works. if it works, try to clean and rebuild the project and then export.. worked for me

    Have you created your own certificate to sign the app for release? Don’t use the debug certificate automatically generated by Eclipse because you won’t be able to sign your app for update later (especially if you export your project on another computer).

    If so, has your certificate expires? Do you provide the good passwords?

    http://simply-developing.blogspot.in/2013/08/eclipse-failing-during-android-export.html

    try this i searched all these questions and only the above link solved my problem, i had failed to export dialog without errors

    What I did was export unsigned it first then export signed. It worked, never knew what caused it though.

    For me “Clean” and then run “Export” again – solved it

    I have heard about using @+id in attribute like layout_below, layout_above etc.. can cause this problem check this out. use this only in android:id=”@+id/idid” cases.

    Make sure you have enough space on your OS hard drive!

    I have a small SSD for my Windows drive, and I use other drives for my applications/data. Which had plenty of space, my SSD had only a few Mb left on it (hadn’t done a clean in a while).

    Turns out Eclipse was writing temp files to AppData/Local and didn’t have enough space to store them – causing the ridiculously generic error “Failed to export application”

    I had some boostrap plugins that contained .swf files. They wore never used or requested.
    Only after I deleted them it worked.

    To be always sure: keep only image+css,html,js files and it will never give the weird error

    I had the same issue. Fixed it by running the application in emulator once – found the error (in my case it was looking for a asset sub folder)

    Fixed the error, ran it in Emulator successfully – then Exported the APK file.

    Hope this helps.

    Android Babe is a Google Android Fan, All about Android Phones, Android Wear, Android Dev and Android Games Apps and so on.