HAXM on OS X keeps on disappearing - macos

I have recently moved my android development environment on OS X, using El Capitan. Everything is working as expected. The only problem i find is that after every time I restart my PC the HAXM gets disappeared from '/dev' and Android Studio Reports it while starting an emulator using the HAXM.
When I go to extras in Android SDK folder and try to install, it says that the same is already installed and if continue, it will be reinstalled. I continue to install. After which every thing works fine, till next reboot of the system.
Can anyone please tell me, how to resolve the issue. It is not a big task to reinstall HAXM, but it is really annoying.

Figured this one out: when upgrading from HAXM 1.1.4 to 1.1.5 on El Capitan, the installation path moves from /System/Library to /Library. However, the in-place upgrade script shipped by the HAXM installer doesn't handle this perfectly, which leaves things in a funky state. It is for this reason that the HAXM page says:
Before installing HAXM 1.1.5, the previous version (1.1.4 and below) must be uninstalled using:
sudo /System/Library/Extensions/intelhaxm.kext/Contents/Resources/uninstall.sh
If your installation is already broken because you didn't uninstall 1.1.4 before installing 1.1.5, the following steps worked for me:
Uninstall 1.1.5 from its new path by running /Library/Extensions/intelhaxm.kext/Contents/Resources/uninstall.sh with sudo
Remove left-over 1.1.4 files (specifically for me the key was to remove /System/Library/LaunchDaemons/com.intel.haxm.plist although there may be more files left over in /System/Library for other people)
Reinstall 1.1.5 the normal way

Related

I am facing a PHP_CodeSniffer Error. Can you please help me?

One of our engineers facing an error with PhpStorm. Whenever he edits anything in PhpStorm, it gives the error related to PHP_Codesniffer:
phpcs: env: php: No such file or directory...
If open PHPCodeSniffer Inspection Settings, the below attached settings can be seen.
One more point, it was working fine until he upgrades his MacOS from Big Sur to Monterey 12.0.1. Not sure this OS upgrade affect the application settings. Presently he cannot work with PhpStorm.
Could you please have a look and let me know?
One more point, it was working fine until he upgrades his MacOS from Big Sur to Monterey 12.0.1. Not sure this OS upgrade affect the application settings. Presently he cannot work with PhpStorm.
I had the same issue. Monterey removes the installed PHP version, as Mac OS no longer ships with php installed.
Install php and it should work again.
In my case, using homebrew
brew install php#7.4
brew link php#7.4

OpenCobolIDE stopped working after macOS Mojave update

Before updating to macOS Mojave, OpenCobolIDE was working fine, but ever since I updated, every time I try to open the application, it just closes a second after I pressed the icon. This I probably compatibility issues with the now OS, but is there any methods to fix it without downgrading my OS?
Thanks in advance
I had problems with OpenCobolIDE 4.7.4 on Mac after upgrade to Mojave - the program gets stalled with spinning wheel. Instead of using the download on https://launchpad.net/cobcide/+download, I have installed it with pip3:
In a terminal window I ran the command : sudo pip3 install OpenCobolIDE --upgrade
For more info see https://gist.github.com/ejlp12/4f59bd35cbfe4c5ffcf7955d5680a298
It installs OpenCobolIDE 4.7.6 and it runs smoothly after installation. The executable can be found in /usr/local/bin

atom-live-server installed but does not appear in packages and wont run... just nothing

So I am a bit of a noob but I have installed atom on my mac (editor works fine) and installed live-server.
I am unable to start ls, and although it appears to be installed in settings i.e. I can disable or uninstall it, it is not listed under the packages drop down - also tried the hotkeys for my version.
Ive tried uninstalling and reinstalling a few times, even following instructions to remove hidden files etc courtesy of Google. It just looks like its not there...
Versions: atom 1.18.0 X64, live-server 2.1.2, running on Mac OS Sierra 10.12.5

Removing osx-gcc-installer

I'm using MAC OS X 10.8.5. I'm getting this error that I have osx-gcc-installer installed and I need to install either CLT or Xcode 5.0.1. However, I already have downloaded and installed CLT and Xcode 5.0.1, and I'm not sure how I'm suppose to remove osx-gcc-installer.
Errors I get:
Warning: You seem to have osx-gcc-installer installed.
Homebrew doesn't support osx-gcc-installer. It causes many builds to fail and
is an unlicensed distribution of really old Xcode files.
Please install the CLT or Xcode 5.0.1.
Some of the solutions I've found from another posts:
If something doesn't work as expected, feel free to install Xcode over this installation.
Once installed, you can remove Xcode completely with the following:
sudo /Developer/Library/uninstall-devtools -mode=all
It says, I need to install Xcode over if there's problem with osx-gcc-installer, but I've already installed Xcode. In this case, should I uninstall and reinstall my Xcode?
Also, I ran the code they provided and uninstalled the devtools.
I really hope there's an easier and effective way to remove osx-gcc-installer.

Uninstall Xcode 4.2.1 after installing 4.3.1

I begrudgingly updated to Lion from snow leopard. I then updated XCode to 4.3.1 which as part of the update uninstalled 4.2 from snow leopard. I then realized that one of my other dev tools does not work with 4.3.1 at all, so I installed 4.2.1 along side it in the hopes of fixing things. It didn't. How do I remove 4.2.1 so I'm just left with 4.3.1?
I tried deleting 4.3.1 and re-installing hoping it would detect 4.2.1 and remove it like it did when I first upgraded but no dice.
Searching the web shows I need to run uninstall-devtools however I can't find it anywhere, /Developer doesn't exist...
Trying to re-install 4.2.1 in the hopes there was an uninstaller buried in there says "Xcode install assistant can't be installed because xcode is already installed" (it didn't say this the first time obviously) so I can't re-install without 4.3.1 in place in the hopes of getting a /Developer folder...
There appears to be no uninstall-devtools burried in 4.3.1 (and I have command line tools installed as well).
I can't find 4.2.1, maybe it didn't install (I forgot to check disc capacities before/after) but then why can't I try to install it again without any xcode installed?
Install Xcode 4.2.1 again and then uninstall it:
sudo /Developer/Library/uninstall-devtools --mode=all
It turns out that 4.2.1's installer actually installs an Xcode installer into your applications folder, which in turn actually installs Xcode. The solution is find the installed installer (makes so much sense...) and install Xcode an things behave as expected.
The versions of Xcode that support installation into /Applications instead of /Developer in theory support being removed just via dragging to the trash.
In practice, I'm not sure I trust the process, and I wish there was still a more robust cleanup script.
Search "Xcode 4.2" in spotlight or in finder it will find you the app then move it to trash .But dont forget to check version.

Resources