Windows phone 8.1 Emulator launching issue - emulation

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.

Related

Getting Android Studio AVD To Work With Mac Mini M1

I'm having trouble getting my emulator to work on my m1 mac. Currently, I am waiting on my physical android phone to arrive so I have to use an emulator for the moment. I have looked at the official google repo (https://github.com/google/android-emulator-m1-preview) for the m1 preview and I noticed it said "Support for downloading the M1-based emulator was added to SDK Manager, so it's not necessary to go to the Github releases page to download a standalone .app anymore. In AVD Manager go to the Other Images tab as by default it doesn't show the ARM64 images." However, I can't seem to find which SDK to download in the SDK manager as every time I attempt to cold boot a virtual device it simply returns the error "Could Not Start AVD".
Sorry if this has been asked before. Couldn't seem to find any posts about it.
So it took some time but I figured it out. In the updated Android Studio you have to create a new virtual device for ARM based machines. Once you select your new device and you get to what android release you would like to run, hit the "other" column. Now you have a list of some of the ARM based Virtual Devices.
Here is a link to a post I found that helped:
Android Studio - How Can I Make an AVD With ARM Instead of HAXM?
Android Studio Dolphin, Virtual Device Manager, now includes arm64a-v8a for Tiramisu API level 33, which works well for M1 mac.

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

App deployment failed, invalid pointer Windows 8 phone SDK

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

Windows Phone 8 Emulator doesn't connect to internet in Windows 8.1

Previously I was using Visual Studio 2012 (including Update 2) with Windows Phone SDK 8.0 in Windows 8. Everything was fine and emulator connected to internet as expected without any additional settings.
But later in same machine I installed Windows 8.1 and set up same environment with Visual Studio 2012 (including Update 2 and 3) with Windows Phone SDK 8.0. Only additional thing was Visual Studio 2012 Update 3 as it is required in Windows 8.1
Now my Windows Phone 8 doesn't connect to internet. It doesn't give any error messages and just doesn't load any web page in mobile internet explorer. I'm using mobile broadband dongle to connect to internet.
There are several discussion regarding internet issue in wp8 emulator but non of them talk about this specific issue comes with Windows 8.1
Is there anyone who had same problem and solved it?
Most probably the bridged connections created by Hyper-V got removed/changed. If suitable I would suggest you remove the WP 8.0 SDK and then install it again and see if it solved the issue.
Optionally you can try to fiddle with the 'Virtual newtork...' adapters in Hyper-V to fix this, but I'm not help there as I didn't manage to solve it that way.
Cheers,
Manuel

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