![]() ![]() Make sure that you are running the latest versions of the computer and Android application.Try rebooting all devices including the computer, Android device, and wireless router.Check wireless router & firewall settings.5Ghz band and channels 136+140 when 2.4Ghz is crowded and channels below 100 are used by other 5Ghz devices).īelow is a list of steps to try if your computer isn't seeing your Android device. This will allow you to see sources of interference so you can set your wireless network to utilize the least used bands and channels (e.g. If possible, use a tool like WiFi Analyzer to view the local wireless network visually. The best results will be obtained if your Android device is connected to your wireless router with a "Signal strength" of "Excellent" or "Very Good" and a "Link speed" of at least 30Mbps. You also want to ensure that your Android device has a strong and stable connection to your wireless router. In the vast majority of cases, the first three octets (set of numbers) should match (e.g. You can check if the Android device and computer are on the same subnet by looking at the IP address of the device and the computer. For AirSync to work properly, the Android device and the computer need to be on the same subnet and be able to communicate on port 9968. You then "pair" your Android device to your computer using the AirSync passcode. It's only good for UITests.Troubleshooting AirSync Connection/Pairing Issues for doubleTwist Sync ĪirSync creates a server on your Android device that uses port 9968. Funny thing is, I also can't debug my Android project using GenyMotion. Ran the tests under the Debug configuration with only the GenyMotion simulator activeĪnd it worked! I still can't run UI tests with the Google Emulator or the Xamarin Android Player.In Xamarin Studio, set my Startup Project as the my UITest project.usr/bin/xbuild /t:Package /p:Configuration=Release. apk file via the terminal (while inside the Android project directory) Add support for all ABIs in my Android Build settingsĪndroid Project > Options > Android Build > Advanced Tab > Supported ABIs > Check "armeabi, armeabi-v7a, x86" > OK. ![]() Delete my old GenyMotion Simulator (Nexus 4) and create a new one.So, after several hours of working on this, this fixed it: Xamarin Android Player, Gennymotion, and the Google Emulator) Trying multiple types of emulators (i.e.Making sure an emulator is already running before I run the tests.Calabash works fine, but any C# NUnit Test Project fails to connect to any emulator I try launching. I've written each test twice, once in C# and once in Ruby using calabash, in order to isolate the issue. I'm using Xamarin.UITests for an iOS/Android application I'm developing and we're having issues with the Android side of things. TestInvalidEmail() is never called because NUnit fails on _app = (PathToAPK).StartApp () _app.EnterText (c => c.Class ("UITextField"), "") PathToAPK = Path.Combine(directory, "Android", "bin", "Debug", "") Var path = new Uri(Assembly.GetExecutingAssembly().CodeBase).LocalPath SetUp: System.Exception: App Installation failed with output: 12050 KB/s (11199602 bytes in 0.907s)įailure SetUp : System.Exception : Failed to execute: /users/erikandersen/Library/Developer/Xamarin/android-sdk-macosx/platform-tools/adb devices - exit code: 1Īfter updated GenyMotion to 2.3.1, I now get the following error: SetUp: System.Exception: No devices connected * Place an xtc_api-key file containing your api key in an upstream directory from the test assembly * Adding the following attribute to your Properties/AssemblyInfo.cs file: * Setting the XTC_API_KEY environment variable * Adding it ConfigureApp using the ApiKey method The full version is available for Xamarin Test Cloud customers, for more information contact you are already a Xamarin Test Cloud customer, you can provide your api in one of the following ways: SetUp: System.Exception: Unable to run on a physical device without activation. Any suggestions? I get the following errors when I try: I can't run Xamarin.UITests on any Android simulator/emulator. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |