Question

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?

Was it helpful?

Solution

Solution:

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top