Error when installing the ADT plugins in Eclipse - android

I'm using Eclipse 3.5.2 and when I followed the steps on this tutorial(http://developer.android.com/guide/developing/tools/adt.html). I got an error message during the last steps.
An error occurred while installing the
items session context
was:(profile=PlatformProfile,
phase=org.eclipse.equinox.internal.provisional.p2.engine.phases.Install,
operand=null --> [R]org.eclipse.cvs
1.0.400.v201002111343, action=org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions.InstallBundleAction).
The artifact file for
osgi.bundle,org.eclipse.cvs,1.0.400.v201002111343
was not found.was not found.
would be grateful if anyone can help me out :)
Thanks.
P.S. I'm running Ubuntu Lucid Lynx with kernel 2.6.32-24-generic on x86_64. I have the ia32libs installed as well.

Did you install Eclipse from the Ubuntu Software Center ? Apparently there are several packages missing from that install.
You should be able to fix it with an sudo apt-get install eclipse-plugin-cvs eclipse-jdt eclipse-pde

Related

how to fix mksdcard error on Android Studio Setup on Mac?

How do I fix this error on running the Android Studio setup on Mac OSX10.7.5
"Unable to run mksdcard SDK tool.
One common reason for this failure is missing required libraries
Please fix the underlying issue and retry."
The mksdcard utility distributed with recent versions of the Android SDK was compiled in a way that it won't run on OS X versions older than 10.8. You can replace your mksdcard with an older copy of the utility that's known to work on OS X 10.7.5, such as the one in http://dl-ssl.google.com/android/repository/tools_r22.6.2-macosx.zip.
Credit where its due: This solution is from IAMSME's answer to a similar question, which I found via googling "illegal instruction 4" after I got that error message when a hunch led me to test mksdcard on the command line.
Try running a Package Manager (like apt-get or brew, you will likely need brew since you are on Mac OS X) for downloading some additional packages Android Studio couldn't install.
sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0 lib32stdc++6 (Command line for Ubuntu OS)
Apart from setup Android Studio should check whether is capable to run 32-bit components like aapt or adb. Hopefully it will serve you as a work around.
BTW this is a Google bug currently being addressed (not sure what Titanium Studio has to do here as quoted by Mark previously).
i.e. https://code.google.com/p/android/issues/detail?id=152213
The only solution that worked for me was to drag titanium studio into the trash and reinstall it. I spend hours trying to work this out, but couldn't. After a reinstall it just worked.
I'd recommend using an older version of Android Studio until this gets sorted out by Google.

Eclipse from ADT bundle crashes in Ubuntu 14.04

Whenever there is an auto complete window, eclipse crashes. I searched the internet and found out that putting " -Dorg.eclipse.swt.browser.DefaultType=mozilla " this line at the end of eclipse.ini file will solve the problem. It solved my problem initially but now the same problem is happening. Please help me out.
Make sure your version of Eclipse is up to date, and try not to build it from source. The Ubuntu Software Center has the latest version.
Uninstall the version of Eclipse (make sure to do a complete removal - use Synaptic or type sudo apt-get purge eclipse-platform in a terminal), then install through the software Center.

Eclipse juno startup error, after upgrading adt 21.0 to 22.0

I'm new for android development kit, I was install new software from http://dl-ssl.google.com/android/eclipse/, while downloading a receiver an warning message stated like "if i proceed further the product may go vulnerable" i pressed ok after that my eclipse have been restarted. while doing this process i got startup error states "An error has occured. see the log file follow by my adt installation path".
please help me to get rid of this..
thanks in advance
There might be an error occurred while downloading ADT plugin. Try to reinstall. If error continues, avoid direct install by typing the site. Download ADT bundle and install it in Eclipse,
Help-> Install new software-> Add-> Archive.
Aftre that, tell your SDK Location to Eclipse as,
Window-> Preferences-> Android-> SDK Location
Well, could you give us your log file so we can see what is the problem :) ?
Could you give us more details about your installation ? What platform are you running on ? Linux, Mac, Windows ? If Linux, are you using the package provided by your distribution, or the one from the web
(Sorry to the moderator but I don't have enough reputation to comment directly)
Without the log file, I could think of Eclipse not finding the path of your ADT installation, check that your PATH includes the executable.
Check that you have Java JDK installed too.
If you're developping with Linux, and it's a 64bit installation, check you have your 32bit librairies installed (IA32)
apt-get install ia32-libs

Ruboto: won't detect Android SDK platform-tools

I need some help with Ruboto..
So I want to start doing some Android development using Ruboto. Here are the steps I took:
installed the android sdk
installed the sdk addons tools and platform-tools
installed jruby using rvm install
installed ruboto using gem install
add the android sdk-tools and platform-tools directory to my PATH in my .bashrc file using:
export PATH=${PATH}:/Users/prem/android-sdks/tools:/Users/prem/android-sdks/platform-tools
created a ruboto project using ruboto gen ..
start an emulator using emulator -avd emulator-name
inside the project directory I run rake install start but I get the following error:
$ rake install start
You need to install the Android SDK Platform-tools!
Any ideas what I'm doing wrong?
EDIT:
I did the same thing on Ubuntu 12.04, I get the same error (need to install platform-tools!).
Thanks in advance!
So thanks to Scott for posting a solution to this on my question on Google groups here https://groups.google.com/forum/?fromgroups#!topic/ruboto/OI6MobKAiGY
If this problem persists, the way to solve it is to install the latest version of Ruboto (pre-release candidate) by running:
gem install ruboto --pre
That solved it for me!
I've been having the same problem. Try this suggestion from the Ruboto user group. It looks like the build tools folder structure was reorganized.
https://groups.google.com/forum/?fromgroups#!topic/ruboto/OI6MobKAiGY

opensuse 12.1 64bit - Android - error while loading shared libraries: libz.so.1

I just installed eclipse, the android sdk and jdk on a fresh installation of opensuse 12.1, but by the time i create a new project i am getting the following error in the console:
[2012-04-05 14:11:05 TestingApp] /home/alex/android-sdk/platform-tools/aapt: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory
I know that i am using a 64bit machine and i need to install some 32bit drivers (keep finding the name 'ia32-libs' everywhere, but when i used >zypper install ia32-libs in the terminal, i get a no provider of 'ia32-libs' found.
Any help is more than welcome. I'm searching since yesterday :/
In case it helps someone, I solved this error on openSUSE 12.2 (64bit) by installing:
sudo zypper install libstdc++47-32bit libzzip-0-13-32bit
I've got the same problem. I assume that there are some 32bit drivers missing. If you open YaST -> Software Management -> Patterns ... there is an entry with several 32bit drivers but I don't know WHICH of them I have to install in order to make android/eclipse work ... I assume that I don't have to install all of them ...?

Categories

Resources