Gradle sync failed. Basic functionality will not work properly












1















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.










share|improve this question

























  • github.com/corgrath/osbcp-css-parser ...had been abandoned.

    – Martin Zeitler
    Jan 2 at 12:36
















1















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.










share|improve this question

























  • github.com/corgrath/osbcp-css-parser ...had been abandoned.

    – Martin Zeitler
    Jan 2 at 12:36














1












1








1








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.










share|improve this question
















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






share|improve this question















share|improve this question













share|improve this question




share|improve this question








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



















  • 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












2 Answers
2






active

oldest

votes


















0














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.






share|improve this answer
























  • 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



















0














Please also provide the app level build.gradle, might have to do with the repository/dependency config there.






share|improve this answer
























  • I have given app level build.gradle file content in question.

    – sagar varsani
    Jan 3 at 6:24











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
});


}
});














draft saved

draft discarded


















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









0














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.






share|improve this answer
























  • 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
















0














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.






share|improve this answer
























  • 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














0












0








0







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.






share|improve this answer













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.







share|improve this answer












share|improve this answer



share|improve this answer










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



















  • 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













0














Please also provide the app level build.gradle, might have to do with the repository/dependency config there.






share|improve this answer
























  • I have given app level build.gradle file content in question.

    – sagar varsani
    Jan 3 at 6:24
















0














Please also provide the app level build.gradle, might have to do with the repository/dependency config there.






share|improve this answer
























  • I have given app level build.gradle file content in question.

    – sagar varsani
    Jan 3 at 6:24














0












0








0







Please also provide the app level build.gradle, might have to do with the repository/dependency config there.






share|improve this answer













Please also provide the app level build.gradle, might have to do with the repository/dependency config there.







share|improve this answer












share|improve this answer



share|improve this answer










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



















  • 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


















draft saved

draft discarded




















































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.




draft saved


draft discarded














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





















































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







Popular posts from this blog

Monofisismo

Angular Downloading a file using contenturl with Basic Authentication

Olmecas