xamarin-studio

How to add AAR library to xamarin studio?

雨燕双飞 提交于 2019-12-06 14:53:11
问题 Is there any possibilty to add aar library to xamarin studio? I use xamarin studio on mac and i tried add project based on gradle - caldroid to my project. When i try add aar lib to my project with ProjectLibraryZip properties. I can not use any method from this library i c# 回答1: You would need to add a Java Bindings Library (via Xamarin.Android Java Bindings Library template) to your Xamarin solution and add the .aar file to the Jar folder in the project tree ( Embedded Jar Build Action)

no valid 'aps-environment' entitlement string found for application while debugging on xamarin for ios

落爺英雄遲暮 提交于 2019-12-06 10:24:26
I am working on xamarin for ios. Its was working on my older machine. But, then i had to switch to new machine and recreate all the certificates and everything for the new machine. I have created the app ID. Then created the aps certificates and then created the provisioning profile. In Debug I have provided the downloaded provisioning profile. But still I am getting this same error. And my app is unable to get the device token. I am searching a lot since last night. And have done the following things with no success: Regenerating provisioning profile and trying with the new one I also deleted

Cant create single view Application in Xamarin Studio

ぐ巨炮叔叔 提交于 2019-12-06 09:02:36
I'm trying to create a single view application in Xamarin Studio from the multiplatform tab. However the target platform checkboxes as well as the "Next" button are greyed out/disabled. I'm on a Mac. If you have installed free version of Xamarin long time ago when iOs development was not included for free, the iOs and Android components are missing. Even if you upgrade Xamarin from the "Check for updates", it only upgrades the Xamarin Studio to latest version and doesn't add iOs not Android components. Download software again from Xamarin's web page and install again. You need to install

Cannot load a TextureAtlas file in IOS using libgdx while loading through AssetManager

独自空忆成欢 提交于 2019-12-06 08:47:51
问题 I started porting my LIBGDX appliction to IOS. I Used Xamarin studio port of libgdx to run my application on IOS. I was successful in porting but the application failed to load the TextureAtlas File & BitmapFont File in Iphone Simulator. the code I tried was ... AssetManager assetManager = new AssetManager(); assetManager.load("packer/help.txt", TextureAtlas.class); if (assetManager.update()) { } ... The above code is running fine for me on Desktop and android but while running it on Iphone

ERROR ITMS-90022 Missing Required Icon File

╄→尐↘猪︶ㄣ 提交于 2019-12-06 01:56:26
I was hoping someone could help me with an issue. I was attempting to upload my app to the App Store when suddenly I received an error message stating that I had a missing icon file. The error was: ERROR ITMS-90022: "Missing required icon file. The bundle does not contain an app icon for iPhone / iPod Touch of exactly '120x120' pixels, in .png format for iOS versions >= 7.0." I haven't modified any of my icons but I did notice that when I updated the info.plist file to change the Build Number I noticed that the file had additional settings for "Car Play" and a few other devices which I hadn't

Keyboard Overlapping with Entry Xamarin.froms

僤鯓⒐⒋嵵緔 提交于 2019-12-06 01:55:18
I have a Xaml page with Entry Field. Keyboard is overlapping Entry Field when I am trying to enter value in Entry in Xamarin.froms Check your Entry is inside a ScrollView There is a good solution for this issue: At your MainPage.xaml: //we could use any layout <StackLayout x:Name="MainStackLayout">...</StackLayout> Add helper for layouts: public static class LayoutHelper { public static void SetLayoutPosition(this Layout layout, bool onFocus, int x = 0, int y = 0, uint length = 50) { if (onFocus) { layout.TranslateTo(x, y, length, Easing.Linear); } else { layout.TranslateTo(x, y, length,

How to change Picker background Color in Xamarin MAC Platform

喜你入骨 提交于 2019-12-05 21:12:23
After updating the Xamarin Library and MAC OS to latest system, facing issue in Picker Background color and color of item that is selected/focused in picker for MAC Platform in my visual studio 2017. Picker that is filled with multiple values On opening the picker can not able to set the background color and the item that is selected is also not visible because of its color How can I set the background color of that picker and the color of that focused/selected item of picker? This seems to be caused for the new Theme used by Mojave. One way to overcome this issue is by setting a value that

Is Xamarin Studio supposed to generate an APK when compiling for debug target?

大憨熊 提交于 2019-12-05 19:37:20
问题 I don't want to build a release APK. I simply compile my xamarin app, with the Debug target selected, and then I look in my /bin/Debug/ folder and I only see .dll, .dll.mdb, .pdb files, but no .apk file. 回答1: To get the .apk set the build to Release mode and go to Project->Create Android Package 回答2: In Xamarin version 6.3: Set your project configuration to "Release". Right click on your project -> Archive for Publishing. Source:https://developer.xamarin.com/Guides/Android/Deployment,_Testing

libzmq not found by clrzmq in Xamarin Studios/C# application

大城市里の小女人 提交于 2019-12-05 18:59:53
I'm using Xamarin Studio on a Mac, with clrzmq included via NuGet. clrzmq references on libzmq.dll. My app compiles fine, but when I try to run it, I get this: Unhandled Exception: System.DllNotFoundException: libzmq at (wrapper managed-to-native) ZMQ.C:zmq_init (int) at ZMQ.Context..ctor (Int32 io_threads) [0x00000] in <filename unknown>:0 at FeatureSpike.MainClass.Main (System.String[] args) [0x00000] in <filename unknown>:0 libzmq.dll is definitely there in the build target directory. Does anyone know why it's not being found? you might want to try using netmq ( https://github.com/zeromq

Add NuGet Packages on Xamarin Studio for Mac Not Working

对着背影说爱祢 提交于 2019-12-05 18:47:30
I've tried searching on this issue (and I've come across many issues with people not being able to add NuGet packages), but have come across nothing that can solve my problem. I'm using Xamarin Studio for Mac and I'm trying to add the SQLite package to my Xamarin Forms project. However, when I click to add a NuGet package (either by right-clicking on the project or from the Project tab at the top), nothing happens. No delay or anything — I click it, no lag, and I continue doing whatever else I want. Has anyone encountered this issue before? I've already tried quitting out of the app multiple