title: How to add local files in Android.mk that are not located inside jni folder
body: <p>I'm getting an error about my AppDelegate cannot be found.<br>
  "The error is something like: No rule to make target *.cpp needed by *.o"</p>
  
  <p>My Android.mk looks like this:</p>
  
  <pre><code>LOCAL_PATH := $(call my-dir)
  
  include $(CLEAR_VARS)
  
  $(call import-add-path,$(LOCAL_PATH)/../../cocos2d)
  $(call import-add-path,$(LOCAL_PATH)/../../cocos2d/external)
  $(call import-add-path,$(LOCAL_PATH)/../../cocos2d/cocos)
  
  LOCAL_MODULE := cocos2dcpp_shared
  
  LOCAL_MODULE_FILENAME := libcocos2dcpp
  
  LOCAL_SRC_FILES := hellocpp/main.cpp \
                     ../../Classes/AppDelegate.cpp
  
  LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../Classes
  </code></pre>
  
  <p><br>
  I don't know what's wrong. I'm guessing it's because i'm not setting the path to the Classes right. In the package explorer my structure looks like this:
  <a href="https://i.stack.imgur.com/MWdEs.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/MWdEs.png" alt="screenshot of package explorer"></a></p>
  
  <p><br><br></p>
  
  <p>In my real folder structure, the Classes folder is not inside proj.android. It's in a folder located outside. </p>
  
  <p><a href="https://i.stack.imgur.com/uttnM.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/uttnM.png" alt="Folders for Classes and MobileApp"></a> Folders for Classes and MobileApp <br><br>------------------------------------------------------------------------------------------------<br>
  <a href="https://i.stack.imgur.com/lBZga.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/lBZga.png" alt="Inside MobileApp"></a> Inside MobileApp <br><br>------------------------------------------------------------------------------------------------<br>
  <a href="https://i.stack.imgur.com/H4JnV.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/H4JnV.png" alt="Inside proj.android where jni is located"></a><br>Inside proj.android where jni is located</p>
  
  <p>I'm not really sure how i to link my .ccp class files properly. How do I add them as my local files so  I can build it properly? I would appreciate all the help I could get. Thanks.</p>