Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to add aar file to react-native project #15854

Closed
hariramsvnit opened this issue Sep 7, 2017 · 1 comment
Closed

Not able to add aar file to react-native project #15854

hariramsvnit opened this issue Sep 7, 2017 · 1 comment
Labels
Resolution: Locked This issue was locked by the bot.

Comments

@hariramsvnit
Copy link

I am building a react-native project for android but not able to add an aar file as a dependency.

I have followed following steps

  1. Created libs folder inside android folder and placed aar file in that.

  2. Written this in top level Gradle

     ` repositories {
        mavenCentral()
        flatDir {
          dirs 'libs'
        }
     }`
    
  3. added following line to dependencies

     `compile project(name: "xyz", ext: 'aar')`
    

And I am facing this error while building

`* What went wrong:
A problem occurred evaluating project ':react-native-abc'.
> Required keys [path] are missing from map {name=xyz, ext=aar}.`
@hariramsvnit hariramsvnit changed the title Not able to add aar file to android project Not able to add aar file to react-native project Sep 7, 2017
@pull-bot
Copy link

pull-bot commented Oct 9, 2017

Hey, thanks for reporting this issue!

It looks like your description is missing some necessary information, or the list of reproduction steps is not complete. Can you please add all the details specified in the template? This is necessary for people to be able to understand and reproduce the issue being reported.

I am going to close this, but feel free to open a new issue that meets the requirements set forth in the template. Thanks!

@hramos hramos closed this as completed Oct 9, 2017
@facebook facebook locked as resolved and limited conversation to collaborators Oct 9, 2018
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Oct 9, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

4 participants