Skip to content

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

@giacomocerquone

Description

@giacomocerquone

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    StaleThere has been a lack of activity on this issue and it may be closed soon.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions