App deployment failed, invalid pointer Windows 8 phone SDK - visual-studio-2012

I am using windows phone sdk 8 and visual studio 2012 in windows 8 pro. When i run my application it give this error that application deployment failed and emulator gets shut down. What is solution for that please tell me. Thanks

1- Press (HOME+W) and search for "turn windows features on or off"
2- deactivate the hyperV of ur system
3- apply and ur system will restart
4- activate hyperV again

Related

Setting up the Android Studio

[Here is the Screenshot] While setting up the Android studio, I can't run even the simple Application. when I click the run it shows to select the target device. but for devices, I can't select any device. It is still loading. What would be the reason?
Is there any version issue or Windows issue? I'm using Windows 11 and android-studio-2020.3.1.24-windows
There may be a problem with Windows 11. to solve that issue follow the steps
Go to the android studio app
Right-click the app
Go to Properties
Go to compatibility
Check the Run this program in compatibility mode
Select windows version 10 or 8 or 7
Then apply and ok
After these changes start the Android Studio App

Windows Mobile Emulator 10.0.10240.0 not launching the OS

I have Windows 10 Pro installed (Hyper-V activated) and Visual Studio Enterprise 2015 (with "Universal Windows App Development Tools" and "Windows 8.1 and Windows Phone 8.0/8.1 Tools" installed) . I can launch succesfully all Windows Phone 8.1 Emulators but if I launch Windows Mobile Emulator 10 that is what happens:
The Phone Emulator opens properly with the write "Loading...".
After a while appears the write "OS is starting...".
Finally (after 5-10 minutes) the write disappear without launching the OS, the emulator just stays open with the black screen.
Visual Studio doesn't give any error so I really don't know what is the problem.
I also tried to launch the emulator directly from Hyper-V (right click on the emulator->Connect and then Action->Start) but the window just stays black. It seems I can't load the OS.
Any suggestion would be appreciated.
Open your HyperV, Open Visual Switch Manager .
Find VisualSwitch related to the Emulator ,click on it .
In Connection Type ,set connection to Private network ,Then press OK and restart your PC .After restart do the same and change Connection Type to Internal network and then restart.
Then it should work ,I guess!

Run appxbundle on a simulator

I have a maybe a small problem.
My task is to test a windows 8.1 tablet app. I have no tablet here, so I installed the Visual Studio 2013 Express and the Windows Phone SDK.
If I start the "windows phone application deployment" and try to start the *.appxbundle file, I get an error
a packaging error prevented this application from installing
I sent this back to the developer, he means the app is made for tablets and have to be tested on tablets.
So my question:
Is it somehow possible to simulate windows 8.1 tablet on a windows 8.1 system?
How to install the .appxbundle file?
Thanks.
If you want to test the app in a tablet then there is no need of a Windows Phone SDK or any simulator. You can install the app in your Windows 8.1 pc/desktop, and it will be the same as it will be on a tablet, because a windows store app is common for tablet and pc.
And to install the .appxbundle you can refer to this link (from step 6).
Found a solution, install the app with windows power shell
add-appxpackage C:\myapp.appx

Windows phone 8.1 Emulator launching issue

While launching the sample application in windows phone 8.1 emulator I am getting this error.
**Error 1 Error : DEP6100 : The following unexpected error occurred during boostrapping stage 'Connecting to the device':
SmartDeviceException - App deployment failed. Please try again. AccelerometerCS.WindowsPhone
Error 2 Error : DEP6200 : Boostrapping 'Emulator 8.1 WVGA 4 inch 512MB' failed. Device cannot be found. App deployment failed. Please try again.
AccelerometerCS.WindowsPhone**
Any possible solutions?
Thanks in advance.
I have had the same problem and have found a solution that might work for you as well. Here is what I did:
close Visual Studio
open Hyper-V Manager
delete all Windows Phone Emulator VMs
in the Virtual Switch Manager (link is located in the navigation bar
on the right) delete all Windows Phone related virtual switches
open Visual Studio and try to deploy the application again (Visual
Studio will create a fresh virtual machine for you)
I hope that helps.
Based on a quick search and Sumesh Thomas's blog, you might be trying to deploy a Windows Phone 8.1 app to a device with older version of Windows Phone (probably 8.0).
That won't work. Windows Phone apps targeting Windows Phone 8.1 need that version of OS as a minimum requirement.
Also, another possibility is that there's a pending Windows Update reboot which is causing the issue when deploying to emulator. According to the provided link, getting the latest updates from Windows Update and rebooting your machine might help.

start windows phone application analysis

I finished a windows phone project. And try to do Debug->Start windows phone application analysis on visual studio 2012 (also 2013), but it doesn't work, and a dialog box pops up:
now I want to start windows phone application analysis on my project. how can I do this??
PS: I tried create new app from the windows phone template, it has the same error!
I had the same issue and alternatively i had error when opening .sap files too with :
Microsoft.Smartdevice.Connectivity.DeviceNotFoundException
This last error point me that you have to install SDK Update for Windows Phone 7.8 and everything work now.
Surprising that this prerequisite is not specified.

Resources