Required module not found: ti.paint for android

You must Login before you can answer or comment on any questions.

Hi All,

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.

— asked 9 months ago by Radhika P
2 Comments
  • Hi Radhika P,

    May be your Ti.SDK version does not compile with that module so you have to check module with Ti.SDK compatibility and also Check your module version as given in module folder and set that in your tiapp.xml file and after that clean build and remove application from emulator.

    — commented 9 months ago by Nitin Chavda

  • Hi, i am using SDK version 2.1.1 and paint module of version 2.0.1. Will this be compatible.

    — commented 9 months ago by Radhika P

3 Answers

Hi Radhika

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.xml
It must go in the location shown here as specific-module-folder, then edit the tiapp.xml file 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.

— answered 9 months ago by Malcolm Hollingsworth
answer permalink
1 Comment
  • Hi, i did all the above , but still i am facing the same problem. Can you just please help me in figuring out this issue.

    — commented 9 months ago by Radhika P

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?

— answered 9 months ago by Aaron Saunders
answer permalink
2 Comments
  • (C:/Users/radhika.p/Desktop/New folder (3)/tiapp.jpg "tiapp")

    — commented 9 months ago by Radhika P

  • how can i post the screenshot. i can see the module in the configurator.

    — commented 9 months ago by Radhika P

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:
/modules/android/ti.paint
/modules/iphone/ti.paint

Your Answer

Think you can help? Login to answer this question!