Issues involving testing an app

Hi, everyone!
Hopefully this is probably a simple problem with a fairly simple solution. The app I’ve been working on is almost complete, yet I still haven’t been able to test it on a physical device. After hours of searching google and trying different methods, the farthest I’ve gotten to it working is a error screen about the Director.lua not working. This was after I copied the .apk directly onto the device from windows (Could this be the reason the Director.lua wasn’t working?). I tried following a tutorial on Ansca mobile, but the 1st step involving installing the app was pretty veg. http://developer.anscamobile.com/content/building-devices-android.

I’ve already installed android SDK and AVD Manager, but I can’t find anything referring to transferring files onto an android device like the tutorial suggests.

It would be great if you could give me any tips or suggestions.

Thanks in advance!

*Note* I already posted this in the “New Users Start Here” forum, but wasn’t getting any responses. [import]uid: 66317 topic_id: 15470 reply_id: 315470[/import]

Was director working properly in the simulator, or did you get any errors?

Sorry your post wasn’t answered in New Users - I’m not sure why I never saw it. My apologies.

Peach [import]uid: 52491 topic_id: 15470 reply_id: 57244[/import]

Thanks for the reply.

I just can’t seem to accomplish this; Navigating to a .lua file that is in a folder.

In the Simulator I’m able to use the code below and everything is fine, but when I build my app and port it to a phone, I get this error:

“Director ERROR: Failed to load module ‘folder/file’ - Please check if the file exists and it is correct”.

I know something isn’t wrong with the file because I have gotten it to load when it is not in a folder. Is my syntax wrong?

Help is appreciated.

I’m hoping to have a usable version of the app by tonight, and this has been an unforeseen problem.

[code]
local function goEvent (event)
if event.phase == “ended” then
director:changeScene (“folder/file”, “moveFromRight”)
end
end


------------------------------------------------------------------ [import]uid: 66317 topic_id: 15470 reply_id: 57312[/import]

It could very well be that although director doesn’t yet support subdirectories - that would be a question for the director subforum.

Given when your issue occurs I would suspect that is the case.

Peach [import]uid: 10144 topic_id: 15470 reply_id: 57374[/import]