1. Download our Official Android App: Forums for Android!

BIG ISSUE WITH GRADLE

Discussion in 'Android Development' started by HoocemBillion, Oct 15, 2017.

  1. HoocemBillion

    HoocemBillion Lurker
    Thread Starter
    Rank:
    None
    Points:
    15
    Posts:
    6
    Joined:
    Oct 11, 2017

    Oct 11, 2017
    6
    0
    15
    Male
    Hello , I am very beginner in Android Studio , I installed it yesterday the newest version 2.3.3 & when I create a new it comes an issue with gradle & this last can't resolves dependancies the gradle version :3.3
    I delete android studio & I will unstall it later please help to fix gradle's issue , I am learning Coding with passion but otherways I need to start earning some money with AdMob please help please .
     

    Advertisement

  2. LV426

    LV426 I say we take off and nuke this place from orbit
    Moderator
    Rank:
     #10
    Points:
    1,988
    Posts:
    8,521
    Joined:
    Oct 16, 2015

    Oct 16, 2015
    8,521
    12,689
    1,988
    Male
    Software developer
    South West of England
    Hi, can you post the exact error message from the log, and also your build.gradle file?
     
  3. HoocemBillion

    HoocemBillion Lurker
    Thread Starter
    Rank:
    None
    Points:
    15
    Posts:
    6
    Joined:
    Oct 11, 2017

    Oct 11, 2017
    6
    0
    15
    Male
    Thanks to reply there were many several messages , I read a comment in treeHouse forum that I must delete Android Studio completely then re-install it , please could you give me some advices to install it again in order to avoid this kind of issues that make me lose time .
     
    #3 HoocemBillion, Oct 16, 2017
    Last edited: Oct 16, 2017
  4. Xavier Black

    Xavier Black Android Enthusiast
    Rank:
     #120
    Points:
    133
    Posts:
    596
    Joined:
    Sep 21, 2015

    Sep 21, 2015
    596
    214
    133
    Male
    Hey bro, keep in mind that learning from our mistakes is never a waste of time..it's a gift.

    Be patient and you'll get there.
     
    HoocemBillion likes this.
  5. bcrichster

    Moderator
    Rank:
     #29
    Points:
    763
    Posts:
    6,601
    Joined:
    Jan 23, 2013

    Jan 23, 2013
    6,601
    4,810
    763
    Male
    Electrical, Electronics
    Florida
    If running Linux, type each line and hit Enter before next line:
    sudo apt-get install gradle
    sudo apt-get update
    sudo apt-get upgrade
     
    HoocemBillion likes this.
  6. HoocemBillion

    HoocemBillion Lurker
    Thread Starter
    Rank:
    None
    Points:
    15
    Posts:
    6
    Joined:
    Oct 11, 2017

    Oct 11, 2017
    6
    0
    15
    Male
    Hello , I am very biggener in Android devlopping , & just installed Android Studio 2.3.3 on my Computer TOSHIBA Satellite 8go RAM windows 64bit after that I clicked on Start new project but it took a lot of minutes to create & sadly it mentionned to me many erroer like :
    1 -
    Error:(28, 17) Failed to resolve: junit:junit:4.12
    <a href="openFile:C:/Users/bassair/AndroidStudioProjects/AppS/app/build.gradle">Show in File</a><br><a href="open.dependency.in.project.structure">Show in Project Structure dialog</a>
    2 -
    Error:Failed to resolve: javax.inject:javax.inject:1
    <a href="openFile:C:/Users/bassair/AndroidStudioProjects/AppS/app/build.gradle">Open File</a><br><a href="open.dependency.in.project.structure">Show in Project Structure dialog</a>
    3 -
    Error:Failed to resolve: javax.annotation:javax.annotation-api:1.2
    <a href="openFile:C:/Users/bassair/AndroidStudioProjects/AppS/app/build.gradle">Open File</a><br><a href="open.dependency.in.project.structure">Show in Project Structure dialog</a>
    4 -
    Error:Failed to resolve: com.google.code.findbugs:jsr305:2.0.1
    <a href="openFile:C:/Users/bassair/AndroidStudioProjects/AppS/app/build.gradle">Open File</a><br><a href="open.dependency.in.project.structure">Show in Project Structure dialog</a>
    5 -
    Error:Failed to resolve: org.hamcrest:hamcrest-library:1.3
    <a href="openFile:C:/Users/bassair/AndroidStudioProjects/AppS/app/build.gradle">Open File</a><br><a href="open.dependency.in.project.structure">Show in Project Structure dialog</a>
    6 -
    Error:Failed to resolve: org.hamcrest:hamcrest-integration:1.3
    <a href="openFile:C:/Users/bassair/AndroidStudioProjects/AppS/app/build.gradle">Open File</a><br><a href="open.dependency.in.project.structure">Show in Project Structure dialog</a>
    7-
    Error:Failed to resolve: com.squareup:javawriter:2.1.1
    <a href="openFile:C:/Users/bassair/AndroidStudioProjects/AppS/app/build.gradle">Open File</a><br><a href="open.dependency.in.project.structure">Show in Project Structure dialog</a>

    So , 7 Errors in the log , so please my friends help to fix this & start tutorials to learn devloping Android App .


    In addtion , I've some basic knowledge in algorithms & wanna invest it with by Admob & CodeCanyon exetra ....... because I need for mo,ey , so please help me please .
     
  7. LV426

    LV426 I say we take off and nuke this place from orbit
    Moderator
    Rank:
     #10
    Points:
    1,988
    Posts:
    8,521
    Joined:
    Oct 16, 2015

    Oct 16, 2015
    8,521
    12,689
    1,988
    Male
    Software developer
    South West of England
    I moved your new thread to the Android Development forum, and merged it with your existing thread.
     
  8. LV426

    LV426 I say we take off and nuke this place from orbit
    Moderator
    Rank:
     #10
    Points:
    1,988
    Posts:
    8,521
    Joined:
    Oct 16, 2015

    Oct 16, 2015
    8,521
    12,689
    1,988
    Male
    Software developer
    South West of England
  9. HoocemBillion

    HoocemBillion Lurker
    Thread Starter
    Rank:
    None
    Points:
    15
    Posts:
    6
    Joined:
    Oct 11, 2017

    Oct 11, 2017
    6
    0
    15
    Male
    Yes of course .
     
  10. HoocemBillion

    HoocemBillion Lurker
    Thread Starter
    Rank:
    None
    Points:
    15
    Posts:
    6
    Joined:
    Oct 11, 2017

    Oct 11, 2017
    6
    0
    15
    Male
    23:41 Gradle sync failed: Another 'refresh project' task is currently running for the project: C:\Users\bassair\AndroidStudioProjects\AppS
    Consult IDE log for more details (Help | Show Log)
     

Share This Page

Loading...