To complete the migration to AndroidX, I had to do the following by hand:
- In all the code files using the android.support.v8.renderscript.* classes, replace them to android.renderscript.* as shown below.
- In the app's build.gradle file, upgrade the renderscriptTargetApi level to 17 and turn off the renderscript support mode (renderscriptSupportModeEnabled to false) as shown below.
- Save all the files and rebuild the project.
The project should manage to sync and build successfully.
Note: At the time of writing, Android can only compile android.renderscript.* classes into 32 bit *.bc files. This may be a problem in future as Google Play is moving to apks that support 64 bit files.
No comments:
Post a Comment