Closed tianzige666 closed 2 years ago
@belemaire When i run "ern create-composite", i got this error: "An error occurred: At least one MiniApp or JS API implementation is needed to generate a composite"
i want to build a aar module
Hi @crazySadSoul try this command to create a container:
ern create-container --miniapps /absolute/path/to/miniapp_directory --platform ios|android
for composites you may want to try this one:
ern create-composite -m /absolute/path/to/miniapp1_directory /absolute/path/to/miniapp2_directory
Let me know if that helps or not.
Hi @crazySadSoul try this command to create a container:
ern create-container --miniapps /absolute/path/to/miniapp_directory --platform ios|android
for composites you may want to try this one:ern create-composite -m /absolute/path/to/miniapp1_directory /absolute/path/to/miniapp2_directory
Let me know if that helps or not.
It work for me! Thank you! But i cant find aar module in the generated directory.
It work for me! Thank you! But i cant find aar module in the generated directory.
@crazySadSoul Try running the publish container to your local Maven repository, for example:
ern publish-container -p maven --platform android -e '{"groupId":"com.walmart.ern","artifactId":"quickstart"}'
Then look inside your $HOME/.m2 folder and locate the generated AAR artifact there.
@leekuo its successful to generated aar module. 👍
That is awesome, great to hear!
I want to create a container:
First i init a miniapp with Electrode-native Cli. then i run command with "ern run-android" cli was successful.
Can you guys tell me the step for the create container! Please help!!!!!!!!!!