Hi, I am developing small android module. I already build small android module and its working fine. Now when create small hello word module. I build it without any error. And I tried to use this module into simple android native application. in tiapp.xml I added module
<module version="0.1">com.example.demomodule</module>and in app.js
var demomodule = require('com.example.demomodule');But its giving me error requested module not found... I create this module and native application with titanium sdk version 2.0.2.GA. I want to remove this module not found error. location of error [362,8] ti:/module.js... Need Help.... Thank you......
2 Answers
Accepted Answer
First of all check the id value of your module in your main module class.that must be same i.e. com.example.demomodule.
If works,grt else give some more details over here,so that can help you.
Thanks.
HI, check the version and module Id, those are correct and also specifying platform in tiapp.xml is preferred.
Your Answer
Think you can help? Login to answer this question!