-
Notifications
You must be signed in to change notification settings - Fork 50
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
Could not load file or assembly 'Xamarin.AndroidX.AppCompat.Resources' #45
Comments
Why 2 versions? Did you try to remove one of them? |
I am sorry, I mean upgrade to 1.0.0-rc1 from 1.0.0-preview05, I also tried 1.0.0-preview06 and it didn't work either.
|
Did you manually write this code snipett:
? Try removing |
@Carl-Wen ... or maybe provide exact steps how to reproduce this issue. |
@moljac Now I replace AndroidX with support libraries, I did reproduce it with other projects. But it works with below config a few days ago, I try to upgrade all libraries to the newest, but it isn't work either:
|
I would like to point out that I was also experiencing this issue, tried everything, without any avail. It has something to do with older project configurations. For Example, the old project did not have The solution I found was to create a new project, add all the same dependencies, copy over all the code and voilà, unable to reproduce the issue. |
Yes. Older stale projects can produce issues. General guidelines:
also here |
Closing this one |
For me this issue only happens when I add the following configurations to my Android.csproj... <EnableLLVM>true</EnableLLVM>
<AotAssemblies>true</AotAssemblies>
<BundleAssemblies>true</BundleAssemblies> -- Eddy |
I get error when build release, I just add Xamarin.AndroidX.Migration package. When I set true, it crash with error System.IO.FileNotFoundException: Could not load file or assembly 'Xamarin.AndroidX.AppCompat.Resources I set fakse. My App Ok. How to resolve with option BundleAssemblies is true. |
Same here 4.5.0.495 - still not working for me |
Thanks for your patience folks. If you have any other discussion, please make comments on that issue so we can track it. |
Xamarin.Android Version (eg: 6.0):
Version: 10.1.3.7
Operating System & Version (eg: Mac OSX 10.11):
Mac OSX 10.15.2
Support Libraries Version (eg: 23.3.0):
28.0.3
Describe your Issue:
It works well until previous version a few days ago, but build error occurs today, then I upgrade dependency libraries to the newest, error changes to:
Steps to Reproduce (with link to sample solution if possible):
Include any relevant Exception Stack traces, build logs, adb logs:
The text was updated successfully, but these errors were encountered: