When I try to deploy my XAP to the Windows Phone, I get the "error 0x89731812" message.
Your device has a locked screen. Unfortunately, this is not documented anywhere, but there is a discussion with some hints on page 3.
Turn on your phone (if it isn't already)
Slide open
Type your password to unlock
Retry the deployment after unlocking your screen.
EDIT: My bad (well, that of my search engine). They are documented here. Thanks keyboardP!
As I Stumbled upon this old thread I might have found a solution for this Error code.
I've had the same message as I found out that my device wasn't recognised properly in device manager.
Did some research and saw that the driver wasn't picking the right USB-port as it was registered to one of the other usb ports.
After inserting the Phone to the first USB port where it was registered the Initial first time everything went ok!
If your phone charge is very low, it won't deploy the app too.
To deploy you must:
1.Connect your wp7 phone
2.Open Zune
3.Open the deployer
4.unlock your phone (As said before)
5.Deploy
It requires an unlocked phone (without restrictions) or an Interop Unlocked Phone, and the phone mustn't have low charge.
Related
Goodmorning,
I'm working quite hard on my own app. At this point I want to run it on my android (galaxy note 3) phone. Unfortunately Appcelerator studio doesn't detect my android phone; Windows does. I've tried it with the new Galaxy s7 of a friend, but same result.
Off course I searched the web like crazy and found several possible (old) answers, but none did the magic.
When I consult the log, there's no new info to be read!
Does anyone have a clue where to look? Looking forward to your answers…
Kind regards!
One thing you should check is if you have set up your phone for development. You can see the instructions here: http://developer.android.com/tools/device.html (... tap 7 times... - took me a while to discover!)
And the small obvious thing is in Appcecelerator Studio you may need to select "Refresh devices" when you try to run the project.
/John
When you say "Windows" detects it, what exactly do you mean? Does adb detect it?
If you run
adb devices
on the command line, does it report your device ID?
On my Mac, I run this and I can see my connected S4:
List of devices attached
9726ea90 device
I'm assuming that the Windows version of adb would output a similar report.
With all the Samsung phones I've debugged with, I always have to go to the notification bar and choose "connect as media device" (or something similar). The default connection mode does not work for debugging. And unfortunately, you have to do this every time you connect the device.
When I try to deploy app from Visual Studio to my Lumia 930 it´s starts to deploy but the timeout is received with following messages
Error 1 Error : DEP6100 : The following unexpected error occurred during boostrapping stage 'Connecting to the device':
SmartDeviceException - This operation returned because the timeout period expired. Hipstaroll.WindowsPhone
Error 2 Error : DEP6200 : Boostrapping 'Device' failed. Device cannot be found. This operation returned because the timeout period expired.
Hipstaroll.WindowsPhone
I have:
VS2013 update 4 (didn´t work before this update either)
tried with different USB-cables
tried with different computers and USB-ports
tried to remove USB-devices
Turned Hyper-V off
I can navigate with explorer in the phone and copy images, etc.
Windows Phone Power tool has the same problem
Tested to deploy new blank project with same result
Removed the device in the device manager
Turned everything off and on
Register and unregister device as developer phone
Try to develop app by using Windows Phone Application Deployment (8.1)
Is your phone registered for development? This might be the cause.
To unlock your device follow these steps.
Turn on your phone and unlock the phone screen.
On your phone, ensure that the date and time are correct.
Connect your phone to your computer by using the USB cable that came with your phone.
4.On your computer’s Start screen, switch to All apps view.
Under Windows Phone SDK 8.0, click Windows Phone Developer Registration.
Verify that the Status message displays Identified Windows Phone 8 device. Click the Register button to unlock the phone.
If your phone is already registered, the Status message indicates this and you see an Unregister button.
Click Register.
In the Sign In dialog box for your Microsoft account (formerly known as a Windows Live ID), enter the email address and password for your Microsoft account. Click Sign In.
If you’re a registered developer, be sure to use the Microsoft account associated with your developer account.
After your phone is successfully registered, the Status message displays Congratulations! You have successfully unlocked your Windows Phone.
I updated to developer preview of OS and now it works. Seems to be something strange with latest official OS version
I have deployed apps before to my window phone, but today when i try to deploy my new app something go wrong
the zune is running my phone is unlocked, my windows live account is right, and when i enter the developer registration this is happening
so i spent a long time looking for solution, but i didn't find one. did anybody had the same problem? what can cause this?
The phone's registration automatically expires after 1 year, that's probably the problem your facing. Though I'm not sure why you can't re-register it directly using the registration tool.
To solve this issue:
Go on the Windows Phone Dev Center website and log-in
Go the devices management page (click on your live id in the top right corner, then on "Phones")
Search your phone in the list and click on "Remove"
Launch the Developer Phone Registration tool to re-register your phone
I've started yesterday afternoon studying WP7, so be patient.
I've just created my first test app, registered as developer on AppHub, connected my phone with Zune, registered my phone in my AppHub profile (I can see it in my devices section) and compiled my app.
When I try to transfer my app into phone (using Application Deployment Tool as described here) I get an error that can be traslated as
Unable to connect to device because it's locked by pin
But my device has not any pin (or I don't know to have one) and it doesn't show anything on screen.
What could/should I do?
UPDATE:
Zune is running: if I try I get the error
I close Zune and run WPConnect: my device is connected but the error is the same
When deploying the app, make sure the phone screen is unlocked.
Additinal info: If you are developing from Desktop PC, sometimes connecting from front USB panel wont work.
You can't deploy while the screen lock is active, so try swiping up the lock screen before deploying.
I have joined the legions of people getting the error "The application could not be launched for debugging. Ensure that the target device screen is unlocked and that the application is installed."
My symptoms are different from usual, and the usual fixes don't work.
I can:
* deploy to the emulator
* run on the emulator
* debug on the emulator
* deploy on the phone
* run on the phone
I cannot:
* debug on the phone.
Attempts to start the debugger on the phone (F5 from VS) will recompile my app (if necessary), deploy it to the phone, and then raise the above error.
Yes, the "Build" and "Deploy" boxes are checked in Configuration Manager.
Yes, it has an appropriate SplashScreenImage.jpg
Yes, the phone is dev-unlocked, and pin-unlocked.
Update 1:
Unregistering and reregistering the device didn't help.
But the problem is device-specific -- it doesn't happen on a different phone.
If no other solution turns up, I'll probably reset the phone to factory original and start over.
Update 2:
I have two phones and two development systems. Three of the four combinations work great; it's only one phone on one dev system. Resetting the phone to factory condition didn't help.
Any ideas?
Have you tried using the WP Connect tool instead of using Zune?, I have had a few occasions where Zune does not see the phone properly or the device link registration was invalid (also try telling Zune to forget the particular device in the settings)
In any case using the WP connect tool (without Zune running) has usually worked for me in these cases.