Pages

Upgrading Eclipse 4.3 Kepler to 4.4 Luna

Eclipse 4.4 Luna repositories:
In case you’re using Eclipse for Android development, the ADT repo hasn’t changed:

'Unhandled event loop exception' java.lang.StackOverflowError

When I use Eclipse Kepler for Android development, add a new button and right click on a button to change the button's text by clicking on Edit Text...


Then click on New String... I got the following error: Unhandled event loop exception java.lang.StackOverflowError.


Same error doesn't happen with Eclipse Luna or Juno.

"Running Android Lint" has encountered a problem

When I start the Eclipse Juno for Android SDK, the following dialog  with 'Running Android Lint' has encountered a problem. Failed. java.lang.NullPointerException Error message occurred.


Workaround this problem: Window -> Preferences -> Android -> Lint Error Checking. Then uncheck the check box: When saving files, check for errors.

How to solve "Failed to load the JNI shared library..." error

First, ensure that your version of Eclipse and JDK match, either both 64-bit or both 32-bit (you can't mix-and-match 32-bit with 64-bit).

Second, the -vm argument in eclipse.ini should point to the java executable. See http://wiki.eclipse.org/Eclipse.ini for examples.

How to find your Android device's MAC address


To locate the MAC(Media Access Control) Address of your Android phone or Android tablet, follow these steps:

On the Home screen, tap the Menu key and go to Settings.

Scroll down and tap About Tablet then tap Status and then scroll down to view WiFi Mac address.