Jump to content
PhxMarco

Compile&Run cmd for Android

Recommended Posts

Hi,  seems that the RUN button on IDE, after compile when necessary, make always an UNINSTALL of the APK before the INSTALL.

Someone knows how make the Run button perform INSTALL only ?

I need so because with Install, the files in target directory  .\assets\internal\ 

which I use for the database, are retained.

 

Thanks

Edited by PhxMarco

Share this post


Link to post
2 hours ago, PhxMarco said:

Hi,  seems that the RUN button on IDE, after compile when necessary, make always an UNINSTALL of the APK before the INSTALL.

By default? No, it does not. Check that your project does not have the -cleaninstall parameter as per the documentation.

  • Thanks 1

Share this post


Link to post

In the "Project/Deployement" window you can set the files that you don't want overwrite (deploy) ("ovewrite" column options).

 

By default all newer local files will be deployed and overwrite the remote ones.

 

Bye

  • Like 1

Share this post


Link to post
Just now, DelphiUdIT said:

By default all newer local files will be deployed and overwrite the remote ones.

For .\assets\internal\ on Android, this is incorrect. If a file exists, it will not be overwritten, regardless of whether or not the file is newer.

  • Thanks 1

Share this post


Link to post
9 hours ago, Dave Nottage said:

For .\assets\internal\ on Android, this is incorrect. If a file exists, it will not be overwritten, regardless of whether or not the file is newer.

Yes, but I had the -cleaninstall option active...


Thank you Dave !

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×