How To Compile Everything: Difference between revisions
Content added Content deleted
imported>Paulproteus (→C) |
imported>Geofft No edit summary |
||
Line 41: | Line 41: | ||
* Is there a <code>build.xml</code>? |
* Is there a <code>build.xml</code>? |
||
** Are there files with Android-y names? |
** Are there files with Android-y names? |
||
*** Install the Android utilities, then run <code>android update project</code> so that your paths to the Android SDK are set |
*** Install the Android utilities, then run <code>android update project --path .</code> so that your paths to the Android SDK are set. You'll probably need to specify the full path to the <code>android</code> command, like <code>~/Downloads/adt-bundle-something/sdk/tools/android update project --path .</code>. |
||
** |
*** If it tells you to use <code> |
||
*** Run <code>ant debug</code>, to make a debug build. (See the output of <code>ant</code> to see the list of options.) |
|||
*** You can try using <code>ant install</code> to run it on the currently-running simulator, or the currently-plugged in device. You might have more luck with the <code>adb</code> command directly, though. |
|||
** Run <code>ant</code>, which should either work or give you a list of options. <code>ant build</code> might be the option that you want. |
|||
* Is there a <code>pom.xml</code>? |
* Is there a <code>pom.xml</code>? |
||
** Curse at Maven a bit, then run <code>mvn compile</code> and hope for the best |
** Curse at Maven a bit, then run <code>mvn compile</code> and hope for the best |