Football Fans: Download the 2012 Schedule App from Google Play!


Go Back   Android Forums > Android Development > Application Development

Application Development Dev Lounge for the Coder Folks



Reply
 
LinkBack Thread Tools
Old March 5th, 2011, 05:46 AM   #1 (permalink)
New Member
 
Join Date: Dec 2010
Posts: 8
 
Device(s): HTC Desire
Thanks: 0
Thanked 0 Times in 0 Posts
maverick.gugu
Default Android Development Issue with Eclipse

Hi,
i am trying to build an android application in eclipse. My issue in detail is as follows:

1. I first setup the sdk and adt plugin along with the svn for eclipse.
2. Then I imported an existing svn trunk from (File->Import->Checkout projects from SVN).
3. Then I face the following errors:

a. Project has no default.properties file! Edit the project properties to set one.
b. None of import files are being resolved. It includes java.io, and all the basic java classes. I checked the Compiler Compliance level too.. It is set to 1.6
c. When I check into project properties for the issue, under Java Build Path: I find "Build path is entry missing: Projectname/gen"
Then in the libraries tab i find: "Unable to get System Library for the project".

It would be really nice if some one can throw some light on this issue. plz let me know if u need any more description.

Thanks,
Maverick gugu

P.S: SipDroid is the Application I am trying to build

maverick.gugu is offline  
Last edited by maverick.gugu; March 5th, 2011 at 05:52 AM. Reason: App Name (P.S)
Reply With Quote
Sponsors
Old March 5th, 2011, 06:26 AM   #2 (permalink)
Over Macho Grande?
 
alostpacket's Avatar
 
Join Date: Nov 2009
Location: NY
Posts: 7,090
 
Device(s): GalaxyNexus(LTE), NexusOne, OG Droid, GalaxyTab 10.1(LTE), Eris, Logitech Revue (fishtank)
Thanks: 4,164
Thanked 3,126 Times in 1,292 Posts
Default

Just some guesses:
When you checked out the project, the last step should be something along the line of "create new project from this checkout" then you can setup the android project, was that the case?

When all else fails try project -> clean
alostpacket is offline  
Reply With Quote
Old March 5th, 2011, 09:59 AM   #3 (permalink)
New Member
 
Join Date: Dec 2010
Posts: 8
 
Device(s): HTC Desire
Thanks: 0
Thanked 0 Times in 0 Posts
maverick.gugu
Default

When i import the trunk to check out, in the last step:

check out as a project using new project wizard is disabled.
(It is said that this will only be available only if the .project file is there in the repo).

So i go on selecting the "Check out as a project in the workspace" and i chose the "default workspace location" i.e my current one.
maverick.gugu is offline  
Reply With Quote
Old March 5th, 2011, 12:32 PM   #4 (permalink)
Over Macho Grande?
 
alostpacket's Avatar
 
Join Date: Nov 2009
Location: NY
Posts: 7,090
 
Device(s): GalaxyNexus(LTE), NexusOne, OG Droid, GalaxyTab 10.1(LTE), Eris, Logitech Revue (fishtank)
Thanks: 4,164
Thanked 3,126 Times in 1,292 Posts
Default

Are you using a demo that comes with the SDK? you could try to import it rather than check out from google.

To do that you could go:
File > New > Project > Android Project

The select the radio button "Create Project from existing source"

The browse to: (Wherever you store your SDK)\android-sdk-windows\samples\android-9\SipDemo


Otherwise I'm fresh out of guesses, sorry.
alostpacket is offline  
Reply With Quote
Old March 5th, 2011, 12:49 PM   #5 (permalink)
New Member
 
Join Date: Dec 2010
Posts: 8
 
Device(s): HTC Desire
Thanks: 0
Thanked 0 Times in 0 Posts
maverick.gugu
Default

Hi..
That's the same step I have been trying to do.. But now i'm in for some new kind..

When i finish selecting the source from browse and i am about to click OK..

"The API level for the selected SDK target does not match the Min SDK Version."

This flashes on top.. Anything I could do for this?

Thanks for your patience.. I am totally new to this stuff.. I am trying hard to understand..
maverick.gugu is offline  
Reply With Quote
Old March 5th, 2011, 01:49 PM   #6 (permalink)
Over Macho Grande?
 
alostpacket's Avatar
 
Join Date: Nov 2009
Location: NY
Posts: 7,090
 
Device(s): GalaxyNexus(LTE), NexusOne, OG Droid, GalaxyTab 10.1(LTE), Eris, Logitech Revue (fishtank)
Thanks: 4,164
Thanked 3,126 Times in 1,292 Posts
Default

No prob, i just ask that people check out my apps if I help them out

Anyways make sure you have
Code:
    <uses-sdk android:minSdkVersion="9" />
    <uses-sdk android:targetSdkVersion="9" />
in your manifest.xml

AFTER the close of the
Code:
</application>
tag but before the close of the manifest tag.
alostpacket is offline  
Reply With Quote
Old March 5th, 2011, 10:28 PM   #7 (permalink)
New Member
 
Join Date: Dec 2010
Posts: 8
 
Device(s): HTC Desire
Thanks: 0
Thanked 0 Times in 0 Posts
maverick.gugu
Default

Quote:
Originally Posted by alostpacket View Post
No prob, i just ask that people check out my apps if I help them out

Anyways make sure you have
Code:
    <uses-sdk android:minSdkVersion="9" />
    <uses-sdk android:targetSdkVersion="9" />
in your manifest.xml

AFTER the close of the
Code:
</application>
tag but before the close of the manifest tag.
That worked like a charm.. But I'm really unlucky.. This time I'm not able to create the new project because:
1. An Eclipse project already exists in this directory. Consider using File > Import > Existing Project instead.
2. There is a project already existing in this folder.
maverick.gugu is offline  
Reply With Quote
Reply

Bookmarks

Tags
android, eclipse, java, sipdroid


Go Back   Android Forums > Android Development > Application Development User CP
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -5. The time now is 11:38 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Custom vBulletin Skins by: Relivo