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: 93
Registered: ‎03-27-2013
My Device: Dev Alpha C,Z10 LE
My Carrier: China Unicom
Accepted Solution

abnormal bar-descriptor.xml when open it

[ Edited ]

Hi all,

 

When I open bar-descriptor.xml,it just show the content of the xml file.

It should display "Problems" and "Related Settings and Actions" sections.But now it just show the following content:

 

<?xml version="1.0" encoding="utf-8" standalone="no"?>
<!--
 
   Copyright (c) 2011, 2012, 2013 Research In Motion Limited.
 
   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at
 
   http://www.apache.org/licenses/LICENSE-2.0
 
   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.
 
-->
<qnx xmlns="http://www.qnx.com/schemas/application/1.0">

<!-- BlackBerry Tablet OS application descriptor file.

    Specifies parameters for identifying, installing, and launching native applications on BlackBerry Tablet OS.

-->


</qnx>

 

Does someone know how to solve it?

 

Thanks.

 

brad_qqq

Developer
Posts: 133
Registered: ‎05-10-2013
My Device: Blackberry Z10
My Carrier: -

Re: abnormal bar-descriptor.xml when open it

Try creating a new project (which will create a new bar-descriptor.xml file) and transferring your src code to it. It'll work, and it's what I would do since I don't know how to rebuild the bar-descriptor after it's been moved/deleted/corrupted. There is a way to create an empty one, but I don't know how to automatically populate it.

----------------------------------------
Remember to mark the thread as solved at the post that solved your problem, and if you like a post, like it!
Highlighted
Developer
Posts: 93
Registered: ‎03-27-2013
My Device: Dev Alpha C,Z10 LE
My Carrier: China Unicom

Re: abnormal bar-descriptor.xml when open it

@DrShavargo-Thanks for your help.And I find the solution.

In the bottom of the open window of bar-descriptor.xml,there are tabs.:

General,Application,Assets,Localization and Source.See the below pic:

bbsdk.png