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

Support for Android 3.x and Jetpack #405

Closed
alsocalledchris opened this issue Jan 9, 2019 · 7 comments
Closed

Support for Android 3.x and Jetpack #405

alsocalledchris opened this issue Jan 9, 2019 · 7 comments
Labels
AndroidX Issues related to AndroidX

Comments

@alsocalledchris
Copy link

Building a Cordova App that uses Android 3.x and Jetpack does not build with the below errors:

  • Error:(25, 34) error: package android.support.v4.content does not exist

I'm not able to change the compile target version (28) which looks like a solution that others have made. Any other suggestions?

Thanks.

@dfattlar
Copy link

+1 Seeing this issue too.

@pbergner
Copy link

pbergner commented Jan 15, 2019

seeing it as well, is there a workaround?

@stck
Copy link

stck commented Jan 28, 2019

In order to support jetpack's format, dependency
android.support.v4.content should be changed to androidx.loader.content

FYI: https://developer.android.com/jetpack/androidx/migrate

@dfattlar
Copy link

Thanks @stck! From Android Studio I clicked Refactor > Migrate to AndroidX. After the scan, I clicked 'Do Refactor', and was then able to build to Android device again.

@davidschreiber
Copy link

davidschreiber commented Jan 31, 2019

Hi there 👋 I have opened a PR for migrating to AndroidX: #418

@contfedorov
Copy link

cordova-android supports AndroidX since version 9.0. Are there any plans to move this plugin to AndroidX instead of support library?

@jcesarmobile
Copy link
Member

Version 6 of the plugin uses AndroidX
#751

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

No branches or pull requests

8 participants