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

Execution failed for task ':app:compileDebugAidl' during compilation #16178

Closed
giacomocerquone opened this issue Oct 3, 2017 · 6 comments
Closed
Labels
Stale There has been a lack of activity on this issue and it may be closed soon.

Comments

@giacomocerquone
Copy link

giacomocerquone commented Oct 3, 2017

Is this a bug report?

yes

Have you read the Contributing Guidelines?

yes

Environment

(There is a bug in your info too)

Environment:
  OS:  Linux 4.10
  Node:  8.6.0
  Yarn:  Not Found
  npm:  5.4.2
  Watchman:  Not Found
Error: unable to print environment info
{ Error: not found: xcodebuild
    at getNotFoundError (/home/jhacked/Github/asd/node_modules/which/which.js:13:12)
    at Function.whichSync [as sync] (/home/jhacked/Github/asd/node_modules/which/which.js:134:9)
    at getXcodeVersion (/home/jhacked/Github/asd/node_modules/envinfo/envinfo.js:17:25)
    at Object.module.exports.print (/home/jhacked/Github/asd/node_modules/envinfo/envinfo.js:136:28)
    at Object.info (/home/jhacked/Github/asd/node_modules/react-native/local-cli/info/info.js:17:13)
    at Promise.resolve.then (/home/jhacked/Github/asd/node_modules/react-native/local-cli/cliEntry.js:109:26)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)
    at Function.Module.runMain (module.js:667:11)
    at startup (bootstrap_node.js:187:16) code: 'ENOENT' }

Steps to Reproduce

  1. Create a new project wiht react-native init temp
  2. cd temp
  3. npm install
  4. react-native run-android (and here I get the error)

Actual Behavior

I've got an Execution failed for task ':app:compileDebugAidl'

Actually I found this issue where the guy had the same problem: #14733 and I managed to solve it like he says, but I'm not comfortable repeating all those steps for every project I have.

I'd like to know why this happens, what exactly is missing and how to install this missing piece in order to happily compile my apks

Thank you very much for you work

@giacomocerquone
Copy link
Author

Hint: with create-react-native-app everything works gracefully

@giacomocerquone
Copy link
Author

Another guy has the same problem here and it got it working but I don't know how: react-native-image-picker/react-native-image-picker#521

Someone can give me a hand on this?

@stale
Copy link

stale bot commented Dec 3, 2017

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Maybe the issue has been fixed in a recent release, or perhaps it is not affecting a lot of people. If you think this issue should definitely remain open, please let us know why. Thank you for your contributions.

@stale stale bot added the Stale There has been a lack of activity on this issue and it may be closed soon. label Dec 3, 2017
@stale stale bot closed this as completed Dec 10, 2017
@danarth
Copy link

danarth commented Feb 22, 2018

@giacomocerquone Did you ever find a fix for this? 🤞

@giacomocerquone
Copy link
Author

giacomocerquone commented Feb 22, 2018

@DanielArthurUK I've always used the react-native boilerplate and upgrading it with react-native-git-upgrade this problem disappeared

@giacomocerquone
Copy link
Author

giacomocerquone commented Mar 8, 2018

@DanielArthurUK I correct myself, after upgrading it in a new project it's actually not working.
Someone from above can explain us something?

@facebook facebook locked and limited conversation to collaborators May 15, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Stale There has been a lack of activity on this issue and it may be closed soon.
Projects
None yet
Development

No branches or pull requests

2 participants