Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SDK Manager broken after Mavericks update

After updating my MacBook to Mavericks I recognoized that the SDK manager is no longer working correctly. When I click on the down-arrow to drop down folders content the manager has some redrawing issues (pictures)... I could live with that but its no longer possible to install new packages...

Does anyone know how to fix this?

As the SDK Manager is written in Java it should be a JRE problem(?).

Android SDK Manager Window - buggy

[edit]

I checked if this issue also occurs on my iMac and it does (independently). Anybody else?

like image 284
Langusten Gustel Avatar asked Oct 23 '13 23:10

Langusten Gustel


2 Answers

I had the same issue. It resolved after I installed the latest JDK 7 for Mac from Oracle (7u45), available at:

http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html

like image 127
David Gassner Avatar answered Oct 19 '22 11:10

David Gassner


The Android emulator works fine with Java 6. You can force it to use this version by creating a script:

#!/bin/sh

export JAVA_HOME=`/usr/libexec/java_home -v 1.6`
exec "PATH_TO_ADT_BUNDLE/sdk/tools/android" $* &>/dev/null &

Change PATH_TO_ADT_BUNDLE to where you have the adt-bundle-mac-... directory.

It's unfortunate it doesn't work correctly with Java 7 that has been around for a long time but you can use the workaround for the time being.

like image 1
mgol Avatar answered Oct 19 '22 12:10

mgol