2

In Eclipse, every time I select run->Android application, a full build is performed including the NDK. This is time consuming and wasteful when I am working on the Java code. Does anyone know how to turn this off?

Thanks

user1400716
  • 1,126
  • 5
  • 13
  • 32

2 Answers2

6

Go to:

Project Properties -> Builders

the CDT builder checkbox is the native builder. uncheck the checkbox

Blackbelt
  • 156,034
  • 29
  • 297
  • 305
  • Thanks for your response. This disables the NDK Build. How do I then perform an NDK-Build using Eclipse? Is there any way manually build the native component and auto build the java component? – user1400716 Jan 16 '13 at 14:38
  • simply re-enable the checkbox when you need to perform native build – Blackbelt Jan 16 '13 at 14:41
  • Thanks again. Thats a good workaround, also I can execute ndk-build from a cmd prompt. Thought there would be a better way to achieve this though. – user1400716 Jan 16 '13 at 14:52
3

check Project - Build Automatically. it's probably checked. Trun it of and you have to manually do a Clean/Build

David M
  • 2,511
  • 1
  • 15
  • 18