I was trying to implement Paint module for android application, i have my module in the project directory itself under modules folder. I have also added the modules under tiapp.xml. when i try to run this project after initializing the paint module in app.js i am getting an error saying required module not found:ti.paint.
Please help me out in fixing this issue.
I used to get this alot, try closing down any simulators, use Project > Clean and re-run the simulator. Any time you add modules do this again.
Also 'just in case' your module is in the wrong place.
appname --modules ----android ------specific-module-folder ----iphone ------specific-module-folder --resources ----app.js --ti.app.xmlIt must go in the location shown here as
specific-module-folder, then edit the
tiapp.xmlfile in studio, and on the top right of the screen there is a list of installed modules - press the green plus button and your modules will show up here, select it - and run the clean method from above.
Hope this helps.
can you post a screen shot of your tiapp.xml? have you used the tiapp.xml configurator? Do you you see the module listed next to ti.cloud?
I had this same problem. I fixed it by changing the platform strings to all lowercase in tiapp.xml:
<modules> <module platform="iphone">ti.paint</module> <module platform="android">ti.paint</module> </modules>I then had to rename the folders to all lowercase, too:
Think you can help? Login to answer this question!