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. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Testing and Deployment

Reply
Contributor
salmanali2074
Posts: 28
Registered: ‎04-04-2012
My Carrier: 2144901218
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

 

Please use plain text.
Administrator
MSohm
Posts: 12,957
Registered: ‎07-09-2008
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.
Found a bug? Report it using the Issue Tracker
Please use plain text.
Contributor
salmanali2074
Posts: 28
Registered: ‎04-04-2012
My Carrier: 2144901218

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.
Please use plain text.