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

Testing and Deployment

Reply
New Developer
kaps92
Posts: 10
Registered: ‎01-08-2014
My Device: z10
My Carrier: Vodafone

Re: "Unable to release application on target" when building Device-Release

[ Edited ]

Yesterday I exported my project.

I tryed only with my headless app and after the install with tools the result is the same.

Obviously (momentics was closed) the error message doesn't appear, but the problems with the app were the same.

The app ran like installing in Device-Release mode.

 

For example my headless app starts, but the service is froze. The first instruction activates the geolocalization.

In Device-Debug the localization icon appears and the app run well.

In Device-Release the icon doesn't appear and anything works.

 

In fact, I uploaded my previous version on the bbworld because it worked well in Debug mode. I received a lot of mail for issues and now I understand that the problem is this.

 

Now, I've tryed with your method, but the result is the same. The app doesn't work well.

Please use plain text.
Administrator
MSohm
Posts: 14,521
Registered: ‎07-09-2008
My Device: BlackBerry Z30, BlackBerry PlayBook
My Carrier: Bell

Re: "Unable to release application on target" when building Device-Release

[ Edited ]

Can you try with one of the template applications?

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Please use plain text.
New Developer
kaps92
Posts: 10
Registered: ‎01-08-2014
My Device: z10
My Carrier: Vodafone

Re: "Unable to release application on target" when building Device-Release

Runs, but this is not the point of the topic, because when the error message appear the app starts too.

When I install, momentics doesnt's prompt messages, but the app works bad.

Please use plain text.
Administrator
MSohm
Posts: 14,521
Registered: ‎07-09-2008
My Device: BlackBerry Z30, BlackBerry PlayBook
My Carrier: Bell

Re: "Unable to release application on target" when building Device-Release

The fact that the application crashes after startup would not be related the "Unable to release application on target" error.  I recommend starting a new thread in the native forum for help with that.

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Please use plain text.
Developer
nemory
Posts: 217
Registered: ‎05-21-2012
My Device: BlackBerry RED Z10
My Carrier: WiFi

Re: "Unable to release application on target" when building Device-Release

I am also getting this error. Exact same issue (every issue he said is the same as mine) I see in jira it's still unresolved. Please BlackBerry could you do more samples please? I am using the headlessui and headlesservice samples.

Please use plain text.
Administrator
MSohm
Posts: 14,521
Registered: ‎07-09-2008
My Device: BlackBerry Z30, BlackBerry PlayBook
My Carrier: Bell

Re: "Unable to release application on target" when building Device-Release

Our development team has fixed this issue, which will be released in the next version of Momentics.  Have you tried to use the workaround listed in Issue Tracker?

 

Workaround to install a release build: 

Right click on your project and choose Export. 
Expand BlackBerry and choose Release Build 
Go through the wizard to create the BAR file in your workspace*. 
Right click on the BAR file in your workspace and choose BlackBerry Tools -> Install

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Please use plain text.
Visitor
dmahoney
Posts: 1
Registered: ‎05-08-2014
My Device: z30
My Carrier: Bell

Re: "Unable to release application on target" when building Device-Release

Unfortunately the workaround listed doesn't work. I can install the BAR file to my device, but the headless portion of the app still does not function.

 

Is there a estimated release date for the next Momentics release?

Please use plain text.
Administrator
MSohm
Posts: 14,521
Registered: ‎07-09-2008
My Device: BlackBerry Z30, BlackBerry PlayBook
My Carrier: Bell

Re: "Unable to release application on target" when building Device-Release

The next release is coming in May, so not far away.  :smileyhappy:

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker
Please use plain text.