Android :: How To Fix Error Generating Final Archive - Duplicate Entry
May 29, 2010
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
I am trying to add some updates to an already released application but something has happened with my workspace that prevents me from Running or Exporting the application. I keep getting the following code...
You think it would be an easy fix but I looked into the HDPI drawables folder and there were no doubles. I even went as far as to delete the entire folder and the error still appears. Anyone got any clever ideas?
CC [M] drivers/net/wireless/bcmdhd/wl_cfgp2p.o drivers/net/wireless/bcmdhd/wl_cfgp2p.c: In function 'wl_cfgp2p_act_frm_search': drivers/net/wireless/bcmdhd/wl_cfgp2p.c:769:31: error: array subscript is above array bounds [-Werror=array-bounds][code].....
I have 9 Favorites set up on my Incredible, 8 of them work perfectly (I have them fixed up so that when I choose the person, the entire address card comes up so I can choose to call, email, text or whatever), and the ninth (set up only to place a telephone call) used to work perfectly, now not so much.When I select the contact, I get a message that says "Call not sent, no valid number entered".I have looked at his address card, and all seems correct.I have not changed anything so really don't know what is going on.I thought maybe if I deleted this one contact and then re-added, it would fix it, but when I try to delete this one, the phone looks like it wants to delete the other 8 as well, and I really don't want to have to set this up again (actually, can't remember how I got them to show the whole address book entry).
when i am composing a text message, sometimes the box of the entry goes larger and goes back smaller, is there a way to increase the text entry box size, say, double tap on it to bring up a whole screen text entry area?
Suddenly my R file has stopped generating. It has deleted itself and won't come back. In eclipse, I have all the latest updates to the sdk and the plugging. Has this ever happened to anyone else before, how do you fix it?! I have tried restarting, cleaning the project, rebuilding, doing the Android->fix project properties.
I am trying to publish my first Android application, and therefore need to sign the app with a keystore. At first everything goes well. I type the following into the command prompt: keytool -genkey -v -keystore testKeystore.keystore -alias testKeystore -keyalg RSA -validity 10000. I answer the several questions that follow, but after the last question, I get the following error. keytool error: java.io.FileNotFoundException: testKeystore.keystore [Access is denied] Maybe I am doing some silly mistake, but I have followed several guides on the internet on how to make a keystore, and I thought that was all there was to it?
I'm trying to generate the MD5 Fingerprint I will use with the release of my application. I used Eclipse to Compile and Sign my application, which gave me a keystore file and a .apk file. Now i need to generate the MD5 for my MapViews. I tried using the cmd prompt to generate it, but everytime it states that no such file exists. Is there somewhere special i need to be storing the keystore so the keytool has access to it? Also, once i get the MD5 fingerprint, all i have to do is insert it and re-compile and sign my application (the same way i previously did it). Am i correct on that assumption? I've read through the developer docs and I'm still unclear on the whole process.
I renamed the package in the manifest from com.a to com.a.beta in order to upload a different version to the Android Market.
In the manifest I changed the referenced entities (services, activities etc.) to use the fully qualified name "com.a.X" instead of just ".X". Of course the code still references com.a.R, so there is lots of errors in Eclipse. My expectation would have been though that R.java will be regenerated in com.a.beta. But it is not generated at all.
After i created my project. The R file is not generating. I need to build the application to create that R file. After i add any image or string. It is not automatically adding in R file. I need to build another time to generate that code in R file. what is the reason?
I would like to be able to generate unique serial numbers for each Android device for use in unlocking an application. How could I do this? EDIT: The reason is I want to revamp a paid application and provide users who have paid for the old version, which will have a different package name, a way to obtain the full version by downloading an unlikable free version of the application. I would push an update to the old version that would generate and display the code that they could enter to turn the Free version into a fully functional version.
I'm working on an Android class that extends MapActivity. I have set the OnTouchListener and everything works okay for the first MotionEvent. After the first MotionEvent, the system stops either generating MotionEvents or receiving them or both.
Does anybody know what I have to do to keep receiving MotionEvents?
I am using ZipInputStream and BufferedOutputStream to decompress a file from a zip archive in Android 1.6. The code runs without exceptions, but when I check the existance of the file, I can't find it. I am just looking for the filename. Is there an application directory that stores this file? Do I need to specify a directory?
1. How do you programmatically generate key strokes? I found some tutorials where it says to use IWindowManager, but that doesn't exist anymore in 1.5. (And WindowManager doesn't provide any function to generate key strokes)
2. How do you programmatically select one item from a ListView? Is it possible to do it with the index of the list item (it's position in the list)
I'm creating a 2d game and have run into another problem. I use array lists for generating everything that has multiple instances, background images, foreground images, enemies, etc. The problem I have is if I choose to generate any more than a certain number of any given object I get an arrayindexoutofboundsexception even though the code works fine with lower numbers. For the background images that are larger, the number seems to be lower (about 40). for enemies, which are smaller, the limit is more (about 150). I don't believe I'm out of memory as I'm not getting that error.
generation code Y=0 last = 13
The above codes work if the variable is lower. But sends the error as soon as it goes above a certain number.
I've seen a lot of use of final for local primitives.
Presumable to indicate to the compiler that the value shouldn't be changed.
However, what's the implication of this on Dalvik?
I believe final local variables are usually placed on the heap for extended lifetime (for use in inner classes), so is their a runtime overhead rather than using simple locals (which use Dalvik registers)?
VillainROM 12.0.0 based on HTC OTA update WWE 2.1. Lots of stuff in the OP that wasn't in 11. Livewallpapers, Rosie config, Friendstream, News widget fixed, etc. [ROM] VillainROM 12.0.0 Final - WWE Android 2.1 by TeamVillain - xda-developers VillainROM Forums • View topic - VillainROM 12.0.0 FINAL WWE Android 2.1 Release
i have completed my First android application and i have deployed that application to different android based mobile phones which is working fine. my question to you is, is there iphone store like thing exists in android to upload your application by paying fee to android store or something like that. or nothing or should i start passing my application to end users directly? any help would be appreciated.
I'm trying to download .cbz and .cbr files from hotfile.com and I keep getting the message that these file formats are not supported by the phone. I also downloaded a comics viewer (ACV) and there should be a setting that enables .cbr support, but I can't find it. ACV opens .cbz files by default however. What's going on? Some help would be appreciated.
I generated a new android project in eclipse. I then copied all the files from chapter 3 in my book over to the project. After doing so the R.anything is not available and the resource file is missing. I try to clean the project and generate it but it isn't working. What I can do to fix this error?