Thanks Mobiius, I appreciate it and will keep it in mind as I also had trouble with tier 1 builds with android but I am building for tier 2 which I believe doesn't need the interpreter? or am I wrong?
My build compiles successfully, installs and runs fine on my android device, it's just that no matter if I have a folder called 'assets' or 'media' with my image in it anywhere in my project's folder including the places where they should be, the image fails to load
12-04 12:55:05.324: E/native-activity(9199): Failed to load image media/back.png
this is after I added:
agk::SetCurrentDir( "media" );
I've also tried:
agk::SetCurrentDir( "assets" );
all files and folders are lowercase.
maybe something is wrong with my code?
#include "Main.h"
using namespace AGK;
app App;
void app::Begin ( void )
{
agk::SetCurrentDir( "media" );
agk::SetVirtualResolution ( 540, 960 );
agk::LoadImage (1, "back.png" );
agk::CreateSprite ( 1, 1 );
agk::SetSpritePosition ( 1, 75, 75 );
}
void app::Loop ( void )
{
agk::Sync ( );
}
void app::End ( void )
{
}