Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
Developer
Posts: 84
Registered: ‎04-22-2013
My Device: BB 10 Dev
My Carrier: Simulator

Re: Are there any other ways to install debug token other than using qde

[ Edited ]

--> Do you add your Promotions folder from within the app or at build time if it's at build time then this isn't a problem.

 

What if I added the folder outside of Momentics IDE, does this causes the problem?

For example, If i straight to the folder My Computer -> ndk-10.1.0-workspace-> HLB -> assets -> and paste a folder in it and then go into Momentics IDE -> refresh -> build -> run

 

barDes.png

 

 

Developer
Posts: 6,152
Registered: ‎07-05-2012
My Device: Playbook, Dev Alpha C, Z10 LE, Z30
My Carrier: Orange

Re: Are there any other ways to install debug token other than using qde

No, as long as you did the refresh it should be fine.

I think we are running out of ideas on what the problem could be, sorry.

If you've been helped click on Like Button, if you've been saved buy the app. Smiley Happy

Developer of stokLocker, Sympatico and Super Sentences.
Highlighted
Developer
Posts: 84
Registered: ‎04-22-2013
My Device: BB 10 Dev
My Carrier: Simulator

Re: Are there any other ways to install debug token other than using qde

After numerous tries based on all of the suggestions and googles, finally got it solved.

 

in my main.cpp, i need to change from this

 

int main(int argc, char **argv)

 

to 

 

Q_DECL_EXPORT int main(int argc, char **argv)

 

Anyway much thanks to everyone here who has helped meSmiley Happy Thanks alot.

Developer
Posts: 6,152
Registered: ‎07-05-2012
My Device: Playbook, Dev Alpha C, Z10 LE, Z30
My Carrier: Orange

Re: Are there any other ways to install debug token other than using qde

Glad you solved it.

I'm not surprised we didn't catch this one as the project template puts this in automatically now, so either you started your project quite a while ago or you didn't start your project from one of the templates. All of those who answered here would have either used a template or immediately placed it in their code when BlackBerry announced the change. :-)

Any way the point is it now works for you, and we now know another reason for a release build not to work, best of luck with your app.

If you've been helped click on Like Button, if you've been saved buy the app. Smiley Happy

Developer of stokLocker, Sympatico and Super Sentences.