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

[Question] How to build the project from source? #855

Open
Palaress opened this issue Feb 7, 2024 · 1 comment
Open

[Question] How to build the project from source? #855

Palaress opened this issue Feb 7, 2024 · 1 comment

Comments

@Palaress
Copy link

Palaress commented Feb 7, 2024

Hello,

I have not seen any instructions on how to build the project. I wanted to build it on my own, so I can tweak my layout like I want.

Problem: I cant build it.

What I did:

  1. create new empty directory
  2. clone project git clone https://github.com/openboard-team/openboard.git
  3. cd into project
  4. ./gradlew assembleRelease

Step 4 throws without clear error description (atleast not to me).
Changing git's HEAD to a version tag also results in error.

How do you build it?
And/or how should I do it?

Thanks

@emerajid
Copy link

emerajid commented Mar 14, 2024

Install Android Studio. Click create new project from version control. Paste link to this repository. This instruction is in README.md.

Next, wait forever till it sets up everything. It's going to waste a few GB of internet traffic and around 12 GB of disk space, not counting the Android Studio installation size.

Build -> Select Build Variant. You'll get a panel opened on the left. Change debug to release and x86 to arm64-v8a.

Build -> Build Bundle(s)/APK(s) -> Build APK(s).
Build -> Generate Signed Bundle / APK
Before you can sign APKs you'll have to follow the instruction to create a key. If you don't sign you don't install. I really just didn't care on this point, you can type any info in your key and it's going to just work. You'll have a popup notification in bottom right corner telling you it generated signed APK, click on it and then click "locate" and here's you APK to use. I might be wrong but perhaps you have to first just build an unsigned APK and only then proceed to create a signed one. I do not care to check that.

I really just figured this out by clicking random buttons, so perhaps you should do the same and figure out the rest yourself.

No, I have never developed anything ever, including for 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

2 participants