Visual Studio Deploying to Hololens Access is Denied - visual-studio-2019

I am trying to deploy to Hololens 2. I followed all of the documentation located here for deploying from USB, but when I go to Debug .> Start without Debugging, I get the following error message:
Unable to activate Windows Store app. 'Template3D__pzq3xp76mxafg!App'.
The activation request failed with error 'Access is Denied'.
Has anyone else gotten this error before? How did you solve it? There doesn't seem to be any documentation anywhere.

The error message may be caused by various different reasons. And for now, we guess that the issue may happens when VS is trying to activate another app with the same package name on your HoloLens. So, we think the following steps worth trying for you.
Uninstall the existing app with the same name on your HoloLens.
Rebuild your Unity project to another empty folder, then open the UWP project with VS.
Update the DisplayName and Package name property in the Package.appxmainfest file with another name.

In my case, uninstalling the app and deleting the existing build folder didn't help. The solution was very simple: You need to be signed in on the Hololens 2 and keep it on your head. I'm using a PIN for my account and also paired the Hololens and allowed the developer options. I just tried several times to confirm and without logging in, I get exactly the described error. I'm deploying over USB.

Related

Build iOS app locally without a developer account

I'm just trying out iOS development and no way willing to pay $99 to try out something. I have a running project that works on android and I wanted to see how it looks on iPhone but it seems I'm stuck on all sides.
First of all, I've installed Sidekick and setup Nativescript on the mac and tns doctor reports no issues (I originally made the project on Windows with Android phone). Now I'm trying to do a local build but I get an error:
[18-10-19 22:49:00.401] Error detected during LiveSync on 9991865793b34ae30366571031b6c251590c222a for /Users/vipulk/Documents/YO. Error: ENOENT: no such file or directory, scandir '/Users/vipulk/Library/MobileDevice/Provisioning Profiles/'
I think this is related to certificates and provisioning profiles. I thought you didn't needed those for local builds. Anyways, The sidekick's Auto Generate is of no use either as it doesn't work with 2FA accounts.
I tried to use this guide to create these files manually. I created the csr file but step 6 asks you to go to this page which asks you to use your development program. Again, don't have that.
The cloud build also needs certificates.
What do I do?
The NativeScript Book has two chapters at the end on iOS deployment, and they address your question, though they don't use sidekick. But, hey, nothing wrong with the good old {N} CLI.

[google-assistant-sdk]-Google Assistant demo

I am trying to install Google Assistant SDK on raspberry Pi 3. I have followed all the steps which are mentioned on the developer page.Whenever I am trying to run
google-assistant-demo command I am getting following error.
You have to give the argument like project id and device model id to run the model. Those ids can be found by the registered app on action.google.com.
I just got this working on My Pi this morning. I found that in the .asoundrc file in the /Home/pi folder had extra lines in it that was switching the configuration. This caused the sample files to not run properly and gave me an error relating to permissions. Once I fixed that it all worked fine.
I know you said that you followed the developers page. Just want to make sure that we used the same one. It worked great for me. after I setup the security access on my google account. https://developers.google.com/assistant/sdk/guides/library/python/embed/setup
I hope that helps, if not know that at least I tried.
I recommend you register a new device and then write down or copy to a text file the Device model ID. It appears when you run registration of a new device. Link: I had the same problems i believe it is made up of parts of project id and product name. But i will run the setup again later this week and post my results if i get it to work.

Could not find an application at the specified director xamarin ios app

Has anyone ever come across the error
Log generated on 29/12/2014 00:12:01
Failed to deploy application on the target device. Please try to rebuild the solution and try again. (Generic)
OK
Build server returned an Error.
error MT1001: Could not find an application at the specified directory
error MT1001: Could not find an application at the specified directory
I am trying to run the ios app sample project here
I am using Visual Studio 2013 I dont have much else to go on here really
Paul
Double click on the error message in the Error Message List of Visual Studio to see details.
https://bugzilla.xamarin.com/show_bug.cgi?id=23425
Might be a problem with the Entitlements.plist

error starting xxxx: Module xxxx attempts to access a secure API

I have checked other questions around but no one seems to have exactly the same error. I'm using phonegap+jqm to create an application, initially tested on my android phone, now i'm trying to build-deploy to a blackberry. To build the app i used the phonegap starting guide, with:
ant blackberry load-device
I DID sign the application with the RIM provided keys. Still getting the error. Some help?
The problem was with the Signing Tool + JAVA SDK 1.7: it is a known issue that these two dont get along well.
Download and install the BlackBerry Signature Tool and run your compiled .cod file through it to check whether it is really signed or not.

Application Installation error Blackberry

I have an application of mine on AppStore. But one user is complaining that he can not install the application on his device(Curve 8900) and it's giving error
"Error starting AppName
$28NonTouch$29:
Module 'AppName
$28NonTouch$29-2' has
verification errors."
Now how come it is possible that other's users are able to download properly while one user is getting this error. I downloaded the application from the appstore and its working perfectly.
And when this user tries to install the application through Desktop Manager he is getting error
"No additional applications can
be found. Your file may contain applications that already exist in the
application list, are not compatible for your device, or have errors."
When i tried to stimulate the issue here by installing the application through desktop manager i am able to install it properly without any error messages.
Can anyone suggest me ,what might be causing this issue.?? Is there any kind of version mismatch??
My application is compiled usiong jdk 4.5.
Any help in this regard will be greatly appreciated.
Kindly help,Its urgent..
Thanx in advance."
Probably the problem is related with the version specified in the .alx file.
Check the .alx file and remove the "_blackberryVersion" tag, or change it so it matches the OS version on your device.

Resources