Tried to import your Brian Shelton's project

3 views
Skip to first unread message

Dee Wu

unread,
Feb 28, 2012, 11:31:25 AM2/28/12
to okcDroid
no luck

File->Import->General -> open existing project
pointed to the directory that had your AndroidManifest.xml,
proguard.cfg and project.properties.

which I placed in
/Users/deewu/Development/workspace/brianssheldon

I'm missing assets, bin and gen directories


nothing shows up in projects?

Brian Sheldon

unread,
Feb 28, 2012, 11:47:57 AM2/28/12
to okcd...@googlegroups.com
I didn't think I was even supposed to check in bin or gen directories since they are built by eclispe... I thought I had them in though. 
--
Brian

http://bubbasslagheapnpdeli.blogspot.com
http://www.au.org
http://www.venganza.org
Twitter id  @okieBubba

Dee Wu

unread,
Feb 29, 2012, 8:17:29 AM2/29/12
to okcDroid
Hey Brian

Not sure, either why it didn't work, assets is missing though,
do you mind trying to import it.

We can also try to talk on phone if you have time.

Brian Sheldon

unread,
Feb 29, 2012, 9:42:19 PM2/29/12
to okcd...@googlegroups.com
Sorry I didn't respond sooner but it's been a busy day.

I am able to get the project to run - I did have to remove a couple of '@override' annotations to get two classes to compile.

I created a new workspace in eclispe and added the Git Repository Exploring view.

I right clicked in the Git view and had this in my clipboard:
g...@github.com:brianssheldon/BubbasGroceryListApp.git

be sure to use the branch removeitemsfromcheckbox

I checked the project out. I got an error:
Android requires compiler compliance level 5.0 or 6.0. Found '1.4' instead. Please use Android Tools > Fix Project Properties.
and had to right click on the project and use Android Tools > Fix Project Properties

Then I did the Project/clean.
Then I had to remove the 2 annotations
At this point I was able to run the app in my emulator.
----
I deleted the code from my hard drive and downloaded the code in a tar file and extracted it. I then did an import like you described. I had to do the same steps as above (fix project properties/clean/etc). and it seemed to work fine.
----

try again and use this link to get to the repo:
and click on 'Downloads' on the right side (on the same line as 'Files' Commits'Branches'
then use either 'Download as zip' or 'tar.gz'
-----
I hope this helps.

Brian

Reply all
Reply to author
Forward
0 new messages