LemmurOrg / lemmur

🐒 A mobile client for lemmy
GNU General Public License v2.0
268 stars 30 forks source link

Unable to build Lemmur using flutter #311

Closed DokStook closed 2 years ago

DokStook commented 2 years ago

Describe the bug

Unable to build .apk with flutter

Steps to reproduce

  1. Git clone the repo
  2. cd into the folder
  3. execute the provided buil command
  4. See error

Relevant logs

Target file "lib/main.dart" not found.>

Expected behavior

Getting built version of the app

ksnip_20220106-173127

shilangyu commented 2 years ago

Looks like our readme is outdated. We have recently switched to flavors, so to build lemmur run:

flutter build apk -t lib/main_prod.dart --release --flavor prod

Will update readme in a moment

DokStook commented 2 years ago

Now I have the problem

`FAILURE: Build failed with an exception.

shilangyu commented 2 years ago

Ah. Right. It needs to be signed. I'll see what I can do about it

DokStook commented 2 years ago

Thanks! Waiting for an update

shilangyu commented 2 years ago

Added fallback to debug signing keys. Try building from the fix/debug-fallback branch