Error Generating Final Archive Java.io.eofexception
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Android APK won't generate when doing run up vote 6 down vote favorite 1 I have several android application and sample code I have downloaded/coded. All these are in my eclipse workspace. I have installed all the required plugins/images for android development on eclipse. The projects compile perfectly you you do Build (I get "Build Sucess!") and will generate an APK package when doing an Export signed/Unsigned. The problem is here: if I do run in either an emulator or connected device I get: Error generating final archive: java.io.EOFException With: Location : Unkown Type : Android Packaging Problem I am running openSUSE 12.1 with Eclipse 4.2 (tried also 3.5 but no luck) Latest ADT and android SDK Tried compiling for all android versions (1 to 16) Please help because I am tired or doing export and adb install to place the package on my device. android linux eclipse apk share|improve this question edited Feb 10 '14 at 15:44 Tshepang 4,6841059103 asked Jul 19 '12 at 16:32 user1538492 312 2 C:\Documents and Setting\User\Local Settings\Application Data\android\debug.keystore . delete this file and try again. –abbas.aniefa Jul 19 '12 at 16:35 If that doesn't resolve it, have you tried installing the apk manually rather than using dev tools? –Will Jul 19 '12 at 16:37 @abbas this fixed it! –user1538492 Jul 19 '12 at 16:55 @abbas save my day! is that a bug ? –DouO Jul 20 '12 at 9:13 i dont think its because of bug in your code. debug.keystore will be created by android automatically. –abbas.aniefa Jul 20 '12 at 14:22 add a co
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Android error: Error generating final archive: java.io.FileNotFoundException: up vote 2 down vote favorite I have been http://stackoverflow.com/questions/11565311/android-apk-wont-generate-when-doing-run having this problem on Eclipse lately. Whenever I build a project, this error comes up: Android error: Error generating final archive: java.io.FileNotFoundException: C:\Users\me\workspace\project\bin\resources.ap_ does not exist Android Packaging Problem. I have been searching the web, and I have found multiple answers; however, these do not seem to work. I have tried searching for a "debug.keystore" file, but have not found one. I have cleaned and built the project multiple times, and http://stackoverflow.com/questions/21653330/android-error-error-generating-final-archive-java-io-filenotfoundexception still have no luck. A quick answer to this problem would be appreciated. I can post any code or answer and questions you might have about the problem. java android eclipse software-packaging system.io.packaging share|improve this question edited Feb 9 '14 at 0:00 Vlad Schnakovszki 3,14032962 asked Feb 8 '14 at 23:56 javathunderman 393319 add a comment| 1 Answer 1 active oldest votes up vote 2 down vote accepted It seems like just closing and opening the project again refreshes the build error. Hopefully this will work for anyone else out there having this problem. share|improve this answer answered Mar 8 '14 at 17:14 javathunderman 393319 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up using Facebook Sign up using Email and Password Post as a guest Name Email Post as a guest Name Email discard By posting your answer, you agree to the privacy policy and terms of service. Not the answer you're looking for? Browse other questions tagged java android eclipse software-packaging system.io.packaging or ask your own question. asked 2 years ago viewed 2034 times active 2 years ago Related 929'Must Override a Superclass Method' Errors after importing a project into Eclipse1553“Debug certificate expired” error in Eclipse Android
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of http://stackoverflow.com/questions/2934185/how-to-fix-error-generating-final-archive-duplicate-entry-androidmanifest-xml this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up error generating How to fix “Error generating final archive: duplicate entry: AndroidManifest.xml” up vote 34 down vote favorite 7 I put two projects into Eclipse, called Project1 and Project2. Project1 is independent, but Project2 must be dependent to Project1. When I build the Project2, the error msg comes like this: Error generating final archive: duplicate entry: AndroidManifest.xml android android-manifest share|improve this question edited Jun 21 error generating final '10 at 15:53 skaffman 277k63617654 asked May 29 '10 at 7:19 pyleaf 181125 add a comment| 8 Answers 8 active oldest votes up vote 53 down vote I figured out what the problem was. I included a JAR file that had an AndroidManifest.xml file in it, which was conflicting with my own project's AndroidManifest.xml file. The solution in my instance was to rebuild the JAR file, making sure it excluded its own version of AndroidManifest.xml, then to re-include the new version of the JAR file into my project. You might need to clean the project after doing this. share|improve this answer answered Nov 27 '10 at 18:56 Matt Huggins 28.4k1899176 good to know, esp when having to include the project as a jar for test project - dtmilano.blogspot.com/2009/12/… –scottyab Mar 16 '11 at 16:53 3 How did you exclude AndroidManifest.xml when rebuilding the jar file? –Phillip Nov 23 '11 at 6:20 3 My solution was to delete the manifest from the original app. This caused an error but I did not care, exported it as jar, added the jar to the project, and th