Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Studio Chat / [SOLVED] APK build error: The output location must be a file not a directory

Author
Message
JRNTexas
12
Years of Service
User Offline
Joined: 24th May 2011
Location: Austin, Texas
Posted: 28th Feb 2022 02:30
I am trying to complete an Android Export and I keep getting the error, "The output location must be a file not a directory". Any suggestions?

Attachments

Login to view attachments

The author of this post has marked a post as an answer.

Go to answer

JRNTexas
12
Years of Service
User Offline
Joined: 24th May 2011
Location: Austin, Texas
Posted: 28th Feb 2022 02:33 Edited at: 28th Feb 2022 02:37
For some reason I'm having difficulty attaching more images. I have no idea what the first image is. The first image was meant to be a section of the second image, the lower left corner of the output window, where is shows the error message.
JRNTexas
12
Years of Service
User Offline
Joined: 24th May 2011
Location: Austin, Texas
Posted: 28th Feb 2022 02:34 Edited at: 28th Feb 2022 02:37
Deleted <trouble uploading additional images>
Zappo
Valued Member
19
Years of Service
User Offline
Joined: 27th Oct 2004
Location: In the post
Posted: 28th Feb 2022 02:43
The "Output File Location" at the bottom must contain the full path and file name for the APK file you want to build. For example, this would be okay:
C:\Users\jesse\AGK\Projects\LCRA\LCRAVideo\MyApp.apk

But this is NOT okay as it is just a directory/folder:
C:\Users\jesse\AGK\Projects\LCRA\LCRAVideo\
It won't know what to call your APK file.
JRNTexas
12
Years of Service
User Offline
Joined: 24th May 2011
Location: Austin, Texas
Posted: 28th Feb 2022 03:44
Thanks for the reply.
I'm using: C:\Users\jesse\AGK\Projects\LCRA\LCRA Video1\LCRAVideo.apk.
And it is now giving me the error message, "Package must contain at least one dot character".
Virtual Nomad
Moderator
18
Years of Service
User Offline
Joined: 14th Dec 2005
Location: SF Bay Area, USA
Posted: 28th Feb 2022 04:08 Edited at: 28th Feb 2022 05:08
This post has been marked by the post author as the answer.
every prompt, including the Package Name, displays a tooltip when you hover over the prompt directing you to requirements/guidelines.

ie, for Package Name:


per your image, you have it set to "LCRAVIdeo" which doesn't fulfill the format requirements.

setting it to: com.jrntexas.lcravideo for example, does.

more on the prompts: (those tooltips, etc) HERE

or see your offline version from within studio via Help/User Guide (or on your HD @ C:\Program Files (x86)\Steam\steamapps\common\AppGameKit Studio\media\Help\AppGameKit Studio User Guide.pdf) - probably more current that the online version and may differ based on OS.

Attachments

Login to view attachments
JRNTexas
12
Years of Service
User Offline
Joined: 24th May 2011
Location: Austin, Texas
Posted: 28th Feb 2022 16:19
@Virtual Nomad, Thank you. That fixed it!

Login to post a reply

Server time is: 2024-03-29 08:41:59
Your offset time is: 2024-03-29 08:41:59