Jonathan Pobst
Jonathan Pobst
Nice catch! I'll have to give some thought to how I want to fix this.
I think the only current workaround for this is to remove the `` files from your `.csproj` files. ``` ```
Looks like this is the full output message that is being emitted: ``` ## Unable to translate remarks for com/google/android/exoplayer2/Player: A media player interface defining traditional high-level functionality, such as...
I have a PR that fixes MSBuild interpreting these error messages as real errors: https://github.com/xamarin/java.interop/pull/851 I believe @pjcollins will be looking at improving the Javadoc parsing in the future to...
Did you remove them from all of your projects? I had tried removing them from all the projects, and did not get the invalid token errors you mentioned.
You could try something like: ``` true ```
That's not one I see very often. It means it found the interface `com.google.android.exoplayer2.Player`, but there is some issue with it that will prevent it from getting generated. Hopefully there...
It's in your log: ``` 1> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\Android\Xamarin.Android.Bindings.Core.targets(53,5): message BG0000: obj\Release\monoandroid10.0\api.xml(2220, 10): warning BG8801: Invalid parameter type 'com.google.android.exoplayer2.Player.Listener' for member 'Com.Google.Android.Exoplayer2.IPlayer.RemoveListener (Com.Google.Android.Exoplayer2.IPlayerListener)'. 1> obj\Release\monoandroid10.0\api.xml(2030, 6) : warning...
The easiest way to solve it would be to turn off `` for that assembly.
Just some notes that were raised: - The linker (generally) only runs on Release builds, so this would not help Debug builds - We would still need to use Cecil...