You don't want to do -rf RESOURCE_FOLDER, as it'll take any file (except .class) in there and just add it to the archive as is (which means you'll get all the non compiled resources in your zip archive).
resources.ap_ already contains your compiled app resources, so that's all you need. Xav On Wed, Sep 30, 2009 at 12:50 AM, Babyboo <handsomebo...@gmail.com> wrote: > > I have tried to write this command line to generate the unsigned > apk : > apkbuilder.bat %UNSIGNED_FILE_NAME% -u -z %RESOURCE_FOLDER%bin > \resources.ap_ -f %RESOURCE_FOLDER%bin\classes.dex -rf > %RESOURCE_FOLDER% > > but an Exception has occured with this message : > > [ java.util.zip.ZipException: duplicate entry: AndroidManifest.xml ] > > the RESOURCE_FOLDER folder has tree structure like this : > > ************************ > bin > + classes.dex > + resource.ap_ > res > AndroidManifest.xml > *************************** > I don't understand what happen. If you know about this, please let me > know how to resolve this problem... > > Thanks in advance. ^^ > > > > -- Xavier Ducrohet Android SDK Tech Lead Google Inc. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---