Build error in android

In file included from jni/…/…/Classes/HelloWorldScene.cpp:1:0:
jni/…/…/Classes/HelloWorldScene.h:5:22: fatal error: UIButton.h: No such file or directory
#include <UIButton.h>
^
compilation terminated.
make: *** [obj/local/armeabi/objs-debug/cocos2dcpp_shared///Classes/HelloWorldScene.o] Error 1
make: *** Waiting for unfinished jobs…
In file included from jni/…/…/Classes/AppDelegate.cpp:2:0:
jni/…/…/Classes/HelloWorldScene.h:5:22: fatal error: UIButton.h: No such file or directory
#include <UIButton.h>
^
compilation terminated.
make: *** [obj/local/armeabi/objs-debug/cocos2dcpp_shared///Classes/AppDelegate.o] Error 1
make: Leaving directory `/Volumes/Work/BlackJack_svn/proj.android’
Error running command, return code: 2.

You may not have included the UIButton.h file path in the Includes section of the android.mk file.

how to include that?
please say in details as soon as possible.

@jdboss,

I think in HelloWorldScene you have included UIButton.h.

#include “ui/UIButton.h”

Just check once if you have included like above. Since i faced the same issue, i solved by providing path.

Regards,
Gurudath

@Gurudath yes i have used that but how to provide path.please give me code snippet
i have no idea about that

@jdboss,

When i used
#include “UIButton.h” i was getting error.

Later i used
#include “ui/UIButton.h”

Worked fine for me.