GithubHelp home page GithubHelp logo

Comments (12)

lolevsky avatar lolevsky commented on June 14, 2024 1

For iOS you may want to check this one
https://github.com/artsy/emission

from react-native-as-an-android-lib.

glung avatar glung commented on June 14, 2024

from react-native-as-an-android-lib.

zsajjad avatar zsajjad commented on June 14, 2024

Can you please describe the steps to run this project? I am unable to run it, multiple errors!

from react-native-as-an-android-lib.

glung avatar glung commented on June 14, 2024

In lib folder :
In Application folder : ./gradlew assembleDebug

Then you can install the APK.

from react-native-as-an-android-lib.

glung avatar glung commented on June 14, 2024

can you please with the steps as you would like it to be described?
https://github.com/glung/react-native-as-an-android-lib/blob/master/README.md

from react-native-as-an-android-lib.

zsajjad avatar zsajjad commented on June 14, 2024
cd lib/
react-native-as-an-android-lib-master/lib : > npm i
react-native-as-an-android-lib-master/lib : > cd android/
react-native-as-an-android-lib-master/lib/android : > ./gradlew assembleDebug

I changed the targetSdkVersion 23 & buildToolsVersion "23.0.2"
lib-debug.aar is there is output directory. Then,

react-native-as-an-android-lib-master/Application : > ./gradlew assembleDebug

> Could not resolve all dependencies for configuration ':app:_debugCompile'.
   > Could not find com.facebook.react:react-native:0.32.0.
     Searched in the following locations:
         https://jcenter.bintray.com/com/facebook/react/react-native/0.32.0/react-native-0.32.0.pom
         https://jcenter.bintray.com/com/facebook/react/react-native/0.32.0/react-native-0.32.0.jar
         file:/home/fs/.m2/repository/com/facebook/react/react-native/0.32.0/react-native-0.32.0.pom
         file:/home/fs/.m2/repository/com/facebook/react/react-native/0.32.0/react-native-0.32.0.jar
         file:/media/fs/data/git/react-native-as-an-android-lib-master/lib/android/lib/build/outputs/aar/react-native-0.32.0.jar
         file:/media/fs/data/git/react-native-as-an-android-lib-master/lib/android/lib/build/outputs/aar/react-native.jar
         file:/data/android-sdk/extras/android/m2repository/com/facebook/react/react-native/0.32.0/react-native-0.32.0.pom
         file:/data/android-sdk/extras/android/m2repository/com/facebook/react/react-native/0.32.0/react-native-0.32.0.jar
         file:/data/android-sdk/extras/google/m2repository/com/facebook/react/react-native/0.32.0/react-native-0.32.0.pom
         file:/data/android-sdk/extras/google/m2repository/com/facebook/react/react-native/0.32.0/react-native-0.32.0.jar
         file:/data/android-sdk/extras/m2repository/com/facebook/react/react-native/0.32.0/react-native-0.32.0.pom
         file:/data/android-sdk/extras/m2repository/com/facebook/react/react-native/0.32.0/react-native-0.32.0.jar
     Required by:
         Application:app:unspecified

from react-native-as-an-android-lib.

glung avatar glung commented on June 14, 2024

Maybe the react build tree changed.

Locate the aar file and update the directory here : https://github.com/glung/react-native-as-an-android-lib/blob/master/Application/app/build.gradle#L34

Please, report here, and I'll fix it

from react-native-as-an-android-lib.

deepCyan avatar deepCyan commented on June 14, 2024

Hello, senior
Your project is of great significance to me.
I also wanna build my react-native project to a arr file.
So If you have time,would you mind telling me what should I do ? Like add or update some file...
Esteem it a favor

from react-native-as-an-android-lib.

glung avatar glung commented on June 14, 2024

from react-native-as-an-android-lib.

waleedarshad avatar waleedarshad commented on June 14, 2024

+1

from react-native-as-an-android-lib.

bobbyrinaldy avatar bobbyrinaldy commented on June 14, 2024

@glung Hello there, im interested with this kind of project, because right now, i want to integrating my React Native Apps (Which is already Done with some feature and working properly on APK/IPA) , but i want to made it like an AAR or .framework to re-useable on any other apps by importing it as Android Native Libs. where can i find something like tutorial , or maybe step by step the way you done this. bcs , its like for a week, nothing i can found

from react-native-as-an-android-lib.

glung avatar glung commented on June 14, 2024

Hey sorry, the repo is unmaintained (it's an experiment from 5 years ago) and now archived.

from react-native-as-an-android-lib.

Related Issues (4)

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.