"android create project" creates a project directory tree that includes an ant build.xml file with a "dex" target.
On Oct 12, 6:47 am, fatima <[email protected]> wrote: > Thank you very much that the response.Excuse me if I get your time.I > run this command but gives this error message : > F:\chat>ant dex > Buildfile: build.xml > > BUILD FAILED > Target "dex" does not exist in the project "chat" > > How I can create Target "dex"? in my android sdk، Both aapt.exe and > dexdump.exe are available. > > On Oct 11, 4:43 pm, jotobjects <[email protected]> wrote: > > > It does seem like the dx command "help" may be out of date and it is > > impossible to decipher anyway. > > > I had more luck with using dexdump directly (see the platforms/.../ > > tools directory). > > > The "ant dex" target creates the classes.dex file (the functionality > > is hidden inside ant tasks so no luck just reading the ant script). > > > On Oct 11, 3:56 am, ssfss <[email protected]> wrote: > > > > Hi. I cant convert my .class files to .dx file. I dont undrestant dx –help > > > it is very Confusing= > > > ” dx –dex [--debug] [--verbose] [--positions=] [--no-locals] > > > [--no-optimize] [--statistics] [--[no-]optimize-list=] [--no-strict] > > > [--keep-classes] [--output=] [--dump-to=] [--dump-width=] > > > [--dump-method=[*]] [--verbose-dump] [--no-files] [--core-library] > > > [.class | .{zip,jar,apk} | ] … > > > Convert a set of classfiles into a dex file, optionally embedded in a > > > jar/zip. Output name must end with one of: .dex .jar .zip .apk. Positions > > > options: none, important, lines. > > > ” > > > what’s “debug” “verbose”…what I Write Instead? > > > > I write your command line in cmd : > > > dx –dex –output=classes.dex –locals=full –positions=lines jsdt.jar > > > > but it says : unknown option: –locals=full > > > > and again i tried to this cmd : dx –verbose-dump –dex > > > –dump-to=myclass.dump > > > MainApplet.class > > > but says java.lang.RuntimeException: MainApplet.class: file not found > > > While there > > > > Are you can explain about the detailes parameters that I know how to use > > > dx? > > > > thanks > > > > -- > > > fatemeh nakhaie --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~----------~----~----~----~------~----~------~--~---

