Closed knocte closed 6 years ago
This looks like Embeddinator is not able to find the downloaded copy of Xamarin.Android:
.\build.ps1 -t Download-Xamarin-Android
or Generate-Android
external\Xamarin.Android
directory should be somewhere relative to Embeddinator's exe fileGetting Embeddinator to work with your system's Xamarin.Android is on our TODO list.
Did you run .\build.ps1 -t Download-Xamarin-Android or Generate-Android
I didn't. This was not in the README file so I didn't know I needed to do this. After doing this, it works. However, what if I had run this in Mac? ps1 doesn't run on Mac AFAIU?
It's mentioned here, on the contributing docs: https://github.com/mono/Embeddinator-4000/blob/master/docs/Contributing.md#cake
The plan was to start using the system Xamarin.Android at some point, but we haven't gotten around to doing that yet.
We are using Cake to build Embeddinator. It works by having a bootstrapper script for Windows (or Linux/macOS). There is a powershell script and a bash script that do the same thing.
Ok cool. Still, throwing an exception is a bit scary, shouldn't this situation be detected properly and just return an error message that suggests a wrong setup?
@knocte it sounds like you got this issue figured out by using the Cake task.
Feel free to open a new issue, or reopen if you need something else.
Steps to reproduce:
Expected results: should not crash Current results: crashes, log below: