Library binding project in Xamarin Android with RxKotlin

As a part of me trying to wrap my android SDK in Xamarin I've added besides the .aar of my sdk, other .jars on which it's dependant, to the jar folder.
When trying to build, I'm getting the following error:

obj/Release/generated/src/IO.Reactivex.Rxkotlin.ObservableKt.cs(242,9,242,10): error CS1525: Invalid expression term ''
obj/Release/generated/src/IO.Reactivex.Rxkotlin.ObservableKt.cs(242,9,242,10): error CS1026: ) expected
obj/Release/generated/src/IO.Reactivex.Rxkotlin.ObservableKt.cs(242,9,242,10): error CS1002: ; expected
obj/Release/generated/src/IO.Reactivex.Rxkotlin.ObservableKt.cs(242,9,242,9): error CS1056: Unexpected character '$'
obj/Release/generated/src/IO.Reactivex.Rxkotlin.ObservableKt.cs(242,26,242,27): error CS1002: ; expected
obj/Release/generated/src/IO.Reactivex.Rxkotlin.ObservableKt.cs(242,26,242,27): error CS1513: } expected
obj/Release/generated/src/IO.Reactivex.Rxkotlin.ObservableKt.cs(243,43,243,44): error CS1525: Invalid expression term ''
obj/Release/generated/src/IO.Reactivex.Rxkotlin.ObservableKt.cs(243,43,243,43): error CS1056: Unexpected character '$'
obj/Release/generated/src/IO.Reactivex.Rxkotlin.ObservableKt.cs(243,44,243,52): error CS1003: Syntax error, ',' expected
obj/Release/generated/src/IO.Reactivex.Rxkotlin.ObservableKt.cs(261,9,261,10): error CS1525: Invalid expression term ''
obj/Release/generated/src/IO.Reactivex.Rxkotlin.ObservableKt.cs(261,9,261,10): error CS1026: ) expected
obj/Release/generated/src/IO.Reactivex.Rxkotlin.ObservableKt.cs(261,9,261,10): error CS1002: ; expected
obj/Release/generated/src/IO.Reactivex.Rxkotlin.ObservableKt.cs(261,9,261,9): error CS1056: Unexpected character '$'
obj/Release/generated/src/IO.Reactivex.Rxkotlin.ObservableKt.cs(261,26,261,27): error CS1002: ; expected
obj/Release/generated/src/IO.Reactivex.Rxkotlin.ObservableKt.cs(261,26,261,27): error CS1513: } expected
obj/Release/generated/src/IO.Reactivex.Rxkotlin.ObservableKt.cs(262,43,262,44): error CS1525: Invalid expression term ''
obj/Release/generated/src/IO.Reactivex.Rxkotlin.ObservableKt.cs(262,43,262,43): error CS1056: Unexpected character '$'
obj/Release/generated/src/IO.Reactivex.Rxkotlin.ObservableKt.cs(262,44,262,52): error CS1003: Syntax error, ',' expected
obj/Release/generated/src/IO.Reactivex.Rxkotlin.ObservableKt.cs(280,9,280,10): error CS1525: Invalid expression term ''
obj/Release/generated/src/IO.Reactivex.Rxkotlin.ObservableKt.cs(280,9,280,10): error CS1026: ) expected
obj/Release/generated/src/IO.Reactivex.Rxkotlin.ObservableKt.cs(280,9,280,10): error CS1002: ; expected
obj/Release/generated/src/IO.Reactivex.Rxkotlin.ObservableKt.cs(280,9,280,9): error CS1056: Unexpected character '$'
obj/Release/generated/src/IO.Reactivex.Rxkotlin.ObservableKt.cs(280,26,280,27): error CS1002: ; expected
obj/Release/generated/src/IO.Reactivex.Rxkotlin.ObservableKt.cs(280,26,280,27): error CS1513: } expected
obj/Release/generated/src/IO.Reactivex.Rxkotlin.ObservableKt.cs(281,43,281,44): error CS1525: Invalid expression term ''
obj/Release/generated/src/IO.Reactivex.Rxkotlin.ObservableKt.cs(281,43,281,43): error CS1056: Unexpected character '$'
obj/Release/generated/src/IO.Reactivex.Rxkotlin.ObservableKt.cs(281,44,281,52): error CS1003: Syntax error, ',' expected
obj/Release/generated/src/IO.Reactivex.Rxkotlin.ObservableKt.cs(299,9,299,10): error CS1525: Invalid expression term ''
obj/Release/generated/src/IO.Reactivex.Rxkotlin.ObservableKt.cs(299,9,299,10): error CS1026: ) expected
obj/Release/generated/src/IO.Reactivex.Rxkotlin.ObservableKt.cs(299,9,299,10): error CS1002: ; expected
obj/Release/generated/src/IO.Reactivex.Rxkotlin.ObservableKt.cs(299,9,299,9): error CS1056: Unexpected character '$'
obj/Release/generated/src/IO.Reactivex.Rxkotlin.ObservableKt.cs(299,26,299,27): error CS1002: ; expected
obj/Release/generated/src/IO.Reactivex.Rxkotlin.ObservableKt.cs(299,26,299,27): error CS1513: } expected
obj/Release/generated/src/IO.Reactivex.Rxkotlin.ObservableKt.cs(300,43,300,44): error CS1525: Invalid expression term ''
obj/Release/generated/src/IO.Reactivex.Rxkotlin.ObservableKt.cs(300,43,300,43): error CS1056: Unexpected character '$'
obj/Release/generated/src/IO.Reactivex.Rxkotlin.ObservableKt.cs(300,44,300,52): error CS1003: Syntax error, ',' expected
obj/Release/generated/src/IO.Reactivex.Rxkotlin.ObservableKt.cs(318,9,318,10): error CS1525: Invalid expression term ''
obj/Release/generated/src/IO.Reactivex.Rxkotlin.ObservableKt.cs(318,9,318,10): error CS1026: ) expected
obj/Release/generated/src/IO.Reactivex.Rxkotlin.ObservableKt.cs(318,9,318,10): error CS1002: ; expected
obj/Release/generated/src/IO.Reactivex.Rxkotlin.ObservableKt.cs(318,9,318,9): error CS1056: Unexpected character '$'
obj/Release/generated/src/IO.Reactivex.Rxkotlin.ObservableKt.cs(318,26,318,27): error CS1002: ; expected
obj/Release/generated/src/IO.Reactivex.Rxkotlin.ObservableKt.cs(318,26,318,27): error CS1513: } expected
obj/Release/generated/src/IO.Reactivex.Rxkotlin.ObservableKt.cs(319,43,319,44): error CS1525: Invalid expression term ''
obj/Release/generated/src/IO.Reactivex.Rxkotlin.ObservableKt.cs(319,43,319,43): error CS1056: Unexpected character '$'
obj/Release/generated/src/IO.Reactivex.Rxkotlin.ObservableKt.cs(319,44,319,52): error CS1003: Syntax error, ',' expected
obj/Release/generated/src/IO.Reactivex.Rxkotlin.ObservableKt.cs(337,9,337,10): error CS1525: Invalid expression term ''
obj/Release/generated/src/IO.Reactivex.Rxkotlin.ObservableKt.cs(337,9,337,10): error CS1026: ) expected
obj/Release/generated/src/IO.Reactivex.Rxkotlin.ObservableKt.cs(337,9,337,10): error CS1002: ; expected
obj/Release/generated/src/IO.Reactivex.Rxkotlin.ObservableKt.cs(337,9,337,9): error CS1056: Unexpected character '$'
obj/Release/generated/src/IO.Reactivex.Rxkotlin.ObservableKt.cs(337,26,337,27): error CS1002: ; expected
obj/Release/generated/src/IO.Reactivex.Rxkotlin.ObservableKt.cs(337,26,337,27): error CS1513: } expected
obj/Release/generated/src/IO.Reactivex.Rxkotlin.ObservableKt.cs(338,43,338,44): error CS1525: Invalid expression term ''
obj/Release/generated/src/IO.Reactivex.Rxkotlin.ObservableKt.cs(338,43,338,43): error CS1056: Unexpected character '$'
obj/Release/generated/src/IO.Reactivex.Rxkotlin.ObservableKt.cs(338,44,338,52): error CS1003: Syntax error, ',' expected
obj/Release/generated/src/IO.Reactivex.Rxkotlin.ObservableKt.cs(415,9,415,10): error CS1525: Invalid expression term ''
obj/Release/generated/src/IO.Reactivex.Rxkotlin.ObservableKt.cs(415,9,415,10): error CS1026: ) expected
obj/Release/generated/src/IO.Reactivex.Rxkotlin.ObservableKt.cs(415,9,415,10): error CS1002: ; expected
obj/Release/generated/src/IO.Reactivex.Rxkotlin.ObservableKt.cs(415,9,415,9): error CS1056: Unexpected character '$'
obj/Release/generated/src/IO.Reactivex.Rxkotlin.ObservableKt.cs(415,26,415,27): error CS1002: ; expected
obj/Release/generated/src/IO.Reactivex.Rxkotlin.ObservableKt.cs(415,26,415,27): error CS1513: } expected
obj/Release/generated/src/IO.Reactivex.Rxkotlin.ObservableKt.cs(416,43,416,44): error CS1525: Invalid expression term ''
obj/Release/generated/src/IO.Reactivex.Rxkotlin.ObservableKt.cs(416,43,416,43): error CS1056: Unexpected character '$'
obj/Release/generated/src/IO.Reactivex.Rxkotlin.ObservableKt.cs(416,44,416,52): error CS1003: Syntax error, ',' expected
obj/Release/generated/src/IO.Reactivex.Rxkotlin.ObservableKt.cs(434,9,434,10): error CS1525: Invalid expression term ''
obj/Release/generated/src/IO.Reactivex.Rxkotlin.ObservableKt.cs(434,9,434,10): error CS1026: ) expected
obj/Release/generated/src/IO.Reactivex.Rxkotlin.ObservableKt.cs(434,9,434,10): error CS1002: ; expected
obj/Release/generated/src/IO.Reactivex.Rxkotlin.ObservableKt.cs(434,9,434,9): error CS1056: Unexpected character '$'
obj/Release/generated/src/IO.Reactivex.Rxkotlin.ObservableKt.cs(434,26,434,27): error CS1002: ; expected
obj/Release/generated/src/IO.Reactivex.Rxkotlin.ObservableKt.cs(434,26,434,27): error CS1513: } expected
obj/Release/generated/src/IO.Reactivex.Rxkotlin.ObservableKt.cs(435,43,435,44): error CS1525: Invalid expression term ''
obj/Release/generated/src/IO.Reactivex.Rxkotlin.ObservableKt.cs(435,43,435,43): error CS1056: Unexpected character '$'
obj/Release/generated/src/IO.Reactivex.Rxkotlin.ObservableKt.cs(435,44,435,52): error CS1003: Syntax error, ',' expected
obj/Release/generated/src/IO.Reactivex.Rxkotlin.ObservableKt.cs(454,9,454,10): error CS1525: Invalid expression term ''
obj/Release/generated/src/IO.Reactivex.Rxkotlin.ObservableKt.cs(454,9,454,10): error CS1026: ) expected
obj/Release/generated/src/IO.Reactivex.Rxkotlin.ObservableKt.cs(454,9,454,10): error CS1002: ; expected
obj/Release/generated/src/IO.Reactivex.Rxkotlin.ObservableKt.cs(454,9,454,9): error CS1056: Unexpected character '$'
obj/Release/generated/src/IO.Reactivex.Rxkotlin.ObservableKt.cs(454,26,454,27): error CS1002: ; expected
obj/Release/generated/src/IO.Reactivex.Rxkotlin.ObservableKt.cs(454,26,454,27): error CS1513: } expected
obj/Release/generated/src/IO.Reactivex.Rxkotlin.ObservableKt.cs(455,43,455,44): error CS1525: Invalid expression term ''
obj/Release/generated/src/IO.Reactivex.Rxkotlin.ObservableKt.cs(455,43,455,43): error CS1056: Unexpected character '$'
obj/Release/generated/src/IO.Reactivex.Rxkotlin.ObservableKt.cs(455,44,455,52): error CS1003: Syntax error, ',' expected
    367 Warning(s)
    81 Error(s)

And my build fails. Can anyone help me out with this?

Sign In or Register to comment.