Error: in Windows phone7 Emulator - windows

Suddenly when I start running the windows phone7 emulator it started giving me the following error, that I have showed below in the screenshot. It worked properly previousely and also didn't change any of the settings. I am using VisualStudio Express 2010 version that introduced for phone development(The IDE). I re-started the machine and checked again, but not yet any difference. Have anyone previousely experinced the same issue.
Thanks...

Somebody else had the same Problem ;) You have to delete the File. It is also explained in this Thread Error launching emulator of the windows phone 7 Mango RC

Like the message says, just delete the file (or rename it, just in case!) and the problem should go away!

go to run and type below
c:\ ProgramData\Microsoft\Xda
click enter ant delete file(which guid error give in error message).
after then its work fine.

Related

Could not determine the installation package com.company.appName

I can't launch my app anymore on Android. The iOS counterpart seems to be fine.
The full error is:
ADB0000: Could not determin the installation path for package.com.company.appname.
'adb shell pm path com.company.appname' returned.
It was working. I pulled some changes from the repo, none of which should have affected any app properties. Actually it was initially launching, but I was getting some odd behavior within the app, so I uninstalled the whole thing off of my phone. Now I cannot launch it at all. What I could find about this error was that my AndroidManifest.xml might have a typo, but I couldn't find anything that stuck out. And like I said, there shouldn't have been any changes in there recently. Any help would be greatly appreciated.
Steps I have already taken:
1. Clean and rebuild
2. restart VS
3. delete obj and bin folders
4. search for solution on here and xamarin forums
UPDATE:
I just successfully launched it on another android device. So it seems to be a problem with my Pixel 2 XL. How do I make sure all traces of the app are gone so I can start fresh?
This usually happens when you have more than one user in an Android device (I still cannot figure out why is this).
As mentioned in the comment by using the adb uninstall full.package.name command it will uninstall the app.
But there's another way which does not require command line or nothing related to that.
If you go to the Settings -> Apps and Notifications on the Android device you will be able to uninstall it from there.
Let's use the UnoQuickStart.Droid app as example here. As you can see it's already in the same state as it was yours.
Once in the App details both Uninstall and Force Stop are disabled. But do you see those 3 dots image at the right upper corner? Click on it.
This will bring you a context menu with a single option "Uninstall for all users". You can click on it with confidence.
As expected, a warning message telling you what's gonna happen. Just click "Ok".
As you can see the App is not longer installed and you will now be able to install it again.
Hope this helps.-
As per apineda's instructions, using adb unistall com.company.appname fixed the problem. I was able to get to the ADB location by navigating through Visual Studio -> Tools -> Android -> Android ADB Command Prompt.
Before I did that, I looked at the App list for my phone, which listed the app, but apparently not installed for this user. The Uninstall and Force Stop buttons were disabled and several of the fields just said loading... or something like that.

Unfortunately, Launcher3 has stopped

I get this error in Visual Studio, when I run my Xamarin application in built-in simulator.
Unfortunately, Launcher3 has stopped
And I wanted to write the solution that I found
for people who are searching the same problem:
The problem has solved when I wait or re-launched the application.
The reason of this error is this :
The simulator is not opened on the first run, and it gets this error.

An error occured while attempting to download the container from application Xcode

While running my app on iPhone, I needed to view the database contents. So I selected Devices in Xcode and chose my device. Thereafter, i selected my app and clicked on the Settings button which shows 3 options: Show container, Download container and Remove container. On clicking the Download container option, I was asked where I want to store the container. After selecting the location, I am getting the following error: An error occured while attempting to download the container from application "MyApp".....
On selecting Show container option, a list opens up but there is no file inside it.
The same problem occurs with other apps too that I run using Xcode.
Any ideas as to why this happens and how to fix it?
I just rebooted my iPhone. That seems to fix it! Really weird, but works.
I have been having the issue every now and then especially after the phone has been connected to Mac and Xcode for about an hour.
Sometimes, just rebooting the phone isn't good enough, you'll also have to quit Xcode and start again after rebooting the phone!
I also had this problem yesterday, and the solution was a mismatched version of iOS 10 and Xcode 7. After I did the App Store upgrade to Xcode 8, I was able to download successfully.
In my case the issue was due to the fact that the version installed was a release version.
After installing the "Debug" version, the download worked fine.

Error: there were deployment errors

When I tried to run any sample application or a new one it shows this error. Can anyone help please?
The error is telling you that you have not selected a device:
"Please select a valid device before running the application"
You need to choice a physical phone (or Android emulator) to deploy the application to.
Ref: Debug on Device
you have to have the android virtual device downloaded.
here are a few options:
Xamarin Android player
Bluestacks
Andy
Genymotion
Now that you have the virtual device. you need to start one before you run or debug.
The specific error you are seeing is because you've not started the device properly before you debug, you should be able to see the device.
Now run the project, and you wont meet this error.
This is because of Hyper V. Things you need to do are:
1.Turn off your Hyper V.(http://www.poweronplatforms.com/enable-disable-hyper-v-windows-10-8/)
2.Update your android SDK to desired platform.
That set. Now run your app. It will work.
Please let me know if still you have same error.
I would advise you to use the Visual Studio Emulator for Android (get it here), it plays very nice with Xamarin and Visual Studio and sets up your system automatically. As an added benefit it is very fast!

(Xamarin) WinPhone app won't start

I'm working on a project using Xamarin to build an app for WinPhone and Android.
On the Android device, it works fine.
When I try to run the app on the WinPhone device, the app starts opening and then it closes. On the console I see "TaskHost.exe has exited with code 0."
I don't see any error.
A guy that was working on it before, was using the WinPhone device without problems.
When I started working on it, the only thing I needed to change was the SQLite.WP80 version. He was using 3.8.7.1 and my VS only provided 3.8.8.1.
Has anyone faced a similar problem?
Or how can I see what is wrong? In the console output there is no errors.
I've added a breakpoint in the begining of WinPhone, but it doesnt't arrive there.
Thanks in advance!
Have you changed your namespace? Check if the startup object in the project setup is set accordingly.
Finally I found the problem.
By returning the code revision, I found one where the WinPhone project was working on phone.
Then, I started looking for differences.
Someone renamed AppWP.xaml to AppWinPhone.xaml.
Then, on project properties > startup object, it was blank.
I just set the object back and it worked.
(Why not an error message saying what is wrong...)
Thanks!

Resources