Missing .env file
cmmaio opened this issue · 5 comments
Steps to reproduce
Expected behavior
Should compile successfully. I have the correct jdk and node versions installed as well as android studio + sdk installed. Followed build instructions in contributing and resulted in this error.
Actual behavior
Gives the error shown in image
LNReader version
Source
Android version
N/A
Device
Windows 11
Other details
No response
Acknowledgements
- I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
- I have written a short but informative title.
- If this is an issue with a source, I should be opening an issue in the sources repository.
- I have updated the app to version 2.0.0.
- I will fill out all of the requested information in this form.
create an empty .env file
create an empty .env file
Thanks but now i get the
'.' is not recognized as an internal or external command,
operable program or batch file.
error. Is there any other requirements i need?
what command are you running? and what operating system are you using?
(if you want more info for compilation don't forget to join the discord https://discord.gg/QdcWN4MD63)
change buildRelease in package.json file to
"buildRelease": "node scripts/setEnvFile.cjs Release && cd android && gradlew clean && gradlew assembleRelease"
Thank you both for the help finally managed to get it built