When you try to deploy Blackberry 10 application on your simulator or device, you may get these type of errors many times before application is deployed successfully.
This issue is resolved in Blackberry 10.2 SDK. But for those who have not yet upgraded to 10.2 , Blackberry provides a workaround.
Workaround is to call blackberry-deploy with -uninstallApp parameter for the package that do not exists.
Here is an example
blackberry-deploy -uninstallApp {ip_address_of_device} -password {password_of_device} -package-fullname "packagethatdoesnotexist.nullpackagethatdoesnotexist"
Complete details are provided in following article on blackberry support forums.
http://supportforums.blackberry.com/t5/Testing-and-Deployment/Application-Deployment-may-hang-or-fail-after-OTA-Update-to-10-1/ta-p/2399861
Deployment Failed: Info: Failed to obtain QConn connection, sync disabledInfo: Sync not enabled, packaging full bar required for installationInfo: Sending request: INSTALL_AND_LAUNCHInfo: Action: Install and LaunchInfo: Debug native: onInfo: File size: 304312Info: Installing com.example.BB10TrackerSample.testDev_ackerSamplea7864132...Info: Processing 304312 bytesOR
Deployment Failed: Info: Attempt to use sync failed: Connection reset
Info: Sync not enabled, packaging full bar required for installation
Info: Sending request: INSTALL_AND_LAUNCH
Info: Action: Install and Launch
Info: Debug native: on
Info: File size: 304312
Info: Installing com.example.BB10TrackerSample.testDev_ackerSamplea7864132...
Info: Processing 304312 bytes
This issue is resolved in Blackberry 10.2 SDK. But for those who have not yet upgraded to 10.2 , Blackberry provides a workaround.
Workaround is to call blackberry-deploy with -uninstallApp parameter for the package that do not exists.
Here is an example
blackberry-deploy -uninstallApp {ip_address_of_device} -password {password_of_device} -package-fullname "packagethatdoesnotexist.nullpackagethatdoesnotexist"
Complete details are provided in following article on blackberry support forums.
http://supportforums.blackberry.com/t5/Testing-and-Deployment/Application-Deployment-may-hang-or-fail-after-OTA-Update-to-10-1/ta-p/2399861
Comments
Post a Comment
Share your wisdom