Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Got trouble in generating Android apk #319

Open
DA21S321D opened this issue Oct 2, 2023 · 3 comments
Open

Got trouble in generating Android apk #319

DA21S321D opened this issue Oct 2, 2023 · 3 comments

Comments

@DA21S321D
Copy link

I installed java8 and use gradlew.bat to build an android apk.
Here is what console shows me :
image
But i can't find where the apk situated at, i just make a little change on sort file. Make it sort by date rather than alphabet. (i need this function beacuse i just open it in web and the alphabet sort is not useful when i have 100+ files)

@wolpi
Copy link
Owner

wolpi commented Oct 7, 2023

That is just default output by gradle, no build has been done.

try:
./gradlew build
or (if tests fail on your machine)
./gradlew assemble

You might need to setup Android SDK first.

@lmagyar
Copy link
Contributor

lmagyar commented May 20, 2024

I'm trying to help with fixing a small bug (#207 #343):

  • downloaded repo
  • installed java 21 JRE, JDK (Eclipse Adoptium Temurin 21.0.3+9) UPDATE java 11 works
  • installed Android Studio + SDK
  • ./gradlew build fails miserably with a big exception
  • I need help, I have zero clue what's going on, I'm a total newbie in Andorid dev. I can't find any description on how to build this project. :(

I'm on Win11.

@lmagyar
Copy link
Contributor

lmagyar commented May 20, 2024

Build is successful with java 11. :)

On Win I use this one-liner to sign it. It works to install on the emulator or on a real Phone. Replace USERNAME with your username:

gradlew clean assembleRelease -Pandroid.injected.signing.store.file="C:\\Users\\USERNAME\\.android\\debug.keystore" -Pandroid.injected.signing.key.alias=androiddebugkey -Pandroid.injected.signing.store.password=android -Pandroid.injected.signing.key.password=android

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants