Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Critical] Support AndroidX #254

Closed
EdricChan03 opened this issue Jun 7, 2018 · 10 comments
Closed

[Critical] Support AndroidX #254

EdricChan03 opened this issue Jun 7, 2018 · 10 comments

Comments

@EdricChan03
Copy link

When building an app with the AndroidX library (as well as material-intro), an error will occur.

The error in question:

error: cannot find symbol class ConstraintLayout
@zacharee
Copy link

Use this format when implementing AndroidX:

implementation ('ANDROIDX_DEPENDENCY_STRING') {
    exclude group: 'com.android.support'
}

@javacafe01
Copy link

Still getting that error in the build folder...

@gouravd
Copy link

gouravd commented Sep 17, 2018

Anyone resolved this?

@shelland
Copy link

shelland commented Mar 4, 2019

Seems like this issue is still actual?

implementation ('com.heinrichreimersoftware:material-intro:1.6.2') {
exclude group: 'com.android.support'
}

(error: package android.support.constraint does not exist)

@EdricChan03
Copy link
Author

It appears that commit d0220b0 by @adrcotfas has migrated the source to AndroidX. (Or see #266)

Looks like it's up to @heinrichreimer to see if there'll be a new release.

@rustamsafarovrs
Copy link

Anyone resolved this issue?
error: package android.support.constraint does not exist

@chintan-mishra
Copy link

chintan-mishra commented May 8, 2019

Go through the setup process. While modifying the app module's build.gradle use

implementation 'com.heinrichreimersoftware:material-intro:master-SNAPSHOT'.

This solves the issue mentioned here. This way master version is used instead of 1.6.2. Try this and let me know.

Edit: If you don't want to use master-SNAPSHOT then you can replace it with SHA of any other commit. Jitpack will fetch that commit version of this library.

@sds100
Copy link

sds100 commented May 26, 2019

Using master-SNAPSHOT rather than 1.6.2 fixed the problem for me.

@soniel2013
Copy link

for me too

@chimbori
Copy link
Collaborator

Release 2.0.0 is now available with AndroidX support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants