xamarin-android-linux icon indicating copy to clipboard operation
xamarin-android-linux copied to clipboard

Successfully build with new deb package

Open knuxbbs opened this issue 5 years ago • 4 comments

The Xamarin.Android Linux build job was moved to Azure pipelines and now I can successfully build a Xamarin project with Rider without needing to manually modify my Mono installation.

I used the package produced by this job.

knuxbbs avatar Feb 05 '20 13:02 knuxbbs

Thank you so much @knuxbbs for posting this! That's awesome, I thought the Linux port was abandoned.

toverux avatar Feb 17 '20 23:02 toverux

After creating the project, the only modification I made was to rename the file 'Strings.xml' to 'strings.xml', and voilá, I have everything working.

I don't know why the Xamarin template has this difference in capitalization.

Are you using the correct template?

rider-xamarin-android

knuxbbs avatar Feb 17 '20 23:02 knuxbbs

As you've seen, I edited to remove my message before you posted, because everything started working again... Until I rebooted the IDE and it started complaining again.

Tried many things, it just seems to randomly become blind to the Android SDK, even if the path is correctly set. My last attempt was to remove the SDK (again) but this time, I installed the Android SDK through Android Studio (normally the SDK manager it uses is the same as Rider's one but well..). For now, it seems more reliable.

Apart that, everything works quite well, those new Xamarin Android releases for Linux seem to work better that the previous versions on Jenkins, some of my bugs are fixed :tada:

toverux avatar Feb 18 '20 00:02 toverux

hi! can help me, i try with debian, i have downloaded Android SDK with Android Studio, compiled Xamarin Android this vrs from source xamarin.android-oss_v11.1.9_Linux_x86_64, but have this error Xamarin.Android.Aapt2.targets(127, 3): [APT2144] invalid file path /home/{user}/..../Debug/res/resource.designer.cs, can helpme?, and anther question, how add add xamarin template to rider

thanks!!

ur3an0 avatar Sep 07 '20 06:09 ur3an0