I do a lot of trip planning on google maps, creating a custom my map for each trip with tracks/lines and waypoints. I've always exported the google map as a KML, done a conversion to GPX using one of the many utilities available for that purpose and finally take the GPX file and drop it into the appropriate OSMAnd tracks directory on my android phone.
The problem I've always had with the KML to GP conversion is all the track colors and the icon symbols and colors are lost in translation, everything ends up a default color and symbol in OSMAnd.
I finally sat down and wrote a quick python utility to do the KML to GPX conversion directly using a table to translate a subset of KML icons to approximate OSMAnd equivalents.
I'm sharing the code in case it's useful to anyone else.