apk creation

johnaaronrose

Active Member
Licensed User
Longtime User
This is a newbie question. I have compiled & run the Hello World app to both emulator & device (using b4a-bridge) after doing the private signature key procedure which created a keystore file. Both run successfully. However, I do not see the .apk file/folder anywhere within the Windows folders for Hello World. Should it be there? If not, where is it (i.e. which folder/directory) on the emulator and device? I have attached a screenshot of Windows Explorer displaying the HelloWorld project folder used by B4a.
 

Attachments

  • B4a-HelloWorld.jpg
    B4a-HelloWorld.jpg
    58.2 KB · Views: 510
You can find apk in Objects folder.
 
Upvote 0
You need to rename "Hello World.b4a" to "HelloWorld.b4a" so you'll got HelloWorld.apk :D
 
Upvote 0
You need to rename "Hello World.b4a" to "HelloWorld.b4a" so you'll got HelloWorld.apk :D

As susu posted (in fact this is a bit of FAQ on the forum), if your project name has a space in it then the apk is created as result.apk or result_debug.apk.

If your project name has no spaces in it then the apk is created with your project name.

By project name i mean the name of your ???.b4a project file.

Martin.
 
Upvote 0
Fixed

Susu,

Thanks for advice. It worked using HelloWorld.apk. It seems strange behaviour to create result.apk (when debugging off) rather than Hello World.apk from Hello World.apk.
 
Upvote 0
Back
Top