Final export of my APP

petr4ppc

Well-Known Member
Licensed User
Longtime User
Dear B4A friends,

please very much, I want do final export of my APP. I am doing it first time,
please are these steps correct?

FIRST QUESTION

I will do this steps:
1) I will sign my APP with keystore file
2) I will choose RELEASE OBFUSCATED and athen I will PRESS F5 KEY
3) I will go to OBJECTS folder and I will take my firstapp.APK file and this file is
file for public and I will put him to internet for downloading


Are this steps OK, please?


SECOND QUESTION
When I take this apk file and if I look inside, there is for example file
.classpath and .project what is this? Can I delete them

Thank you very much, best regards
p4ppc
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
Are this steps OK, please?
Yes.

When I take this apk file and if I look inside, there is for example file
.classpath and .project what is this? Can I delete them
These two files are not needed. They were copied from one of the libraries that you are using. You cannot modify a signed APK file. As these two files are very small I don't think that you should be bothered about them.

If you do want to remove them then you should find the library that includes these files (it is not one of the official libraries) and remove these files from the library jar.
 
Upvote 0

petr4ppc

Well-Known Member
Licensed User
Longtime User
Erel, thank you very much for your answer,

yes, these files are very small, but there is information about my folders and I have specified names of folders
(now I know, that it is better to have standard names of folders :) )

please, the row is maybe from:
Core.jar
B4AShared.jar

how to change this libraries when I want not their row in .classpath?

I want not this rows:
<classpathentry kind="lib" path="C:/*/*/*/*/Core.jar"/>
<classpathentry kind="lib" path="C:/*/*/*/*/B4AShared.jar"/>

Best regards and
thank you very much,
p4ppc
 
Upvote 0

agraham

Expert
Licensed User
Longtime User
please, the row is maybe from:
Core.jar
B4AShared.jar
No, as Erel said it will be from one of the libraries that you use that references those Basic4android jars. Unless you are using a library you compiled yourself the information will be about the library developers system, not yours.
If you do want to remove them then you should find the library that includes these files (it is not one of the official libraries) and remove these files from the library jar.
Jars are standard zip files so you can open them and delete the items you don't want. 7zip will open them without renaming the extension, Windows will do it but you need to change .jar to .zip and back again afterwards.
 
Upvote 0

petr4ppc

Well-Known Member
Licensed User
Longtime User
AGRAHAM, thank you for your answer.

I have delete jar and xml files which I am not using in my APP from my additional library folder. I must keep 3 additional library, because I am using them in my app.

But in file inside apk is nothing happen. Everything is the same.

It is possible, that one of additional library which I am using refere to library core.jar and b4ashared? Ant this is the reason why i have this rows in .classpath file inside of my apk file?

Best regards
p4ppc
 
Upvote 0
Top