Android Question When I compile my package gets installed on my phone, but no apk file

rjanelli

Member
Licensed User
Longtime User
When I compile my package gets installed on my phone, but no apk file. I looked in the objects folder and did dir *.apk /s from the command prompt and no apk.

Please advise.
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
Make sure to compile in Release mode:

1623332206375.png
 
Upvote 0

rjanelli

Member
Licensed User
Longtime User
I did compile it in release mode. Still no apk???

Do I need to build it? I get an error while trying to build it.


B4A Version: 10.70
Parsing code. (0.00s)
Java Version: 11
Building folders structure. (0.03s)
Compiling code. (0.02s)
Compiling layouts code. (0.01s)
Organizing libraries. (0.00s)
(AndroidX SDK)
Compiling resources (0.08s)
Linking resources (0.32s)
Compiling generated Java code. (1.15s)
Convert byte code - optimized dex. (0.47s)
Copying libraries resources (0.08s)
Building app bundle Error
C:\Users\bob\Downloads\resources_9_20\tools\bin\bundletool.jar
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
C:\Users\bob\Downloads\resources_9_20\tools\bin\bundletool.jar
This path does look really wrong.
What path you did configure in the B4A Settings? Tools->Configure Path->Path to android,jar

I suggest to remove the SK and install it new.

Follow the installation instructions CAREFULLY. It will just work.

 
Upvote 0

rjanelli

Member
Licensed User
Longtime User
Somehow it is working now. I did not change anything except
Under Build Configuration, Packages ... b4a.example

I had changed it to GPSIt.com and then reverted back to the default.

What does this field do?

Also, Thanks for all your help and the amazingly fast replies! I have programmed for over 40 years and the support b4x is amazing!

Is it hard to port the b4a code over to b4i?
 
Upvote 0

klaus

Expert
Licensed User
Longtime User
Upvote 0
Top