Scolring - Forum

Entraides et échanges autour de la technologie Scol - Informations and exchanges on the Scol technology

Vous pouvez changer la langue de l'interface une fois inscrit - You can change the language once registered

You are not logged in.

#1 28-Mar-2020 17:43:40

gfq40
Member
Registered: 21-Dec-2017
Posts: 15

apk size

hi all,

in a previuos ppost Arkon wrote :

"There is no option to reduce the app size.
What you can do is to remove unused plugins in the androiddeployertools/scolbase
.so files

Also modify the usm.ini.in to comment the removed plugins
the plugins always needed are:
Kernel
Audio
So3engine
Bitmaptoolkit
Security
Sxml
... and maybe more you need to test"

i can't find these two files.
Anyone know where are located ?

Thanks
Gianfranco

Offline

#2 28-Mar-2020 18:25:58

lorcan71
Member
Registered: 30-Oct-2019
Posts: 167

Re: apk size

Hello

Are you looking at "C:\Program Files\Scol Voyager\plugins"  ==>> plugins file marked .dll (library file) like : audio, bitmaptoolkit, etc.

Or find with cmd.exe (DOS mode Windows) the command ==>> dir file_search /s   ==>  Search in C:\  every file / folder with file name input. 

You can add joker *    Like command (DOS mode Windows)  :  dir bitmaptoolkit* /s         

Regards.

Offline

#3 28-Mar-2020 18:40:41

gfq40
Member
Registered: 21-Dec-2017
Posts: 15

Re: apk size

Hi iorcan71,

thanks for your reply, but i had try to search the files using cmd and there's no result.

Regards
Gianfranco

Offline

#4 28-Mar-2020 18:49:44

lorcan71
Member
Registered: 30-Oct-2019
Posts: 167

Re: apk size

Witth DOS command ==> You must be in prompt " C:\ " :

C:\>dir usm.ini /s

Le volume dans le lecteur C n'a pas de nom.
Le numéro de série du volume est F214-CA7D

Répertoire de C:\Program Files\Scol Voyager

08/12/2019  14:45             1 402 Usm.ini                 1 fichier(s)            1 402 octets

------------------------------------------------------------------------------------------------------

And for .so  files with DOS command ==>> dir *.so /s :

C:\>dir *.so /s
Le volume dans le lecteur C n'a pas de nom.
Le numéro de série du volume est F214-CA7D

Répertoire de C:\Program Files\Scol Voyager\androidDeployerTools\scolbase\package\lib\arm64-v8a

22/11/2019  16:13         2 363 920 libaudio.so
22/11/2019  16:13        24 184 080 libbitmaptoolkit.so
22/11/2019  16:13           219 456 libjoypad.so
22/11/2019  16:13         2 240 224 libkernel.so
22/11/2019  16:13         1 008 896 liblibos2d24.so
22/11/2019  16:13         4 317 520 libscurl.so
22/11/2019  16:13         5 711 560 libsecurity.so
22/11/2019  16:13         1 014 800 libsensor.so
22/11/2019  16:13         1 071 584 libserialio.so
22/11/2019  16:13        14 710 080 libso3engine.so
22/11/2019  16:13           794 176 libsPDF.so
22/11/2019  16:13         1 253 832 libsqlite3.so
22/11/2019  16:13         1 211 152 libsVRPN.so
22/11/2019  16:13           277 232 libsxml.so
              14 fichier(s)       60 378 512 octets

Répertoire de C:\Program Files\Scol Voyager\androidDeployerTools\scolbase\package\lib\armeabi-v7a

22/11/2019  16:13         1 682 376 libaudio.so
22/11/2019  16:13        18 305 256 libbitmaptoolkit.so
22/11/2019  16:13           112 416 libjoypad.so
22/11/2019  16:13         1 243 808 libkernel.so
22/11/2019  16:13           564 556 liblibos2d24.so
22/11/2019  16:13         2 756 048 libscurl.so
22/11/2019  16:13         3 072 992 libsecurity.so
22/11/2019  16:13           616 636 libsensor.so
22/11/2019  16:13           628 640 libserialio.so
22/11/2019  16:13         8 261 080 libso3engine.so
22/11/2019  16:13           477 680 libsPDF.so
22/11/2019  16:13           509 000 libsqlite3.so
22/11/2019  16:13           763 972 libsVRPN.so
22/11/2019  16:13           133 100 libsxml.so
              14 fichier(s)       39 127 560 octets

And more ...

Offline

#5 28-Mar-2020 18:53:04

gfq40
Member
Registered: 21-Dec-2017
Posts: 15

Re: apk size

thank you very much
i found it

regards
Gianfranco

Offline

#6 28-Mar-2020 18:54:44

lorcan71
Member
Registered: 30-Oct-2019
Posts: 167

Re: apk size

Be careful ==>> Backup  folders

Looking at  folders :

C:\Program Files\Scol Voyager  for USM.INI


For .so  SCOL -   

C:\Program Files\Scol Voyager\androidDeployerTools\scolbase\package\lib\arm64-v8a
C:\Program Files\Scol Voyager\androidDeployerTools\scolbase\package\lib\armeabi-v7a

Offline

#7 29-Mar-2020 09:43:22

gfq40
Member
Registered: 21-Dec-2017
Posts: 15

Re: apk size

Thank you very much

regards
Gianfranco

Offline

#8 30-Mar-2020 07:44:57

arkeon
Admin. / Scol language & OpenSpace3D developer
From: Nantes
Registered: 30-Mar-2009
Posts: 5,161
Website

Re: apk size

Hello,

since several verions OS3D do this for you, if a plugit that need a scol plugin is not used the plugin is not added in the apk.
To reduce the apk size you will need to reduce your project resources (textures size, models complexity)

Offline

Board footer

Powered by FluxBB