Gradle sync failed. Basic functionality will not work properly
When I run project I got gradle sync failed error.
Here are the error:
org.gradle.internal.resource.transport.http.HttpErrorStatusCodeException: Could not HEAD 'http://repo.pageturner-reader.org/com/highsoft/highcharts/highcharts/6.1.4/highcharts-6.1.4.pom'. Received status code 403 from server: Forbidden<35 Internal calls>
Below is full error message:
Executing tasks: [assembleDebug]
WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.
It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
Could not find google-services.json while looking in [src/nullnull/debug, src/debug/nullnull, src/nullnull, src/debug, src/nullnullDebug]
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
Could not find google-services.json while looking in [src/nullnull/release, src/release/nullnull, src/nullnull, src/release, src/nullnullRelease]
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
:app:preBuild UP-TO-DATE
:app:preDebugBuild FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Could not resolve all files for configuration ':app:debugCompileClasspath'.
> Could not resolve com.osbcp.cssparser:cssparser:1.5.
Required by:
project :app
> Could not resolve com.osbcp.cssparser:cssparser:1.5.
> Could not get resource 'http://repo.pageturner-reader.org/com/osbcp/cssparser/cssparser/1.5/cssparser-1.5.pom'.
> Could not GET 'http://repo.pageturner-reader.org/com/osbcp/cssparser/cssparser/1.5/cssparser-1.5.pom'. Received status code 403 from server: Forbidden
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 17s
My Top-level build file are
buildscript {
repositories {
jcenter()
maven { url 'https://maven.fabric.io/public' }
maven { url 'https://maven.google.com' }
maven { url "https://highsoft.bintray.com/Highcharts"}
mavenCentral()
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.1.1'
classpath 'com.google.gms:google-services:3.2.0'
classpath 'io.fabric.tools:gradle:1.25.1'
classpath "io.realm:realm-gradle-plugin:2.2.0"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
Here is my app level build.gradle file content.
buildscript {
repositories {
jcenter()
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.1.1'
classpath 'com.google.gms:google-services:3.0.0'
}
}
allprojects {
repositories {
google()
maven {
url "https://maven.google.com"
name 'Google'
}
maven {
url "http://repo.pageturner-reader.org"
}
maven {
url "https://highsoft.bintray.com/Highcharts"
}
maven {
url "https://jitpack.io"
}
jcenter()
}
}
Please help me to solve this issue.
android highcharts build.gradle
add a comment |
When I run project I got gradle sync failed error.
Here are the error:
org.gradle.internal.resource.transport.http.HttpErrorStatusCodeException: Could not HEAD 'http://repo.pageturner-reader.org/com/highsoft/highcharts/highcharts/6.1.4/highcharts-6.1.4.pom'. Received status code 403 from server: Forbidden<35 Internal calls>
Below is full error message:
Executing tasks: [assembleDebug]
WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.
It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
Could not find google-services.json while looking in [src/nullnull/debug, src/debug/nullnull, src/nullnull, src/debug, src/nullnullDebug]
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
Could not find google-services.json while looking in [src/nullnull/release, src/release/nullnull, src/nullnull, src/release, src/nullnullRelease]
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
:app:preBuild UP-TO-DATE
:app:preDebugBuild FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Could not resolve all files for configuration ':app:debugCompileClasspath'.
> Could not resolve com.osbcp.cssparser:cssparser:1.5.
Required by:
project :app
> Could not resolve com.osbcp.cssparser:cssparser:1.5.
> Could not get resource 'http://repo.pageturner-reader.org/com/osbcp/cssparser/cssparser/1.5/cssparser-1.5.pom'.
> Could not GET 'http://repo.pageturner-reader.org/com/osbcp/cssparser/cssparser/1.5/cssparser-1.5.pom'. Received status code 403 from server: Forbidden
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 17s
My Top-level build file are
buildscript {
repositories {
jcenter()
maven { url 'https://maven.fabric.io/public' }
maven { url 'https://maven.google.com' }
maven { url "https://highsoft.bintray.com/Highcharts"}
mavenCentral()
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.1.1'
classpath 'com.google.gms:google-services:3.2.0'
classpath 'io.fabric.tools:gradle:1.25.1'
classpath "io.realm:realm-gradle-plugin:2.2.0"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
Here is my app level build.gradle file content.
buildscript {
repositories {
jcenter()
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.1.1'
classpath 'com.google.gms:google-services:3.0.0'
}
}
allprojects {
repositories {
google()
maven {
url "https://maven.google.com"
name 'Google'
}
maven {
url "http://repo.pageturner-reader.org"
}
maven {
url "https://highsoft.bintray.com/Highcharts"
}
maven {
url "https://jitpack.io"
}
jcenter()
}
}
Please help me to solve this issue.
android highcharts build.gradle
github.com/corgrath/osbcp-css-parser ...had been abandoned.
– Martin Zeitler
Jan 2 at 12:36
add a comment |
When I run project I got gradle sync failed error.
Here are the error:
org.gradle.internal.resource.transport.http.HttpErrorStatusCodeException: Could not HEAD 'http://repo.pageturner-reader.org/com/highsoft/highcharts/highcharts/6.1.4/highcharts-6.1.4.pom'. Received status code 403 from server: Forbidden<35 Internal calls>
Below is full error message:
Executing tasks: [assembleDebug]
WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.
It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
Could not find google-services.json while looking in [src/nullnull/debug, src/debug/nullnull, src/nullnull, src/debug, src/nullnullDebug]
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
Could not find google-services.json while looking in [src/nullnull/release, src/release/nullnull, src/nullnull, src/release, src/nullnullRelease]
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
:app:preBuild UP-TO-DATE
:app:preDebugBuild FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Could not resolve all files for configuration ':app:debugCompileClasspath'.
> Could not resolve com.osbcp.cssparser:cssparser:1.5.
Required by:
project :app
> Could not resolve com.osbcp.cssparser:cssparser:1.5.
> Could not get resource 'http://repo.pageturner-reader.org/com/osbcp/cssparser/cssparser/1.5/cssparser-1.5.pom'.
> Could not GET 'http://repo.pageturner-reader.org/com/osbcp/cssparser/cssparser/1.5/cssparser-1.5.pom'. Received status code 403 from server: Forbidden
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 17s
My Top-level build file are
buildscript {
repositories {
jcenter()
maven { url 'https://maven.fabric.io/public' }
maven { url 'https://maven.google.com' }
maven { url "https://highsoft.bintray.com/Highcharts"}
mavenCentral()
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.1.1'
classpath 'com.google.gms:google-services:3.2.0'
classpath 'io.fabric.tools:gradle:1.25.1'
classpath "io.realm:realm-gradle-plugin:2.2.0"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
Here is my app level build.gradle file content.
buildscript {
repositories {
jcenter()
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.1.1'
classpath 'com.google.gms:google-services:3.0.0'
}
}
allprojects {
repositories {
google()
maven {
url "https://maven.google.com"
name 'Google'
}
maven {
url "http://repo.pageturner-reader.org"
}
maven {
url "https://highsoft.bintray.com/Highcharts"
}
maven {
url "https://jitpack.io"
}
jcenter()
}
}
Please help me to solve this issue.
android highcharts build.gradle
When I run project I got gradle sync failed error.
Here are the error:
org.gradle.internal.resource.transport.http.HttpErrorStatusCodeException: Could not HEAD 'http://repo.pageturner-reader.org/com/highsoft/highcharts/highcharts/6.1.4/highcharts-6.1.4.pom'. Received status code 403 from server: Forbidden<35 Internal calls>
Below is full error message:
Executing tasks: [assembleDebug]
WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.
It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
Could not find google-services.json while looking in [src/nullnull/debug, src/debug/nullnull, src/nullnull, src/debug, src/nullnullDebug]
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
Could not find google-services.json while looking in [src/nullnull/release, src/release/nullnull, src/nullnull, src/release, src/nullnullRelease]
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
:app:preBuild UP-TO-DATE
:app:preDebugBuild FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Could not resolve all files for configuration ':app:debugCompileClasspath'.
> Could not resolve com.osbcp.cssparser:cssparser:1.5.
Required by:
project :app
> Could not resolve com.osbcp.cssparser:cssparser:1.5.
> Could not get resource 'http://repo.pageturner-reader.org/com/osbcp/cssparser/cssparser/1.5/cssparser-1.5.pom'.
> Could not GET 'http://repo.pageturner-reader.org/com/osbcp/cssparser/cssparser/1.5/cssparser-1.5.pom'. Received status code 403 from server: Forbidden
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 17s
My Top-level build file are
buildscript {
repositories {
jcenter()
maven { url 'https://maven.fabric.io/public' }
maven { url 'https://maven.google.com' }
maven { url "https://highsoft.bintray.com/Highcharts"}
mavenCentral()
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.1.1'
classpath 'com.google.gms:google-services:3.2.0'
classpath 'io.fabric.tools:gradle:1.25.1'
classpath "io.realm:realm-gradle-plugin:2.2.0"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
Here is my app level build.gradle file content.
buildscript {
repositories {
jcenter()
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.1.1'
classpath 'com.google.gms:google-services:3.0.0'
}
}
allprojects {
repositories {
google()
maven {
url "https://maven.google.com"
name 'Google'
}
maven {
url "http://repo.pageturner-reader.org"
}
maven {
url "https://highsoft.bintray.com/Highcharts"
}
maven {
url "https://jitpack.io"
}
jcenter()
}
}
Please help me to solve this issue.
android highcharts build.gradle
android highcharts build.gradle
edited Jan 3 at 6:23
sagar varsani
asked Jan 2 at 12:20
sagar varsanisagar varsani
1831311
1831311
github.com/corgrath/osbcp-css-parser ...had been abandoned.
– Martin Zeitler
Jan 2 at 12:36
add a comment |
github.com/corgrath/osbcp-css-parser ...had been abandoned.
– Martin Zeitler
Jan 2 at 12:36
github.com/corgrath/osbcp-css-parser ...had been abandoned.
– Martin Zeitler
Jan 2 at 12:36
github.com/corgrath/osbcp-css-parser ...had been abandoned.
– Martin Zeitler
Jan 2 at 12:36
add a comment |
2 Answers
2
active
oldest
votes
The error message you have mentioned is not in detail. To check the error in detail, click on the Gradle tab on the right side -> app -> double click on assembleDebug.
I have given a full message as per your guideline
– sagar varsani
Jan 2 at 12:36
1
The pageturner cssparser project library you have used has been closed itseems, hence the requesting url has not fetched and so 403 Error.
– Meena Dev
Jan 2 at 12:46
What should I do to resolve this error?
– sagar varsani
Jan 2 at 13:07
Refer this [stackoverflow.com/questions/38970863/… it may help you.
– Meena Dev
Jan 2 at 13:32
add a comment |
Please also provide the app level build.gradle, might have to do with the repository/dependency config there.
I have given app level build.gradle file content in question.
– sagar varsani
Jan 3 at 6:24
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%2f54006297%2fgradle-sync-failed-basic-functionality-will-not-work-properly%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
The error message you have mentioned is not in detail. To check the error in detail, click on the Gradle tab on the right side -> app -> double click on assembleDebug.
I have given a full message as per your guideline
– sagar varsani
Jan 2 at 12:36
1
The pageturner cssparser project library you have used has been closed itseems, hence the requesting url has not fetched and so 403 Error.
– Meena Dev
Jan 2 at 12:46
What should I do to resolve this error?
– sagar varsani
Jan 2 at 13:07
Refer this [stackoverflow.com/questions/38970863/… it may help you.
– Meena Dev
Jan 2 at 13:32
add a comment |
The error message you have mentioned is not in detail. To check the error in detail, click on the Gradle tab on the right side -> app -> double click on assembleDebug.
I have given a full message as per your guideline
– sagar varsani
Jan 2 at 12:36
1
The pageturner cssparser project library you have used has been closed itseems, hence the requesting url has not fetched and so 403 Error.
– Meena Dev
Jan 2 at 12:46
What should I do to resolve this error?
– sagar varsani
Jan 2 at 13:07
Refer this [stackoverflow.com/questions/38970863/… it may help you.
– Meena Dev
Jan 2 at 13:32
add a comment |
The error message you have mentioned is not in detail. To check the error in detail, click on the Gradle tab on the right side -> app -> double click on assembleDebug.
The error message you have mentioned is not in detail. To check the error in detail, click on the Gradle tab on the right side -> app -> double click on assembleDebug.
answered Jan 2 at 12:26
Meena DevMeena Dev
5719
5719
I have given a full message as per your guideline
– sagar varsani
Jan 2 at 12:36
1
The pageturner cssparser project library you have used has been closed itseems, hence the requesting url has not fetched and so 403 Error.
– Meena Dev
Jan 2 at 12:46
What should I do to resolve this error?
– sagar varsani
Jan 2 at 13:07
Refer this [stackoverflow.com/questions/38970863/… it may help you.
– Meena Dev
Jan 2 at 13:32
add a comment |
I have given a full message as per your guideline
– sagar varsani
Jan 2 at 12:36
1
The pageturner cssparser project library you have used has been closed itseems, hence the requesting url has not fetched and so 403 Error.
– Meena Dev
Jan 2 at 12:46
What should I do to resolve this error?
– sagar varsani
Jan 2 at 13:07
Refer this [stackoverflow.com/questions/38970863/… it may help you.
– Meena Dev
Jan 2 at 13:32
I have given a full message as per your guideline
– sagar varsani
Jan 2 at 12:36
I have given a full message as per your guideline
– sagar varsani
Jan 2 at 12:36
1
1
The pageturner cssparser project library you have used has been closed itseems, hence the requesting url has not fetched and so 403 Error.
– Meena Dev
Jan 2 at 12:46
The pageturner cssparser project library you have used has been closed itseems, hence the requesting url has not fetched and so 403 Error.
– Meena Dev
Jan 2 at 12:46
What should I do to resolve this error?
– sagar varsani
Jan 2 at 13:07
What should I do to resolve this error?
– sagar varsani
Jan 2 at 13:07
Refer this [stackoverflow.com/questions/38970863/… it may help you.
– Meena Dev
Jan 2 at 13:32
Refer this [stackoverflow.com/questions/38970863/… it may help you.
– Meena Dev
Jan 2 at 13:32
add a comment |
Please also provide the app level build.gradle, might have to do with the repository/dependency config there.
I have given app level build.gradle file content in question.
– sagar varsani
Jan 3 at 6:24
add a comment |
Please also provide the app level build.gradle, might have to do with the repository/dependency config there.
I have given app level build.gradle file content in question.
– sagar varsani
Jan 3 at 6:24
add a comment |
Please also provide the app level build.gradle, might have to do with the repository/dependency config there.
Please also provide the app level build.gradle, might have to do with the repository/dependency config there.
answered Jan 2 at 12:34
lukas.bloderlukas.bloder
662
662
I have given app level build.gradle file content in question.
– sagar varsani
Jan 3 at 6:24
add a comment |
I have given app level build.gradle file content in question.
– sagar varsani
Jan 3 at 6:24
I have given app level build.gradle file content in question.
– sagar varsani
Jan 3 at 6:24
I have given app level build.gradle file content in question.
– sagar varsani
Jan 3 at 6:24
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%2f54006297%2fgradle-sync-failed-basic-functionality-will-not-work-properly%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
github.com/corgrath/osbcp-css-parser ...had been abandoned.
– Martin Zeitler
Jan 2 at 12:36