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

Adobe AIR Development

Posts: 31
Registered: ‎01-20-2011
My Device: Torch 9800
My Carrier: Bell

Re: Has anyone been able to get debug tokens working?

Have you tried leaving the publisher element in blackberry-tablet.xml?

New Developer
Posts: 16
Registered: ‎04-25-2011
My Device: Playbook
My Carrier: Other

Re: Has anyone been able to get debug tokens working?

[ Edited ]

I was in your shoe previously and I totally understand your situation, but finally i went through the hurdle by doing : 


1. rebuild the bar in -devmode

2. do the debug token signing thing 

3. update your manifest with the information you get from the debug token process (-listManifest or something), like authorID etc etc

4. upload the token (.bar file) to your simulator

5. install the bar file to your simulator (make sure it's packaged with -devMode)


that's what I can remember

Sliding Puzzle Playbook Game - http://bit.ly/hgvZIG
Posts: 1
Registered: ‎04-30-2011
My Device: Playbook developer
My Carrier: -

Re: Has anyone been able to get debug tokens working?


I feel the pain as well...I've tried all the suggestions which helped resolve the authorId issue but still, when deploying I get the following:


result::failure 500 cannot determine Package-Id


I've left the original value for 'Package-Id' that was in the manifest ('test' prefix) as well as substituting it with the value found in the debug token manifest.


I just don't understand where these values should be coming from. If anyone can provide some insight on what to look for (and edit) in these manifests when deploying, that would be awesome.






New Contributor
Posts: 2
Registered: ‎11-06-2011
My Device: Blackberry Playbook
My Carrier: N/A

Re: Has anyone been able to get debug tokens working?

I figured out the root of the problems, include the following when packaging "-debugToken ${CERT_DIR}/debugFiles/debugToken.bar" I am using ant so here is my target


<target name="package" depends="compile, certificate">
	    <echo>Packaging Playbook App...</echo>
        <exec executable="${BLACKBERRY_PACKAGER}" failonerror="true">
            <arg line="-package ${RELEASE_DIR}/${APP_NAME}.${RELEASE_EXTENSION} build/${APP_NAME}-app.xml"/>
            <arg line="-devMode" />
			<arg line="-debugToken ${CERT_DIR}/debugFiles/debugToken.bar" />
			<arg line="-noAirValidation" />
			<!-- <arg line="-flexsdk ${FLEX_HOME}" /> -->
			<arg value="-C"/>
			<arg value="${BUILD_DIR}"/>
            <!-- Add folders to be bundled in the AIR file here -->
            <arg line="build/${APP_NAME}.swf" />
            <arg line="build/${APP_NAME}-bbconfig.xml" />
            <arg line="build/levels" />
            <arg line="build/assets" />
            <!-- <arg line="-publisher ${CERT_ORG_NAME}" /> -->