[Q] Windows Phone emulator not started from VS - Windows Phone 8 Q&A, Help & Troubleshooting

Hi.
I have a little problem, WindowsPhone emulator not started from VisualStudio.
When i start debuging the emulator displays with the message 'Windows Phone is Starting'. Times out after about 5 minutes with the following error messages:
Error: DEP6100: The following unexpected error occurred during bootstrapping stage 'Connection to the device':
Error: DEP6200: Bootstrapping Emulator 8.1 WVGA 4 inch(RU)' failed. Device cannot be found. App deployment failed. Please try again.
If run from Hyper-V Manager, it's works fine.
I tried:
- Reinstalled Visual Studio (after removal i cleaning system by CCleaner)
- Reinstalled Hiper-V
- Download and install the Windows Update, VS updates
- Removes all virtual machines in the Hiper-V, and network interfaces
- Turn off the firewall, no antivirals, Windows Defender is turned off (but i haven't viruses)
- Turned off all network interfaces except the Windows Phone Emulator Internal Switch (VS creates when starting the emulator)
- With routes 169.254.xx all right
Help please...
Sorry for my bad english.

eljira said:
Hi.
I have a little problem, WindowsPhone emulator not started from VisualStudio.
When i start debuging the emulator displays with the message 'Windows Phone is Starting'. Times out after about 5 minutes with the following error messages:
Error: DEP6100: The following unexpected error occurred during bootstrapping stage 'Connection to the device':
Error: DEP6200: Bootstrapping Emulator 8.1 WVGA 4 inch(RU)' failed. Device cannot be found. App deployment failed. Please try again.
If run from Hyper-V Manager, it's works fine.
I tried:
- Reinstalled Visual Studio (after removal i cleaning system by CCleaner)
- Reinstalled Hiper-V
- Download and install the Windows Update, VS updates
- Removes all virtual machines in the Hiper-V, and network interfaces
- Turn off the firewall, no antivirals, Windows Defender is turned off (but i haven't viruses)
- Turned off all network interfaces except the Windows Phone Emulator Internal Switch (VS creates when starting the emulator)
- With routes 169.254.xx all right
Help please...
Sorry for my bad english.
Click to expand...
Click to collapse
Make sure you don't have too many NICs, tunneling adapters, or TAPs for OpenVPN installed. My only remedy was to reinstall the whole OS. Hopefully you can find something out.

My temporary solution:
Start XDE manually -
PHP:
XDE.exe /name "Emulator 8.1 WVGA 4 inch(RU).admin"
where param /name is a name of virtual machine in Hiper-V and name emulator in VisualStudio, after it VisualStudio can connect to started emulator.

Related

problem installing activesync 4.1

when i try in install active sync i get a installation box with the following
Command Line Parameters
/Language Id
/S Hide Intialization dailog. for silent mode use: /s
/v/qn.
/V parameters to MsiExec.exe
/Ua<url to InstMsiA.exe>
/UW<url to InstMsiW.exe>
/UM<url to msi package>
ive tried everything can't figure out what it is
Just download it again from Microsoft.com and try again.
Seems like your .msi file is corrupt or something.
OR...don't you have the MSI installer installed on your machine?
What OS are you using?
Some more details pls.
im running windows xp with servie pack 2

"Unable to open sync connection" from a virtual machine

I'm trying to upload an APK with ADB+Eclipse into a (real device) HTC Legend from a virtual machine with XP Pro guested on a real machine with Win7 x64.
I installed USB Driver, modified it to support HTC Legend, then set HTC Legend with USB Debug... in VM XP Pro I see into ADB the HTC Legend connected (I think so...)
Code:
C:\android\android-sdk-windows\tools>adb devices
List of devices attached
HT03SNX02682 device
I think that HT03SNX02682 is the serial number that ADB give to my device, correct?
Then I try to upload from Eclipse using run configuration of Eclipse...
but this is the log...
Code:
[2010-06-14 13:02:23 - HelloWorld21] ------------------------------
[2010-06-14 13:02:23 - HelloWorld21] Android Launch!
[2010-06-14 13:02:23 - HelloWorld21] adb is running normally.
[2010-06-14 13:02:23 - HelloWorld21] Performing android.helloworldapp21.HelloWorld21 activity launch
[2010-06-14 13:03:15 - HelloWorld21] WARNING: Application does not specify an API level requirement!
[2010-06-14 13:03:15 - HelloWorld21] Device API version is 7 (Android 2.1)
[2010-06-14 13:03:15 - HelloWorld21] Uploading HelloWorld21.apk onto device 'HT03SNX02682'
[2010-06-14 13:03:21 - HelloWorld21] Failed to upload HelloWorld21.apk on device 'HT03SNX02682'
[2010-06-14 13:03:21 - HelloWorld21] java.io.IOException: Unable to open sync connection!
[2010-06-14 13:03:21 - HelloWorld21] Launch canceled!
if I try to install from prompt dos with adb install... the process doesn't stop (stall?).
I tryed also to see logcat but seems doesn't log nothing... (I'm newbie in android dev)
thank in advance for your help
I had the same problem, even if with my emulator.
Occasionally, the Device view in the Eclipse DDMS would list many copies of the device, all of them Offline, and I wouldn't be able to run anything on the device if I tried to plug it back in.
What seems to fix this is running
adb kill-server
from the command line. It cleans up the list of Offline devices and allows me to run applications on the device again.
Hope it works,

[Q] Setting up a test environment

Can anyone advise this rookie user how to set up a test environment to use with an Android Studio project?
I recently installed Android Studio on my Windows 7 laptop and put together my first simple app. When I tried to debug it, I was offered two pre-configured test environments. The first was "Nexus 5 API 21x86" but when I tried to use that one it told me I needed HAXM. After much research I worked out what I needed to do to install HAXM but the installation file gave me the following error message:
VT_Not_Support = This computer does not support Intel Virtualization Technology (VT-x). HAXM cannot be installed."
I therefore turned my attention to the second option "TestDevice". When I tried to run that, Android Studio reported:
emulator: ERROR: This AVD's configuration is missing a kernel file!!
emulator: ERROR: ANDROID_SDK_ROOT is undefined
I Googled the error and found the advice that I needed to install "ARM EABI v7a System Image" but when I ran the SDK manager it told me that this component was already installed.
Can anyone please tell me either how to overcome the ANDROID_SDK_ROOT undefined problem or advise how otherwise to set up an emulated test environment that works on my computer.
I am an experienced programmer but a complete novice when it comes to Android Studio, all the associated applications and Android devices in general.
Many thanks in advance for your patience.
Keith
writerman said:
... following error message:
VT_Not_Support = This computer does not support Intel Virtualization Technology (VT-x). HAXM cannot be installed."
Click to expand...
Click to collapse
Keith, have you tried enabling VT-x in your BIOS settings?
Thanks for the suggestion. I wasn't aware of this BIOS setting. I will give it a try but may not have a chance to try it out until the weekend
This should do the trick if you have compatible CPU.

/dev/kvm uis not found

Hello,
I'm new to android programming and I just tried to emulate my "hello world" application.
On top of the "your virtual devices" windows there is a message "/dev/kvm uis not found".
I already looked into this error on google :
- VT-x is on in my bios
- Haxm is installed (in the SDK manager it is marked as installed with version 6.0.3)
- I also enabled DEP in windows and in my bios
Why do I still get this error?
I'm trying this on a windows 7 system with administrator privileges.
Hopefully someone can help me...
edit : It seems that haxm is not installed correctly, if I perform this command "sc query intelhaxm" I get an error that the service is not installed.
if I try to install haxm manually I get the following error "failed to configure driver : unknown error : failed to open driver."
stevennoppe said:
Hello,
I'm new to android programming and I just tried to emulate my "hello world" application.
On top of the "your virtual devices" windows there is a message "/dev/kvm uis not found".
I already looked into this error on google :
- VT-x is on in my bios
- Haxm is installed (in the SDK manager it is marked as installed with version 6.0.3)
- I also enabled DEP in windows and in my bios
Why do I still get this error?
I'm trying this on a windows 7 system with administrator privileges.
Hopefully someone can help me...
edit : It seems that haxm is not installed correctly, if I perform this command "sc query intelhaxm" I get an error that the service is not installed.
if I try to install haxm manually I get the following error "failed to configure driver : unknown error : failed to open driver."
Click to expand...
Click to collapse
Uninstall kvm and install it manually through sdk standalone manager.
Sent from my One using XDA Premium 4 mobile app
where is KVM installer
fadival said:
Uninstall kvm and install it manually through sdk standalone manager.
Sent from my One using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Can you give me a little bit more explanation?
I can not find the KVM (un-)installer.
Also in the SDK manager I can't seem to find it.
btw, I thought KVM was haxm?

Plugin 'org.jetbrains.android' failed to initialize and will be disabled. Restart AS

I left my computer to sleep with Android Studio open and this suddenly happens to me now.
Plugin 'org.jetbrains.android' failed to initialize and will be disabled. Please restart Android Studio
I get this error when Android Studio starts and it forces me to restart it. Also, when it does restart, I have a bunch of errors of other plugins telling me that the plugin “Android Support” is disabled. I tried the solution of some StackOverflow answers (which this forum doesn't allow me to post yet) with no avail.
Now, in the menu, under tools, I don't even have the AVD Manager nor the SDK Manager anymore!!!
I am at my workplace getting crazy with this. Please help!!
Thank you

Categories

Resources