Search code examples
javascriptandroidtitanium-mobiletitanium-alloytitanium-modules

Titanium Module (Android) - "Requested module not found"


I'm creating a module and adding it to an application

application structure: enter image description here

module structure:

enter image description here

access code module:

var module = require('ar.com.module');
    $.label.text = module.example();

error:

enter image description here

steps to run application:

  1. include module in app
  2. clean and build app
  3. run to device

    • Titanium SDK version: 3.2.0.GA
    • NDK Android: r8
    • Android plataform (module): android-10

solution to this problem?


Solution

  • Solution:

    to run the module in a device must be configured deploy-type = "test" in tiapp.xml and install gperf add to Path.