Execution failed for task ':app:compileDebugAidl' during compilation
See original GitHub issueIs 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
- Create a new project wiht react-native init temp
- cd temp
- npm install
- 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: https://github.com/facebook/react-native/issues/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
Issue Analytics
- State:
- Created 6 years ago
- Comments:6
Top Results From Across the Web
Execution failed for task ':app:compileDebugAidl': aidl is ...
This bug happens when the versions of SDK, Build Tools and Gradle Plugins doesn't match (in terms of compatibility). The solution is to...
Read more >Execution failed for Task :app:compileDebugAidl FAILED
Hi, When I try to launch or package my project (targeting android and occulus quest) I get this error log.
Read more >Fix - Execution failed for task ':app:compileDebugAidl': aidl is ...
This video shows a Fix to a common error in Android development studio and the fix is simple... Execution failed for task ......
Read more >Error:Execution failed for task ':app:compileDebugAidl'
Hi! I am trying to develop in Android Studio a android aplicattion to get data from barcode with the emdk, follwing this tutorial:...
Read more >Execution failed for task ':app:compileDebugAidl': aidl is ...
This bug happens when the versions of SDK, Build Tools and Gradle Plugins doesn't match (in terms of compatibility). The solution is to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@DanielArthurUK I’ve always used the react-native boilerplate and upgrading it with react-native-git-upgrade this problem disappeared
@DanielArthurUK I correct myself, after upgrading it in a new project it’s actually not working. Someone from above can explain us something?