gotgot1995
gotgot1995

Reputation: 193

Eclipse freezes on android project build

I've tried to create a new project on android and ran it without any problem in my emulator.

I added the google-play-service library in my eclipse workbench and linked it to my project. Then I tried to run it again and my eclipse started loading... Then the progress bar stopped to move, then I saw eclipse took 80% of my CPU capacity! So I shut it down and tried again, same thing happened.

For your info I imported the google-play-service library from

sdk\extras\google\google_play_services\libproject\google-play-services_lib

and I still have not touched the example code in the MainActivity.java

Upvotes: 2

Views: 318

Answers (1)

RyPope
RyPope

Reputation: 2715

I solved this issue on my own PC (Windows) by allocating more memory for Eclipse. Add this to your properties if you're on Windows (you can give the same command line arguments in linux).

Eclipse properties

Taken from this SO Post

Upvotes: 2

Related Questions