AppInspector doesn't run after install
See original GitHub issueDescribe the bug
Attempted an install of AppInspector on a Macbook Pro 16 M1, Monterey 12.1. The install seemed to go smoothly, but I get the following error when I attempt to run it:
A fatal error occurred. The required library libhostfxr.dylib could not be found.
To Reproduce Steps to reproduce the behavior:
brew install dotnet
dotnet tool install --global Microsoft.CST.ApplicationInspector.CLI
appinspector
Expected behavior Appinspector should run; I assume it’ll give me the help?
Operating Environment (please complete the following information):
- Application Inspector Version: Unknown - whatever
dotnet
is installing. - OS: Mac OS 12.1
- .Net: 6.0.104
Additional context Full error is here:
A fatal error occurred. The required library libhostfxr.dylib could not be found.
If this is a self-contained application, that library should exist in [/Users/branca/.dotnet/tools/.store/microsoft.cst.applicationinspector.cli/1.4.29/microsoft.cst.applicationinspector.cli/1.4.29/tools/net6.0/any/].
If this is a framework-dependent application, install the runtime in the global location [/usr/local/share/dotnet] or use the DOTNET_ROOT environment variable to specify the runtime location or register the runtime location in [/etc/dotnet].
The .NET runtime can be found at:
- https://aka.ms/dotnet-core-applaunch?missing_runtime=true&arch=arm64&rid=osx.12-arm64&apphost_version=6.0.4
Thanks!
Issue Analytics
- State:
- Created a year ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Android studio database inspector does not show any ...
I am on Android studio 4.1 beta 1 . I installed my app on my device and opened Database Inspector and nothing shows...
Read more >Database inspector stopped working : IDEA-293107 - YouTrack
run the application with Run 'app' => the Run tool window disappears, I have to re-open it manually each time the app is...
Read more >Debug your database with the Database Inspector
Open the Database Inspector To open a database in the Database Inspector, do the following: Run your app on an emulator or connected...
Read more >Installing and updating the application
If the application does not start, it is most likely due to outdated components causing conflicts. Try to go into the system settings,...
Read more >App crash when trying to use Database Inspector [154871161]
My app suddenly crashed after a while with unsuccessful attempts to open access to databases on both device and emulator, this has occured...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Good call - that worked. Seems like
brew
install of dotnet doesn’t work great for this.To clarify what I did, here’s the steps:
dotnet tool uninstall --global Microsoft.CST.ApplicationInspector.CLI
dotnet tool install --global Microsoft.CST.ApplicationInspector.CLI --version 1.5.5-beta
https://aka.ms/dotnet-core-applaunch?missing_runtime=true&arch=arm64&rid=osx.12-arm64&apphost_version=6.0.4
https://go.microsoft.com/fwlink/?linkid=2063366
Fwiw, I uninstalled the beta, then went back and installed the main distro, and that seems to have worked fine:
Thanks for the help Gabe - can’t wait to get back to playing with this! 👍
For a specific version specify with the --version argument.
For example:
dotnet tool install --global Microsoft.CST.ApplicationInspector.CLI --version 1.5.5-beta