-
Notifications
You must be signed in to change notification settings - Fork 564
Description
Android framework version
net10.0-android (Preview)
Affected platform version
.NET 10.0.100
Description
When adding reference to an assembly built on older version of MonoAndroid (in my example it is v4.3) during runtime classes built on top of this assembly are not being created, usually with java.lang.ClassNotFoundException while all classes are present within classes.dex files.
I have created a sample project withing which there are 2 dll files with different MonoAndroid versions, the app will run fine with both files if built using Mono and ScannerManager class will not be created if DeviceAPI_Android_old is referenced while building with CoreCLR.
Steps to Reproduce
1.Open attached project
2.Rename DeviceAPI_Android_old.dll to DeviceAPI_Android.dll and reference it inside solution
3.Build and run the project
4.Check logcat for the console message of nullability of ScannerManager class
Did you find any workaround?
Using newer version of dll resolved the issue