Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


You can install a module for a single project, or that all Studio projects can use. Once you've installed the module, you then configure it for use in your project (see Configuring your app to use a module).

To install a module:

  1. In Studio, select Help > Install Mobile Module.
  2. In the Module dialog, enter the URL of the module's ZIP file, or click Browse and locate the ZIP file.
  3. For Output Location select one of the following:
    • To install the module so it's available to all projects, select Titanium SDK. See Module install locations.
    • To install the module so its available to a single project, select Mobile App Project, and then choose the desired project from the pop-up menu.
    • To install the module to a folder location, select Location and then browse to the desired output folder.
  4. Click OK.


Operating System

Local Path


~/Library/Application Support/Titanium

Windows 7


Windows XP

C:\Documents and Settings\All Users\Application Data\Titanium


On macOS, the ~/Library folder is hidden by default. To permanently show it, run the following command from a terminal:

chflags nohidden ~/Library/

 To open it once, run the following command from a terminal:

open ~/Library


  1. In Studio, open your project and double-click its tiapp.xml file.
  2. Click the Overview tab in the bottom-left of the Editor window. 
  3. In the Modules section, click the green add ( + ) button.
  4. Select the module you want to add and click OK.

    Note the version numbers listed at the bottom of the dialog. See Selecting a module version.
  5. Save your changes to tiapp.xml.


  1. Install the module as described above.

  2. Require the module in your project with the following code:

    Code Block
    // ES5
    var Admob = require('ti.admob');
    // ES6+
    // import Admob from 'ti.admob';
  3. You can now call methods on the admob singleton object:

    Code Block
    var adview = Admob.createView({
        top: 0,
        testing: true,
        adBackgroundColor: 'black',
        primaryTextColor: 'blue',
        secondaryTextColor: 'green',
        publisherId: '<< your ID>>' // Replace this string with your own API key!