Skip to content

Configuring Intellij

moxie0 edited this page Jul 17, 2012 · 1 revision

IntelliJ Setup (11.1 CE)

  • Extract tar.gz into a different directory
  • Start IntelliJ and select 'Create new project'
  • Select 'Create project from existing sources', click next.
  • Set 'project files location' to your RedPhone directory, click next.
  • Source files should be detected automatically in RedPhone/src, click next.
  • 3 jar files are automatically detected as libraries, click next.
  • Click next again to approve default module structure.
  • Android framework is detected, click finish to complete project creation.
  • Select 'Project Structure' from File menu
  • Select Modules and click '+' to create a new module.
  • Select 'Create module from existing sources' and choose the 'library' directory within the ActionBarSherlock project, click next.
  • Two project root source directories are detected. Deselect the test directory and click next.
  • Click next again to approve the automatically detected library dependencies.
  • Change the name of the newly suggested module to 'ABS' and click next.
  • Click finish.
  • Add the 'ABS' module to the dependencies of the 'RedPhone' module.
  • Add the 'libs' library as a dependency of the 'ABS' module.
  • Set the project SDK and both module SDKs to 'Android 4.0'
  • Select the 'ABS' module and run 'Make' from the Build menu.
  • You can now compile and run the RedPhone module.

Clone this wiki locally