Schlagwort-Archive: mac

How to solve freezing Android Device Monitor on Mac OS

Obviously Android Device Monitor freezes right after launch when running with Java versions > 1.8.0_151.

To keep the most recent Java version installed on your machine, but run the Android Device Monitor with an older version, just change the start parameters for the monitor app package as follows:

  1. Go to <android-sdk-homedir>/tools/lib/monitor-x86_64/
  2. Right click on –>  „Show Package Contents“
  3. edit Info.plist in a text editor
  4. Uncomment one of the <string>-vm</string> prepared templates and let it point to an older JDK installation on your machine, e.g.:
  5. Save the file and start Android Device Monitor, should work now


(thanks also to

Where is my.cnf located on Mac OS Sierra?

I had the urgent need to configure some specific stuff in MySQL 5.7 on my developer machine, a MacBook Pro running Mac OS Sierra. Unfortunately, I did not find a my.cnf file that could be customized anywhere?

Internet research showed that MySQL Database Server on Mac OS runs without a my.cnf config file by default, simply started with default values.

Luckily, it is pretty simple to customize the MySQL Server installation by creating and editing a custom my.cnf file like this:

sudo cp /usr/local/mysql/support-files/my-default.cnf  /etc/my.cnf

Then edit / customize the /etc/my.cnf file as required and restart your MySQL Server.



Eclipse won’t start with: ObjectNotFoundException: Tree element not found

After installing some Mac OS X Yosemite updates today, my smoothly working Eclipse installation on my Mac Book Pro was broken: starting Eclipse failed with „ObjectNotFoundException: Tree element not found“ permanently!

It seems that the only thing that helps is to delete the „.metadata“ directory in the workspace – at least this solved the problem for me. But be aware of the ugly side-effect that a completely new (and clean) workspace will be created …  :-/

Howto restore destroyed Evernote LocalNoteStore.sqlite after MacBook crash

Recently, my MacBook Pro running Yosemite crashed while I was downloading data with a USB based GSM/UMTS data modem. Basically this was no problem, the system was restarted and all apps were restored in the state before the system crashed.

… all but ….


Evernote was started but notes were missing and all notebooks were gone – when I clicked on the „Notebooks“ icon, I got the error message that the file:


was corrupt – obviously destroyed when the system crashed. Also trying to sync all notes via my Evernote account from the server did not work.

Happily, I am using time machine — it was a challenge to find the location of the file „LocalNoteStore.sqlite“ because the file cannot be found searching your mac with finder or spotlight (as it is some kind of hidden system file).

After some internet research I was able to quickly restore my local evernote database:

I found my local accout data i.e. the file LocalNoteStore.sqlite and others stored at the path:

/Users/<my_userid>/Library/Application Support/com.evernote.Evernote/accounts/<some_account_id>

I quit the Evernote app.

I started finder, used the „go to folder“ shortcut (Shift+CMD+G) and directed the finder window to the base directory:


Then I navigated into „Application Support“ folder and „com.evernote.Evernote“ and „accounts“ subdirectories using finder (alternatively you can directly „go to folder“ /Users/<your_userid>/Library/Application Support/com.evernote.Evernote/accounts).

Then I selected the acccounts base folder „“, started Time Machine and restored the whole folder with all sub-folders to a Time Machine backup that was about 2 hours old.

After that, I started the Evernote app — everything was working fine again 🙂