Categories
Android

What you need to know to use Android Studio

As I am mostly doing my stuff with Eclipse even though the Android studio came, I still work with Eclipse project for Android but as time comes, we cannot ignore the Android studio anymore because: Official Android document is only support for Android Studio More and more library today does not include any support (no…

Categories
Java Tools

[Eclipse] java.lang.UnsatisfiedLinkError: Cannot load 32-bit SWT libraries on 64-bit JVM

Double click on your eclipse, and you receive error log as following (logged at: configuration/xxxxx.log) !ENTRY org.eclipse.osgi 4 0 2016-07-12 00:22:11.260 !MESSAGE Application error !STACK 1 java.lang.UnsatisfiedLinkError: Cannot load 32-bit SWT libraries on 64-bit JVM at org.eclipse.swt.internal.Library.loadLibrary(Library.java:263) at org.eclipse.swt.internal.Library.loadLibrary(Library.java:240) at org.eclipse.swt.internal.C.<clinit>(C.java:21) at org.eclipse.swt.widgets.Display.<clinit>(Display.java:138) at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:679) at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:162) at com.aptana.rcp.IDEApplication.createDisplay(IDEApplication.java:162) at com.aptana.rcp.IDEApplication.start(IDEApplication.java:94) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)…

Categories
Android

ADT plugin doesn’t show up in Eclipse After Install

On Eclipse, after install the Android Development Tool, restart it but do not see the Android menu (Android SDK Manager, AVD Manager etc.). Faced this issue on Eclipse Mars but in fact, it could be any eclipse that may happen for this kind of issue. To solve it, you just need: Inside Eclipse Window-> Perspective…

Categories
Java Tools

Update Eclipse failed – Can not remove : eclipse.exe

Use Eclipse Update and got fail An error occurred while uninstalling session context was:(profile=epp.package.jee, phase=org.eclipse.equinox.internal.p2.engine.phases.Uninstall, operand=[R]org.eclipse.rcp.configuration_root.win32.win32.x86_64 1.0.0.v20130521-1847 –> null, action=org.eclipse.equinox.internal.p2.touchpoint.natives.actions.CleanupzipAction). Backup of file D:\Apps\eclipse\eclipse.exe failed. Can not remove : D:\Apps\eclipse\eclipse.exe The issue links to permission on file system. According to the post here, two solutions raised but for me, only following solution, the best to…

Categories
Java

Eclipse Kelper – Be careful with trailing space remove automatically

On my Eclipse Java EE IDE for Web Developers. Version: Kepler Service Release 1 Build id: 20130919-0819 When open existing file on my project, all of the trailing spaces are removed that make me difficult to synchronize with other users on the old projects. The issue because of AnyEdit Tools in Preferences > Editors So…

Categories
Java

Important Java Basic Code Conventions for Readable Code

Here I would like to give some basic code conventions in Java that mostly we need in our daily programming life: Indentation Use 4 spaces for indentation. No tabs! If you are using Eclipse, you can configure this at With Eclipse 3.7: Window->Preferences->Java->Code Style->Formatter Edit on one selected convention, example: Java Conventions [built-in] and go…