When any bundle deploys in felix console it resolves all its package import via taking reference of api shared through other bundles using export-package property set in bundle. Where as when you work on same bundle using any editor (for example CRXDE ) you will not get those export api support here and you have to manually add/configure to your application as we normally do for other java application (and if you are using any build tool like Maven then API dependencies should be resolved through adding those dependencies in pom.xml)
I hope it clarifies your doubt. Let me know for more information.
Thanks pawan I think dats the correct answer for me