Code Monkey home page Code Monkey logo

catenary-flutter's Introduction

catenary-flutter

Cross-platform build of Catenary Maps for iOS, Android, and Web.

(Rust is still broken rip)

Instructions

cargo install flutter_rust_bridge_codegen cargo install cargo-expand

Signing during Release Compilation (Android)

You'll need to add android/key.properties with a path to your signing key and it's password. See https://docs.flutter.dev/deployment/android#signing-the-app for more information

Developers Common Installation / Running problems

No Configuration Found in Android Studio

Solution: Install Flutter to your plugins and restart Android Studio

No Cargo command called ndk

Error:

error: no such command: `ndk`

        Did you mean `add`?

        View all installed commands with `cargo --list`

Solution:

  1. Install toolchains:
rustup target add \
    aarch64-linux-android \
    armv7-linux-androideabi \
    x86_64-linux-android \
    i686-linux-android
  1. Install Cargo NDK
cargo install cargo-ndk

Error: Could not find any NDK.

Error:

error: Could not find any NDK.
note: Set the environment ANDROID_NDK_HOME to your NDK installation's root directory,
or install the NDK using Android Studio.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:cargoBuildDebug'.
> Process 'command 'sh'' finished with non-zero exit value 1

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Get more help at https://help.gradle.org

Solution on Unix: Change the path in your bash profile file by adding lines like this. Your exact NDK path may differ

export ANDROID_NDK_HOME=/home/kyler/Android/Sdk/ndk/26.1.10909125
export PATH=$ANDROID_NDK_HOME:$PATH 

catenary-flutter's People

Contributors

kylerchin avatar lolpro11 avatar andrew-shc avatar falsidge avatar bustosandrew avatar 42a7c5 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.