Hi,
just started a new app project in our company. After some minor issues I got Android App running on my machine - But i have problems on Jenkins. I always get exceptions that point to missing android support libraries and I don't know how to solve it.
Example: error: package android.support.v4.view.ViewPager does not exist android.support.v4.view.ViewPager.OnPageChangeListener
obj\Debug\android\src\md5270abb39e60627f0f200893b490a1ade\CarouselPageRenderer.java 8
I get 100 errors of this on jenkins build machine. Im using Xamarin Forms 2.3.4.267 together with Xamarin.Android 25.3.1 support packages.
What I have discovered so far: When I create a new Solution on the Build Machine and dont Upgrade the Xamarin Version, so that Xamarin Android 23.3 is used, it works fine.
I also discovered that the Build Machine is not copying Android Support Dlls into the obj__library_projects__. Folders like 'Xamarin.Android.Support.v7.AppCompat' does exists but they are empty. So my guess is they are missing some how. I installed all Android SDKs on the build machine the same way I did it on my developer machine.
Another Question: Because of my troubles last Friday I tryed it again at my home computer. Just started a new Forms Project, upgraded to newest Xamarin.Forms version. When I did a release Build of "Hello Xamarin" the App crashed on release build in my emulator. Debug worked fine. Why is it so clunky and what am I doing wrong?