Application Type: mobile Titanium SDK: 3.1.0.GA Device: Android Emulator, Google API 4.1 Host Operating System: Mac OSX 10.8.4
Hello gurus, Perhaps I just need more coffee... May I trouble you for a nudge in the right direction regarding module installs? It would be truly appreciated. :D
Starting with the error and going back (I also get a nice alert in the emulator saying that the module cannot be found):
... [ERROR][TiExceptionHandler( 539)] (main) [109,1587] ----- Titanium Javascript Runtime Error ----- [ERROR][TiExceptionHandler( 539)] (main) [1,1588] - In ti:/module.js:279,9 [ERROR][TiExceptionHandler( 539)] (main) [2,1590] - Message: Uncaught Error: Requested module not found: ti.barcode [ERROR][TiExceptionHandler( 539)] (main) [1,1591] - Source: throw new Error("Requested module not found: " + request); ...Here's the code in my app that's triggering the error:
var TiBarcode = require("ti.barcode");I added this to my tiapp.xml, replacing "<modules/>" (I can also select the installed module with the Overview GUI):
<modules> <module platform="android" version="2.3.4">ti.barcode</module> </modules>My installed module folder structure looks like this:
/users/myusername/Library/Application Support/Titanium/modules/android/ti.barcode/2.3.4/(all the files like timodule.xml)I've also tried my app folder like this before that (only installing in one place at a time):
/users/myusername/Documents/Titanium_Studio_Workspace/my_app_project/modules/android/ti.barcode/2.3.4/(all the files like timodule.xml)Any thoughts on what I'm doing wrong? I'm also having the same exact issue with the com.mirasense.scanditsdk module, so I'm guessing it's me and not the module(s). Am I using too new of an API or something?
Thanks much for taking a look. :D