TheTeenDevs, the problem you are having is a permissions/ownership one.
You need to determine your user name in cygwin. Open a fresh cygwin window and execute the command "ls -l" (all els, no ones). The third column lists user id for the owner of the file/directory listed (<owner>
. The fourth column is the user group (<group>, it should be mkgroup).
Now, go to your project directory and execute the following commands:
chown -R <owner>:<group> *
chmod -R a+w,a+r
This will change the ownership to the correct values. I'm guessing that you probably used File Manager to copy the files. Doing so sets the owner:group to Windows values.
This is the set of commands I use while in cygwin to copy files and make sure the ownership and permissions are correct when working with a project (not the template):
cd /cygdrive/c/Android/IDE/templates/<yourproj>
\rm ./assets/media/*.txt
\rm ./assets/media/*.png
\rm ./assets/media/*.wav
cp --preserve=timestamps /cygdrive/c/TGC/AGK/Projects/<yourproj>/Final/media/*.txt ./assets/media
cp --preserve=timestamps /cygdrive/c/TGC/AGK/Projects/<yourproj>/Final/media/*.png ./assets/media
cp --preserve=timestamps /cygdrive/c/TGC/AGK/Projects/<yourproj>/Final/media/*.wav ./assets/media
\rm ./jni/*.cpp
\rm ./jni/*.h
cp --preserve=timestamps /cygdrive/c/TGC/AGK/Projects/<yourproj>/*.cpp ./jni
cp --preserve=timestamps /cygdrive/c/Android/IDE/templates/template_android/jni/Core.cpp ./jni
cp --preserve=timestamps /cygdrive/c/TGC/AGK/Projects/<yourproj>/*.h ./jni
\rm ./jni/CoreForApp.h
\rm ./jni/resource.h
/cygdrive/c/Android/android-ndk/ndk-build clean
/cygdrive/c/Android/android-ndk/ndk-build 2> log.txt
My AppGameKit is in C:\TGC\AGK, substitute the appropriate values for '/TGC/AGK' for the path you use. I also installed my Android NDK in just C:\Android\android-ndk. Make any corrections for that as well.
Also make sure that you use the correct template for the version of AppGameKit that you have installed and that the versions are the same for both your Windows and Android directories.
EDIT: The above commands also assume that you are doing all your development in Windows, MS Visual Studio, and that you are just building in Android.
Cheers,
Ancient Lady
AGK Community Tester