setting ANDROID ENVIRONMENT IN UBUNTU8.0 operating system

by Ram » Wed, 02 Dec 2009 17:58:54 GMT


Sponsored Links
 I am trying to work the android development in UBUNTU 8.0 OS.
I installed Eclipse 3.5 IDE Linux 32 bit version.
When i try to add ADT 0.9. plugin it is reporting me the following
error and it aborts the adding ANdroid plugin installation process.

Error details
------------------------------------------------------------
Cannot complete the install because one or more required items could
not be found.
  Software being installed: Android Development Tools
0.9.4.v200910220141-17704 (com.android.ide.eclipse.adt.feature.group
0.9.4.v200910220141-17704)
  Missing requirement: Android Development Tools
0.9.4.v200910220141-17704 (com.android.ide.eclipse.adt.feature.group
0.9.4.v200910220141-17704) requires 'org.eclipse.wst.xml.ui 0.0.0' but
it could not be found.
------------------------------------------------------------------

I have installed sun-java 1.6 version in my ubuntu system.

What to do to solve this error.

Or If any one knows the development of android in Ubuntu
Environment.please help me

--



setting ANDROID ENVIRONMENT IN UBUNTU8.0 operating system

by sathya subbiah » Wed, 02 Dec 2009 18:10:05 GMT


 Hi,

I am also using UBUNTU. I am able to install ADT plugin to my eclipse.Kindly
follow the steps provided in the link
 http://developer.android.com/sdk/1.1_r1/installing.html. Also please check 
your network proxy settings.






>


Sponsored Links


setting ANDROID ENVIRONMENT IN UBUNTU8.0 operating system

by sathya subbiah » Wed, 02 Dec 2009 21:00:10 GMT


 Hi Ram,

I tried the following steps in installing Eclipse in Ubuntu



1) Downloaded classic version of Eclipse
2) Then added the ADT plugin as given in the link
 http://developer.android.com/sdk/1.1_r1/installing.html. 
3) Then downloaded Android Eclair package
4) Then ran the "android" tool in the tools folder of eclair.
5) Have saved the network settings in it.(Check the force.... option
provided in it)
6) And installed all packages.

If still network connection is a problem, pls check the below

If the network connection itself is a problem. Check the network proxy
settings value. (System -> Preferences -> Network Proxy).
Even if it doesn't help check the software sources server name. Go to System
-> Administration -> Software Sources and choose other in the Download from
Tab. And select the option choose best server. Once it has chosen best
server set it.
Also if you have logged in for the first time, after saving the settings log
out and try log in again.(It helped us here..)

Hope this solves your problem.

Rgs,
Sathya






> > >



setting ANDROID ENVIRONMENT IN UBUNTU8.0 operating system

by bacchus » Wed, 02 Dec 2009 22:45:53 GMT


 i,

Have you tried to update eclipse through Help -> Check For Updates,
before installing ADT?

Cheers,


On Dec 2, 12:59pm, sathya subbiah <sathya.subbia...@gmail.com> wrote:
> > > >



setting ANDROID ENVIRONMENT IN UBUNTU8.0 operating system

by Vineus » Mon, 07 Dec 2009 14:08:52 GMT


 


Same here on Ubuntu 9.10 (I just installed sun jre, ant and eclipse
today)

--
 Vineus

--



setting ANDROID ENVIRONMENT IN UBUNTU8.0 operating system

by Vineus » Mon, 07 Dec 2009 14:10:11 GMT


 


I had the same problem but finally made it.

Go to "Help/Install New Software..."

Add  http://download.eclipse.org/releases/galileo/ to the update sites 
list (strange it's not installed by default on ubuntu)


Restart eclipse

Go back to "Help/Install New Software..." and install the Android ADT
as explained on the android website.

--
 Vineus

--



setting ANDROID ENVIRONMENT IN UBUNTU8.0 operating system

by Moo » Wed, 20 Jan 2010 02:06:31 GMT


 I had the same problem using Karmic.
I followed Vineus's directions and works perfectly.

Thanks!





> Vineus



Other Threads

1. Widget with two Textview like Twitter Widget: Wrap



Step #1: Use string concatenation to put the author and tweet in a
single String (or SpannedString created from Html.fromHtml(), or
whatever).

Step #2: Call setTextViewText() on your RemoteViews

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_The Busy Coder's Guide to Android Development_ Version 3.1 Available!

-- 

2. Error inserting into table CalendarEvents

Dear all,

I'm trying to add an event to the calendar and it works very well. But
if I try to add a remeinder with an alert I receive the following
error message:

08-04 11:24:56.193: ERROR/DatabaseUtils(2094): Error inserting state=0
event_id=113 minutes=10 end=1753609766 alarmTime=1753609764
begin=1753609764 into table  CalendarAlerts
08-04 11:24:56.193: ERROR/DatabaseUtils(2094):
android.database.sqlite.SQLiteConstraintException: error code 19:
constraint failed
08-04 11:24:56.193: ERROR/DatabaseUtils(2094):     at
android.database.sqlite.SQLiteStatement.native_execute(Native Method)
08-04 11:24:56.193: ERROR/DatabaseUtils(2094):     at
android.database.sqlite.SQLiteStatement.executeInsert(SQLiteStatement.java:
96)
08-04 11:24:56.193: ERROR/DatabaseUtils(2094):     at
android.database.DatabaseUtils
$InsertHelper.insertInternal(DatabaseUtils.java:794)
08-04 11:24:56.193: ERROR/DatabaseUtils(2094):     at
android.database.DatabaseUtils$InsertHelper.insert(DatabaseUtils.java:
915)
08-04 11:24:56.193: ERROR/DatabaseUtils(2094):     at
com.android.providers.calendar.CalendarProvider.insertInternal(CalendarProvider.java:
2425)
08-04 11:24:56.193: ERROR/DatabaseUtils(2094):     at
android.content.AbstractSyncableContentProvider.insert(AbstractSyncableContentProvider.java:
358)
08-04 11:24:56.193: ERROR/DatabaseUtils(2094):     at
android.content.ContentProvider$Transport.insert(ContentProvider.java:
150)
08-04 11:24:56.193: ERROR/DatabaseUtils(2094):     at
android.content.ContentProviderNative.onTransact(ContentProviderNative.java:
140)
08-04 11:24:56.193: ERROR/DatabaseUtils(2094):     at
android.os.Binder.execTransact(Binder.java:287)
08-04 11:24:56.193: ERROR/DatabaseUtils(2094):     at
dalvik.system.NativeStart.run(Native Method)


The code of the methode to insert the remeinder is:

final ContentResolver cr = this.getContentResolver();

if(newEvent != null)
        {
                long id = Long.parseLong(newEvent.getLastPathSegment());
                long reminderMinutes = 10;
                int starttime = (int) startdate;

                ContentValues values = new ContentValues();
                values.put("event_id", id);
                values.put("method", 1);
                values.put("minutes", reminderMinutes);
                cr.insert(Uri.parse("content://calendar/reminders"), values);

                values = new ContentValues();
                values.put("event_id", id );
                values.put("begin", starttime);
                values.put("end", starttime+2);
                values.put("alarmTime", starttime);
                values.put("state", 0);
                values.put("minutes", reminderMinutes);
                cr.insert(Uri.parse("content://calendar/calendar_alerts"),
values);
        }

Thanks in advance for your help.

Best regards,
Thomas

-- 

3. edit text,and button's size

4. Widget with two Textview like Twitter Widget: Wrap

5. New to Androi

6. Closing the Application Window Programatically

7. How do I know that a View has been resized?