Giter VIP home page Giter VIP logo

canto's Introduction

Hi! It's nice to see you landing here.

Open Source? Yes! Maintenance Website shields.io

My name is Pedro Boueke. I'm a software engineer. In this page you'll find some of the stuff I've been working on. You can contact me with my email, phboueke at gmail.com.

 

canto's People

Contributors

pboueke avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

canto's Issues

Build issues derived from `react-native-mmkv-storage`

Build error:

CMake error for using react-native-mmkv-storage with Android.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':react-native-mmkv-storage:configureCMakeDebug'.
> C/C++: /home/jawa/Repositories/canto/node_modules/react-native-mmkv-storage/android/src/main/rnmmkv/CMakeLists.txt debug|armeabi-v7a : CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
  Please set them or make sure they are set and tested correctly in the CMake files:
  REACT_NATIVE_JNI_LIB
      linked by target "rnmmkv" in directory /home/jawa/Repositories/canto/node_modules/react-native-mmkv-storage/android/src/main/rnmmkv

Current work-around:

This project uses react-native-mmkv-storage. If the project wont build after following the installation instrunctions, you may need to follow these steps:

  1. In the Android Studio SDK Manager, install CMake 3.10 and make sure it is the only version available.

  2. In the Android Studio Manager, install NDK 21.4.7075529 and make sure it is the only version available.

  3. Specify CMake version at MMKV's build.gradle file.

  • Automated option: run the fix-mmkv script: yarn fix-mmkv (also included in the yarn android script)

  • Manual option: enter node_modules/react-native-mmkv-storage/android/build.gradle and make sure that the CMake version above is specified at externalNativeBuild. Like so:

externalNativeBuild {
    cmake {
        path "./src/main/rnmkv/CMakeLists.txt"
        version "3.10.2"
    }
}

The previous steps came from this related discussion. If they didn´t work, try the following:

4. Delete and reinstall node_modules, apply step 3

5. Clean your project with ./gradlew clean or Android Studio

6. In Android Studio, run Build -> Refresh Linked C++ Projects

The current build process is not deterministic. The previous steps work sometimes, fail others. I am still trying to figure it out. Currently, follow steps 1 to 3 and repeat 5 and 6 untill the project can be built (help needed).

  1. This specific order in Android Studio seems to always work: Build/Clean, Build/Refresh Linked C++ Projects, Build/Make Project, Build/Make Project (yes, build twice, ignore the errors, only the last make should end correctly). Be sure that metro is not running while you do it. Then running yarn android should work.

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.