-
-
Notifications
You must be signed in to change notification settings - Fork 297
Migrating to AndroidX #560
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
Comments
I migrated version 275 to AndroidX, for anyone who still waiting for the official migration, you can use https://drive.google.com/open?id=1TJI89yqmjklIfMvO9KpeSINYYcw66eTr This is only the core jar library(aka. not include AR & VR). I personally haven't found any bugs yet, your situation might vary. Also, here is the link how to use as a library in Android studio. |
@hmy65 thanks for creating the AndroidX port. Great to know that it works! If you can create a PR of your changes against this repo, then I'll be happy to review and merge into master. |
@codeanticode |
@hmy65 this is very helpful, thank you! |
@hmy65 I need exactly what you have done but in AndroidStudio I need compiled files to import. How can I compile your modified source code? Or can you post them if you have them? (I am a newbie in AndroidStudio and dont know how exactly it works. Sorry if my question doesnt make sense.) Thanks. |
I was using Api level 28 but after migrated my whole project to androidx i am getting issue while i install my app , gradle is build successfully but app is not installing showing me an error |
Here is a jar working for API level 30 R preview which seems to have a new runtime verifier. I have only tested core. The source is available at https://github.com/pineapplegreentea/processing-android |
@pineapplegreentea your work is appriciable but we cannot migrate the whole project to AndroidX in this way, you have only migrated the java codebase which is responsible for rendering and permission stuff and all, but the app which will be installed in the device/emulator after using the android-mode in PDE will be still using the support libraries !! |
@ranaaditya I understand your concerns, however, the support libraries have been deprecated since API 28, two years ago now. Even if not fully backward compatible, it would be nice to have an avenue (maybe a branch) for prototyping on recent devices. |
any progress on this? how can I help? |
Working on the migration to AndroidX on this branch. |
The migration to AndroidX is complete with this PR fae1f8c, will release a new version of the mode shortly! |
All support packages have been renamed in Android X (API level 29), for example, android.support.v7.app.AppCompatActivity is now androidx.appcompat.app.AppCompatActivity. Older versions of the package will no longer be updated, so version 5.0 of the mode is probably good point to make the switch. Some useful info:
https://developer.android.com/jetpack/androidx/migrate
https://blog.danlew.net/2018/11/14/the-reality-of-migrating-to-androidx/
The text was updated successfully, but these errors were encountered: