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: 124
Registered: ‎06-25-2013
My Device: Z10
My Carrier: none

Getting the error "Invoke-Target-Entry-Point-Ref' must reference a matching 'Entry-Point-Key' value"

HI, 

 

 I had created an app for Push Service. It is working fine when build from momentics IDE.

  But when i use command line to build the same project, it throws an error

 

"[ERROR] MANIFEST.MF: 'Invoke-Target-Entry-Point-Ref' must reference a matching 'Entry-Point-Key' value".

 

 


Why is this error ?

 

 

Regards,

Sanjeev

Highlighted
Developer
Posts: 285
Registered: ‎08-06-2010
My Device: Z10

Re: Getting the error "Invoke-Target-Entry-Point-Ref' must reference a matching 'Entry-Point-Key' value"

[ Edited ]

I just came across this today myself. The fix is to have an entry point id value in the invoke target of your bardescriptor.xml file.

 

    <entryPoint id="MyApp">
        <name>MyApp</name>
    </entryPoint>

  

    <invoke-target id="com.MyCompany.MyApp">
  		<invoke-target-type>application</invoke-target-type>
  		<invoke-target-name>MyApp</invoke-target-name>
  		<entry-point-id>MyApp</entry-point-id>      
		<icon>
			<image>icon.png</image>
		</icon>
    </invoke-target>

 



Follow me on twitter @RileyGB - https://twitter.com/RileyGB
View my BB10 OpenSource projects - https://github.com/RileyGB/BlackBerry10-Samples