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

Task 'installRelease' not found in root project #16617

Closed
realtebo opened this issue Oct 31, 2017 · 3 comments
Closed

Task 'installRelease' not found in root project #16617

realtebo opened this issue Oct 31, 2017 · 3 comments
Labels
Ran Commands One of our bots successfully processed a command. Resolution: Locked This issue was locked by the bot.

Comments

@realtebo
Copy link

From this page of the doc: https://facebook.github.io/react-native/docs/running-on-device.html

I see

Hint
You can also use the React Native CLI to generate and run a Release build (e.g. react-native run-android --variant=release).

So I tried and this is the result

react-native run-android --variant=release
Scanning folders for symlinks in C:\Users\realtebo\Downloads\AwesomeProject\node_modules (54ms)
JS server already running.
Building and installing the app on the device (cd android && gradlew.bat installRelease)...
Incremental java compilation is an incubating feature.

FAILURE: Build failed with an exception.

* What went wrong:
Task 'installRelease' not found in root project 'Maiscai'. Some candidates are: 'uninstallRelease'.

* Try:
Run gradlew tasks to get a list of available tasks. Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

My app is born from react-native init.

	"dependencies": {
		"react": "16.0.0-beta.5",
		"react-native": "0.49.5",
		"react-redux": "^5.0.6",
		"redux": "^3.7.2",
		"redux-thunk": "^2.2.0"
	},
	"devDependencies": {
		"babel-jest": "21.2.0",
		"babel-preset-react-native": "4.0.0",
		"eslint": "^4.10.0",
		"eslint-plugin-react": "^7.4.0",
		"eslint-plugin-react-native": "^3.1.0",
		"jest": "21.2.1",
		"react-test-renderer": "16.0.0-beta.5"
	},

@react-native-bot
Copy link
Collaborator

@facebook-github-bot no-template

@facebook-github-bot
Copy link
Contributor

Hey @realtebo, thanks for posting this! It looks like your issue is missing some required information. Can you please add all the details specified in the Issue Template? This is necessary for people to be able to understand and reproduce your issue. I am going to close this, but please feel free to open a new issue with the additional information provided. Thanks!

How to ContributeWhat to Expect from Maintainers

@facebook-github-bot facebook-github-bot added the Ran Commands One of our bots successfully processed a command. label Oct 31, 2017
@ThaJay
Copy link

ThaJay commented Nov 16, 2017

This template is all well and good.. But what happened to installRelease??
#16854

@facebook facebook locked as resolved and limited conversation to collaborators Oct 31, 2018
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Oct 31, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Ran Commands One of our bots successfully processed a command. Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

4 participants