4 Replies - 647 Views - Last Post: 03 June 2017 - 01:44 AM

#1 mr.nacho  Icon User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 208
  • Joined: 28-December 12

Proper way to use Android Repository with Maven

Posted 01 June 2017 - 07:47 AM

According to this Android Support Library,

Quote

The support libraries are now available through Google's Maven repository. You do not need to download the support repository from the SDK Manager.
. I followed the instructions but I still cannot use the android.support.design.widget.AppBarLayout or android.support.v7.widget.Toolbar which reflects to the preview saying "Missing Classes". What am I doing wrong? I just came back after some Android Studio updates. Thanks in advance.

Is This A Good Question/Topic? 0
  • +

Replies To: Proper way to use Android Repository with Maven

#2 wseng92  Icon User is offline

  • D.I.C Regular

Reputation: 9
  • View blog
  • Posts: 279
  • Joined: 23-September 15

Re: Proper way to use Android Repository with Maven

Posted 01 June 2017 - 08:46 PM

Quote

I followed the instructions but I still cannot use the android.support.design.widget.AppBarLayout or android.support.v7.widget.Toolbar
What errors are you getting ?
Was This Post Helpful? 0
  • +
  • -

#3 mr.nacho  Icon User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 208
  • Joined: 28-December 12

Re: Proper way to use Android Repository with Maven

Posted 02 June 2017 - 08:06 AM

View Postwseng92, on 01 June 2017 - 08:46 PM, said:

Quote

I followed the instructions but I still cannot use the android.support.design.widget.AppBarLayout or android.support.v7.widget.Toolbar
What errors are you getting ?


I can't upload the image but it says in the preview:

Render errors
Missing Classes

The following classes could not be found:

- android.support.design.widget.AppBarLayout
Was This Post Helpful? 0
  • +
  • -

#4 wseng92  Icon User is offline

  • D.I.C Regular

Reputation: 9
  • View blog
  • Posts: 279
  • Joined: 23-September 15

Re: Proper way to use Android Repository with Maven

Posted 02 June 2017 - 08:39 AM

Look like dependencies problems to me
Was This Post Helpful? 1
  • +
  • -

#5 ndc85430  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 563
  • Posts: 2,314
  • Joined: 13-June 14

Re: Proper way to use Android Repository with Maven

Posted 03 June 2017 - 01:44 AM

You're going to need to provide more info really. Have you reloaded your project after adding the dependency? If so, did Gradle download it or did it have some problem doing so?
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1