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
Regular Contributor
Posts: 55
Registered: ‎04-04-2012
My Device: BB Device
My Carrier: VZW & ATT
Accepted Solution

The alx file has an invalid key or value

Hi All, 

We are deploying blackberry application. I complied different applications, one with blackberry jre 4.2 (for 4.2, 4.3 & 4.4 OS devices) and other application with blackberry jre 4.5 (for all 4.5 & above OS devices). 

 

I am getting this error on BES  "The alx file has an invalid key or value in [4.2.0,4.3.0,4.4.0)".

 

Can you guys please help me here to fix this error?

 

Belwo is the complete alx file content: 

-------------------------------------------

<loader version="1.0"> 
        <application id="TGEnterprise"> 
                <name > 
                        TGEnterprise
                </name> 
                <description > 
                        TGEnterprise
                </description> 
                <version > 
                        4.0.0 
                </version> 
                <vendor > 
                        TGEnterprise Inc 
                </vendor> 
                <copyright > 
                        Copyright (c) 2012 TGEnterprise Inc 
                </copyright> 

                <fileset Java="1.25"_blackberryVersion="[4.2.0,4.3.0,4.4.0)"> 
                        <directory > 
                                4.2.0 
                        </directory> 
                        <files > 
                                TGEnterprise.cod 

                        </files> 

                </fileset> 
                
                <fileset Java="1.54" _blackberryVersion="[4.5.0,)"> 
                        <directory > 
                                4.5.0 
                        </directory> 
                        <files > 
                                TGEnterprise.cod 

                        </files> 

                </fileset> 
                
        </application> 

</loader> 

 

-------------------------------------------


Ali

 

BlackBerry Development Advisor
Posts: 15,753
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: The alx file has an invalid key or value

There is no such thing as BlackBerry OS version 4.4.0.  I believe the _blackberryVersion should only have at most 2 versions listed, not three.

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
Highlighted
Regular Contributor
Posts: 55
Registered: ‎04-04-2012
My Device: BB Device
My Carrier: VZW & ATT

Re: The alx file has an invalid key or value

Thanks. It is working now.
First, there is no space between "1.25"_blackberryVersion.
Second, only except two values in [] brackets to define the range.