Recent

Author Topic: How to get realise.apk using LAMW and Gradle?  (Read 233 times)

shyub

  • New Member
  • *
  • Posts: 25
How to get realise.apk using LAMW and Gradle?
« on: August 29, 2020, 03:49:43 pm »
Hello!
When building a project using gradle-4.4.1 in the folders ... \ build \ outputs \ apk \ debug and ... \ build \ outputs \ apk \ release files are created ... debug.apk and ... release-unsigned .apk. For some reason, the file ... release-unsigned.apk cannot be installed on the phone (with ... debug.apk there are no such problems).
The parameters of the project being created (figure below).
What am I doing wrong? Maybe you need some additional project settings?

jmpessoa

  • Hero Member
  • *****
  • Posts: 1623
Re: How to get realise.apk using LAMW and Gradle?
« Reply #1 on: August 29, 2020, 08:31:01 pm »
Quote
release-unsigned.apk cannot be installed on the phone....

To install a "release"  you need  sign it! 

The doc is here:
https://github.com/jmpessoa/lazandroidmodulewizard/blob/master/docs/How_To_Get_Your_Signed_Release_Apk.txt

Quote
with ... debug.apk there are no such problems....

Yes, this is how things work on Android....
Lamw: Lazarus Android Module Wizard
https://github.com/jmpessoa/lazandroidmodulewizard

shyub

  • New Member
  • *
  • Posts: 25
Re: How to get realise.apk using LAMW and Gradle?
« Reply #2 on: August 29, 2020, 09:16:28 pm »
Thanks, I didn't know.

 

TinyPortal © 2005-2018