Run the Android SDK Manager to update its components.ĮDIT: The ADT plugin has long since been deprecated. Close and reopen the layout files and you'll be good to go.
Press Ok, update the ADT and restart Eclipse. ADT extends the capabilities of Eclipse to let you quickly set up new Android projects, create an application UI, add packages based on the Android Framework API.
Check Developer Tools, click Next, accept any licenses and FinishĪfter restarting Eclipse, if you are not able to open a layout file go to step 4 but instead of selecting archive add in the Location: textbox. Android Development Tools (ADT) is a plugin for the Eclipse IDE that is designed to give you a powerful, integrated environment in which to build Android applications.Navigate to where you downloaded your ADT plugin and select it.
(eg: for Android 4.4 the sources are in folder named 14). You will find the sources in the plugin folder usually ECLIPSE_PATH\plugins\.source_MAY_BE_VARY\VERSION Depending of the version of Android, they'll be in the different folders. If sources are still not attached, attach them manually. Select Android Sources from the list, click Next, and install like usual. Install plugin Android Source by going to Help->Install New Software-> add this site: " ". Next,sudo ln -s /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1.2.0 /usr/lib/libGL.so Problem 4:Īttache android.jar sources for Eclipse IDE Solution: home/von/software/adt-bundle-linux-x86_64-20131030/sdk/tools/lib/libGLES_V2_translator.so The ADT Bundle provides everything you need to start developing apps, including a version of the Eclipse IDE with built-in ADT (Android Developer Tools) to streamline your Android app development. home/von/software/adt-bundle-linux-x86_64-20131030/sdk/tools/lib/libGLES_CM_translator.so
error libGL.so: cannot open shared object file: No such file or directory Solution:įirst,locate libGL,in my X86_64 ubuntu,I got such result: android-4.4/aapt: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory Solution: Sudo apt-get install libc6-i386 lib32stdc++6 lib32gcc1 lib32ncurses5 Problem 2: Ubuntu 12.04.4,Kernel 3.5.0-45-generic Problem 1:įailed to start emulator: Cannot run program "/usr/bin/android-studio/sdk/tools/emulator": java.io.IOException: error=2 Solution: