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

Errors when compiling on Android studio #11

Open
odmfl opened this issue Aug 3, 2022 · 1 comment
Open

Errors when compiling on Android studio #11

odmfl opened this issue Aug 3, 2022 · 1 comment

Comments

@odmfl
Copy link

odmfl commented Aug 3, 2022

I would like to try the app and contribute to the project, only I can't build the apk on Android Studio.

"CreateProcess error=2,Cannot find the specified file"

@ghost
Copy link

ghost commented Sep 21, 2022

I've tried to build it as well. I haven't gotten it to fully build yet, but here are a couple of notes:

  • You need to have Rust (rustc) installed and available on your PATH (Getting started - Rust). This solves the issue you're having btw.
  • Install the Android arm and arm64 Rust targets:
rustup target add armv7-linux-androideabi 
rustup target add aarch64-linux-android
  • Make sure python is linked to python3 (in the case of Ubuntu, sudo apt install python-is-python3)

The final issue is an Android app dependencies issue. Here's a gist with the error (turns out this happened because I was trying to run Gradle Build from the terminal rather than Android Studio haha)

Now it builds fine

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

1 participant