React Native : react-native run-android gives an error2019 Community Moderator ElectionWhat is the difference between React Native and React?react native run android failingReact Native FAILURE: Build failed with an exception. Could not resolve ':classpath'. Could not find com.android.tools.build:gradle:3.0.1React-native build failed with gradle:3.0.1 missing errorReact native android emulator doesn't run applicationError react native when run react-native run-androidj center or something else?React native build-failed AndroidCould not resolve com.android.tools.build:gradle:3.1.4, react-native run-androidConnect to 192.168.0.1:8080 [/192.168.0.1] failed: Connection timed out: connect in node js when resolving com.android.tools.build:gradle:3.1.4
Playing ONE triplet (not three)
What has been your most complicated TikZ drawing?
Time dilation for a moving electronic clock
Question about partial fractions with irreducible quadratic factors
Decoding assembly instructions in a Game Boy disassembler
Can the druid cantrip Thorn Whip really defeat a water weird this easily?
"One can do his homework in the library"
Does anyone draw a parallel between Haman selling himself to Mordechai and Esav selling the birthright to Yaakov?
How can I discourage/prevent PCs from using door choke-points?
When two POV characters meet
Should QA ask requirements to developers?
Is King K. Rool's down throw to up-special a true combo?
Does splitting a potentially monolithic application into several smaller ones help prevent bugs?
Is "history" a male-biased word ("his+story")?
Extension of Splitting Fields over An Arbitrary Field
Touchscreen-controlled dentist office snowman collector game
Sword in the Stone story where the sword was held in place by electromagnets
It's a yearly task, alright
How does Dispel Magic work against Stoneskin?
Latest web browser compatible with Windows 98
Replacing Windows 7 security updates with anti-virus?
Ban on all campaign finance?
Single word request: Harming the benefactor
Do I need to leave some extra space available on the disk which my database log files reside, for log backup operations to successfully occur?
React Native : react-native run-android gives an error
2019 Community Moderator ElectionWhat is the difference between React Native and React?react native run android failingReact Native FAILURE: Build failed with an exception. Could not resolve ':classpath'. Could not find com.android.tools.build:gradle:3.0.1React-native build failed with gradle:3.0.1 missing errorReact native android emulator doesn't run applicationError react native when run react-native run-androidj center or something else?React native build-failed AndroidCould not resolve com.android.tools.build:gradle:3.1.4, react-native run-androidConnect to 192.168.0.1:8080 [/192.168.0.1] failed: Connection timed out: connect in node js when resolving com.android.tools.build:gradle:3.1.4
Could not resolve all files for configuration ':classpath'.
Could not resolve org.glassfish.jaxb:jaxb-runtime:2.2.11.
Required by:
project : > com.android.tools.build:gradle:3.1.4 > com.android.tools.build:gradle-core:3.1.4 > com.android.tools.build:builder:3.1.4 > com.android.tools:sdklib:26.1.4 > com.android.tools:repository:26.1.4
Could not resolve org.glassfish.jaxb:jaxb-runtime:2.2.11.
Could not parse POM https://jcenter.bintray.com/org/glassfish/jaxb/jaxb-runtime/2.2.11/jaxb-runtime-2.2.11.pom
Could not resolve com.sun.xml.bind.mvn:jaxb-runtime-parent:2.2.11.
Could not resolve com.sun.xml.bind.mvn:jaxb-runtime-parent:2.2.11.
Could not parse POM https://jcenter.bintray.com/com/sun/xml/bind/mvn/jaxb-runtime-parent/2.2.11/jaxb-runtime-parent-2.2.11.pom
Could not resolve com.sun.xml.bind.mvn:jaxb-parent:2.2.11.
Could not resolve com.sun.xml.bind.mvn:jaxb-parent:2.2.11.
Could not parse POM https://jcenter.bintray.com/com/sun/xml/bind/mvn/jaxb-parent/2.2.11/jaxb-parent-2.2.11.pom
Invalid byte 1 of 1-byte UTF-8 sequence.
react-native classpath
add a comment |
Could not resolve all files for configuration ':classpath'.
Could not resolve org.glassfish.jaxb:jaxb-runtime:2.2.11.
Required by:
project : > com.android.tools.build:gradle:3.1.4 > com.android.tools.build:gradle-core:3.1.4 > com.android.tools.build:builder:3.1.4 > com.android.tools:sdklib:26.1.4 > com.android.tools:repository:26.1.4
Could not resolve org.glassfish.jaxb:jaxb-runtime:2.2.11.
Could not parse POM https://jcenter.bintray.com/org/glassfish/jaxb/jaxb-runtime/2.2.11/jaxb-runtime-2.2.11.pom
Could not resolve com.sun.xml.bind.mvn:jaxb-runtime-parent:2.2.11.
Could not resolve com.sun.xml.bind.mvn:jaxb-runtime-parent:2.2.11.
Could not parse POM https://jcenter.bintray.com/com/sun/xml/bind/mvn/jaxb-runtime-parent/2.2.11/jaxb-runtime-parent-2.2.11.pom
Could not resolve com.sun.xml.bind.mvn:jaxb-parent:2.2.11.
Could not resolve com.sun.xml.bind.mvn:jaxb-parent:2.2.11.
Could not parse POM https://jcenter.bintray.com/com/sun/xml/bind/mvn/jaxb-parent/2.2.11/jaxb-parent-2.2.11.pom
Invalid byte 1 of 1-byte UTF-8 sequence.
react-native classpath
Which react-native package have you linked recently ?
– Kornflexx
Mar 7 at 11:09
I ejected this project from expo. But all react-native projects in my computer gives this error
– Mobile Dev
Mar 7 at 11:10
add a comment |
Could not resolve all files for configuration ':classpath'.
Could not resolve org.glassfish.jaxb:jaxb-runtime:2.2.11.
Required by:
project : > com.android.tools.build:gradle:3.1.4 > com.android.tools.build:gradle-core:3.1.4 > com.android.tools.build:builder:3.1.4 > com.android.tools:sdklib:26.1.4 > com.android.tools:repository:26.1.4
Could not resolve org.glassfish.jaxb:jaxb-runtime:2.2.11.
Could not parse POM https://jcenter.bintray.com/org/glassfish/jaxb/jaxb-runtime/2.2.11/jaxb-runtime-2.2.11.pom
Could not resolve com.sun.xml.bind.mvn:jaxb-runtime-parent:2.2.11.
Could not resolve com.sun.xml.bind.mvn:jaxb-runtime-parent:2.2.11.
Could not parse POM https://jcenter.bintray.com/com/sun/xml/bind/mvn/jaxb-runtime-parent/2.2.11/jaxb-runtime-parent-2.2.11.pom
Could not resolve com.sun.xml.bind.mvn:jaxb-parent:2.2.11.
Could not resolve com.sun.xml.bind.mvn:jaxb-parent:2.2.11.
Could not parse POM https://jcenter.bintray.com/com/sun/xml/bind/mvn/jaxb-parent/2.2.11/jaxb-parent-2.2.11.pom
Invalid byte 1 of 1-byte UTF-8 sequence.
react-native classpath
Could not resolve all files for configuration ':classpath'.
Could not resolve org.glassfish.jaxb:jaxb-runtime:2.2.11.
Required by:
project : > com.android.tools.build:gradle:3.1.4 > com.android.tools.build:gradle-core:3.1.4 > com.android.tools.build:builder:3.1.4 > com.android.tools:sdklib:26.1.4 > com.android.tools:repository:26.1.4
Could not resolve org.glassfish.jaxb:jaxb-runtime:2.2.11.
Could not parse POM https://jcenter.bintray.com/org/glassfish/jaxb/jaxb-runtime/2.2.11/jaxb-runtime-2.2.11.pom
Could not resolve com.sun.xml.bind.mvn:jaxb-runtime-parent:2.2.11.
Could not resolve com.sun.xml.bind.mvn:jaxb-runtime-parent:2.2.11.
Could not parse POM https://jcenter.bintray.com/com/sun/xml/bind/mvn/jaxb-runtime-parent/2.2.11/jaxb-runtime-parent-2.2.11.pom
Could not resolve com.sun.xml.bind.mvn:jaxb-parent:2.2.11.
Could not resolve com.sun.xml.bind.mvn:jaxb-parent:2.2.11.
Could not parse POM https://jcenter.bintray.com/com/sun/xml/bind/mvn/jaxb-parent/2.2.11/jaxb-parent-2.2.11.pom
Invalid byte 1 of 1-byte UTF-8 sequence.
react-native classpath
react-native classpath
asked Mar 7 at 11:07
Mobile DevMobile Dev
96
96
Which react-native package have you linked recently ?
– Kornflexx
Mar 7 at 11:09
I ejected this project from expo. But all react-native projects in my computer gives this error
– Mobile Dev
Mar 7 at 11:10
add a comment |
Which react-native package have you linked recently ?
– Kornflexx
Mar 7 at 11:09
I ejected this project from expo. But all react-native projects in my computer gives this error
– Mobile Dev
Mar 7 at 11:10
Which react-native package have you linked recently ?
– Kornflexx
Mar 7 at 11:09
Which react-native package have you linked recently ?
– Kornflexx
Mar 7 at 11:09
I ejected this project from expo. But all react-native projects in my computer gives this error
– Mobile Dev
Mar 7 at 11:10
I ejected this project from expo. But all react-native projects in my computer gives this error
– Mobile Dev
Mar 7 at 11:10
add a comment |
1 Answer
1
active
oldest
votes
It is related to your android gradle version. try to update your gradle version by 3.1.4 as its written. "Required by: project : > com.android.tools.build:gradle:3.1.4"
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55042361%2freact-native-react-native-run-android-gives-an-error%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
It is related to your android gradle version. try to update your gradle version by 3.1.4 as its written. "Required by: project : > com.android.tools.build:gradle:3.1.4"
add a comment |
It is related to your android gradle version. try to update your gradle version by 3.1.4 as its written. "Required by: project : > com.android.tools.build:gradle:3.1.4"
add a comment |
It is related to your android gradle version. try to update your gradle version by 3.1.4 as its written. "Required by: project : > com.android.tools.build:gradle:3.1.4"
It is related to your android gradle version. try to update your gradle version by 3.1.4 as its written. "Required by: project : > com.android.tools.build:gradle:3.1.4"
answered Mar 7 at 12:02
Fazle Rabbi AdorFazle Rabbi Ador
317
317
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55042361%2freact-native-react-native-run-android-gives-an-error%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Which react-native package have you linked recently ?
– Kornflexx
Mar 7 at 11:09
I ejected this project from expo. But all react-native projects in my computer gives this error
– Mobile Dev
Mar 7 at 11:10