Code Monkey home page Code Monkey logo

react-native-colo-loco's People

Contributors

a7medev avatar jamonholmgren avatar semantic-release-bot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

react-native-colo-loco's Issues

[Android] Ignited app with colo loco breaks when building on AppCenter

I built a new app with Ignite (love it!), and it builds fine locally.

When I build in Android Studio it works fine. When I build it on AppCenter, it fails and points to Colo Loco:

* Where:
Script '/Users/runner/work/1/s/ThriveBusiness/node_modules/react-native-colo-loco/scripts/android.groovy' line: 17

* What went wrong:
A problem occurred evaluating settings 'android'.
> /Users/runner/work/1/app does not exist.

The only non-standard part of my Ignite setup is that I use /src instead of /app for my JS folder. I've tried both of these in settings.gradle

apply from: '../node_modules/react-native-colo-loco/scripts/android.groovy'
linkColocatedNativeFiles([
  appPath: "../app", // also tried using "../src"
  appPackageName: "com.myappname",
  androidPath: "./android/app/src/main/java/com/myappname"
])

I can see that whatever I change this appPath to is what comes out in the AppCenter build error as not existing, e.g. if I make it ../app it will say > /Users/runner/work/1/app does not exist., and if I do ../src it will say > /Users/runner/work/1/src does not exist.

May be a clue. Either way, I've opted to remove colo loco from my project for now.

Can't locate source folder on Android

I created a new app using npx react-native init MyApp then installed and set up colo-loco using yarn install-colo-loco
The iOS version works well, while the Android one doesn't.
Whenever I run yarn android I get this error:

Error: Command failed: ./gradlew app:installDebug -PreactNativeDevServerPort=8081

FAILURE: Build failed with an exception.

  • Where:
    Script '/private/tmp/ColoLocoTest/node_modules/react-native-colo-loco/scripts/android.groovy' line: 10

  • What went wrong:
    A problem occurred evaluating settings 'android'.

/Users/a7medev/.gradle/daemon/app does not exist.

The problem I guess is that it's looking for the "app" folder (Source folder I picked in the install script) in the .gradle/daemon folder (I changed "app" to "src" and got an error with .../.gradle/daemon/src does not exist.

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.