Closed jerinho closed 5 years ago
Hey, did you create the library from master? The version on npm unfortunately is really outdated: #78
created it directly from command. here some details
Try out creating it from master. As said above the npm version is pretty old, unfortunately I don't have the permissions to push a new version.
ok. now i'm understand. we need to create a react-native app first using react-native init
before react-native-create-library. they should fix the documentation
Hey, did you create the library from master? The version on npm unfortunately is really outdated: #78
how do you know i used npm?. because i'm pretty sure i used yarn
What I meant is if you installed react-native-create-library
from the npm registry. yarn
uses the npm registry to install packages.
ok. now i'm understand. we need to create a react-native app first using
react-native init
before react-native-create-library. they should fix the documentation
unfortunately this not working either. it asking for gradle-wrappers version of 2.2 and revert build tools version from latest one to the oldest one possible. if i change it back manually the compilation fail saying com.reactlibrary.MyActivity not found
Try out creating it from master. As said above the npm version is pretty old, unfortunately I don't have the permissions to push a new version.
i guess it's from master
npm i -g git+https://github.com/frostney/react-native-create-library.git
i close this issue as it's a misunderstanding. i suggest you to edit the instruction of how to use this repo. i've wrote some steps to follow in issue #89
thank you for all your responses 😺
react-native-create-library command does not created MainActivity.java file. Only ...Module.java and ...Package.java created. And also an empty AndroidManifest.xml
Why?