Alloy project showing deleted widget

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

Hi, I created a new alloy project following "http://projects.appcelerator.com/alloy/docs/Alloy-bootstrap/index.html" link. I was able to run it. Then i deleted this widget from my "app" folder, cleaned the project and did a build again. I can still see the widget in my app when i run iteven though its not there in the app folder. I do not see it in my app folder but its there in the resources folder. Do i need to manually delete widget from both app and resources folder?

Thanks Amit

— asked 8 months ago by Amit Sood
4 Comments
  • What widget? Was it one you created? If you do an alloy compile, does it go away?

    — commented 8 months ago by Aaron Saunders

  • No it was the book search one that's mentioned in the "http://projects.appcelerator.com/alloy/docs/Alloy-bootstrap/index.html" link.

    — commented 8 months ago by Amit Sood

  • what version of alloy are you using?

    — commented 8 months ago by Aaron Saunders

  • Show 1 more comment

1 Answer

Accepted Answer

Alloy is probably pulling it in automatically based on your dependencies in your app/config.json file. Delete the widget in there as well and you should be rid of it.

— answered 8 months ago by Tony Lukasavage
answer permalink
7 Comments
  • Yeah i have done that as well but for some reason it's still pulling it in. This is how my config.json looks. There's only 1 widget i m pulling in here which i have created for facebook. That's it

    { "global": {}, "env:development": {}, "env:test": {}, "env:production": {}, "os:ios": {}, "os:android": {}, "dependencies": { "com.facebook.widget": "1.0" }

    }

    — commented 8 months ago by Amit Sood

  • You don't by chance have the this widget as a dependency of com.facebook.widget in its widget.json do you?

    — commented 8 months ago by Tony Lukasavage

  • no not at all. that's my widget.json


    { "id": "com.facebook.widget", "name": "com.facebook.widget", "description" : "", "author": "", "version": "1.0", "copyright":"Copyright (c) 2012", "license":"Public Domain", "min-alloy-version": "1.0", "min-titanium-version":"2.1", "tags":"", "platforms":"android,ios,mobileweb"

    }

    — commented 8 months ago by Amit Sood

  • Show 4 more comments

Your Answer

Think you can help? Login to answer this question!