blackberry-webworksblackberry-playbookblackberry-10

How to deploy an app with a debug token on blackberry playbook?


I cant deploy an unsigned bar to my playbook device , because the of : failure 881 application author does not match debug token author. How can I fix this ? Ive installed a debug token with bb10 sdk, so on my device, in my Security >> Development Mode tab I have: Debug Token ....... Installed Valid ............ Yes Author............ - Expiration Thu Jan 17 2013 04:19:43 PM

I`ve tryed to deploy like 2 times with/without tags

config.xml

<?xml version="1.0" encoding="UTF-8"?>
<widget xmlns="http://www.w3.org/ns/widgets"
xmlns:rim="http://www.blackberry.com/ns/widgets"
version="1.0.0.0"
>

<name>AppDev2.0</name>
<author>-</author> <!-- and without <></> and still pops me the failure 881 author problem -->
<icon src="assets/icon.png"/>

<content src="index.html"/>

<rim:permissions>
    <rim:permit>access_location_services</rim:permit>
</rim:permissions>

<!-- for flickr search data (json) -->
<access uri="http://api.flickr.com" />
<!-- for flickr images from farm1. to farm9.  -->
<access uri="http://staticflickr.com/" subdomains="true" />

<!-- for google image search data (json) -->
<access uri="https://ajax.googleapis.com" />
<!-- for google images from t0. to t3. -->
<access uri="http://gstatic.com" subdomains="true"/>

<!-- for weather data (xml) from free. and icons from www. -->
<access uri="http://worldweatheronline.com/" subdomains="true"/>

<!-- used to create dialogs (location-details.js, splash.js, saved-locations.js-->
<feature id="blackberry.ui.dialog"/>
<!-- to enable the application to invoke the browser -->
<feature id="blackberry.invoke"/>
<!-- to trap the onswipedown event -->
<feature id="blackberry.app"/>

</widget>

Solution

  • I had similar issue. and it was not an "author" problem : I was trying to deploy in debug mode and the debugToken was just not installed on the device.

    The debugToken must be on the device so that the deploy can work. You can upload the debugToken with :

    blackberry-deploy -installDebugToken debugtoken.bar -device 169.254.0.1 -password 
    

    hope this helps :)