Xamarin.Android Dev with Rider - Change JDK Version back to 1.8 - java-8

We are currently developing a Xamarin.Forms Application under Mac OS with Jetbrains Rider. We are running into this error The "AdjustJavacVersionArguments" task failed unexpectedly when we try to run the Xamarin.Droid App in the Emulator. To solve this issue we want to set the JDK back to Version 1.8 (right now it is 1.9, which seems not to work at all).
Where can we do this in Rider? We havn't found any option for this in the global-, or project- specific settings.

Please refer to this.
JetBrains Rider includes JetBrains Runtime (based on OpenJDK 8), which is used by default.
1) On the Help menu, click Find Action, or press Ctrl+Shift+A.
2) Find and select the Switch IDE boot JDK action.
3) Select the desired JDK and click OK.

Related

Java SDK 11.0 or above is required when using $(TargetFrameworkVersion) v12.0

While Creating APK At Android API LEvel 31 i Got Above Error.I updated jdk version from 8.0 to 19.0 still got Above error. using -Visual 2019. Don't Know What To Do.Please Provide Some Help.
How Do I Solve This Problem.Please Guide i am not able to publish app on playstore.
To solve this error, first you need to update your Java JDK to version 11.0 or above.
After updating SDK make sure you set the right path under Java JDK location under Visual studio.
Click Tools > Options…
Within the left-hand tree of the Options dialog box, select Xamarin > Android Settings:

Xamarin forms build success but deploy failed

I receive this warning when ever I try to deploy my Xamarin.Froms app to any device or emulator. Also the deploy fails without any errors. I cannot run my app. Can Any one please help me?
The $(TargetFrameworkVersion) for Xamarin.Forms.Platform.dll (vv8.0)
is greater than the $(TargetFrameworkVersion) for your project (v7.1).
You need to increase the $(TargetFrameworkVersion) for your
project. App2.Android C:\Users\subas\source\repos\App2\App2\App2.Android\App2.Android.csproj
EDIT/UPDATE
Right now JDK9 and the Android SDK tools are not compatible with each other - thus Xamarin.Android does not work with JDK9.
Run the following to see the version of java you have installed:
java -version
If it reports something along the lines of java version "9.0.4" you have JDK9.
Specifically there's an issue with the apksigner. It's not using the -classpath switch that the JDK expects.
Easiest way to fix is to install the JDK8 and make sure your PATH is pointed at it.
This documentation gives a solid overview.
ORIGINAL
Sounds like the target Android framework in the project needs to be updated to point to the latest version of Android.
First - make sure you have the latest Android SDKs installed. Here's some documentation on that.
Once you have the latest - here is how to make sure you're targeting the latest - depending on the IDE you're using:
Visual Studio Mac
In the solution explorer, right click the Android project and select options.
Under the Build -> General node - select "Use latest installed platform" from the Target Framework dropdown.
Save everything, close the solution, restart VS-Mac
Visual Studio
Right click the Android project in the solution explorer and select properties
Under the Application node, select Use Latest Platform from the Compile Using Android Version dropdown.
Save everything, close the solution, restart Visual Studio

AppCode unable to build/run my application on iOS device

After upgrading to XCode 8 I am no longer able to run or debug my application using AppCode. I am running version of 2.16.2.3 of AppCode. After attempting Run|Run from AppCode's menu I get the following error in the messages tool window.
Error:Build failed in 2s 432ms
Note:Code signing is required for product type 'Application' in SDK 'iOS 10.0'
XCode is able to build, run and debug the application with no problem. I have code signing identity set to Automatic/IOS Developer for all configurations of my target. I've tried Invalidate Caches/Restart from AppCode but no luck.
Anyone have any ideas?
Thanks
JetBrains support figured it out. Some kind of bogus data in project.xcworkspace directory. Cleaned that out and everything is fine now. See https://youtrack.jetbrains.com/issue/OC-14584
Can you try to update your IDE? I had a similar problem few weeks ago, but than after some version it disappeared.
Now, my AppCode version: AppCode 2016.3 EAP
Build #OC-163.7743.19, built on November 9, 2016

Kony Platform not regconize Xcode

I am working on the Kony Platform 6.5. My Kony Studio don't recognize my Xcode when I click refresh button in the Preferences. I am using the Xcode 7.1.1 . Can anyone give me some suggestion about this problem ?
This is my attached image
I had the same issue in the parellel OS environment ( running visualizer in parallel).
I tried update plugin from kony. But didn`t work.
Then got solved by turn the Xcode server option on.
From menu, Xcode -> Xcode server.
Please try fetch xcode details after enabling this.
You need to install the latest version of the plugins for Kony Studio und Help -> Check for Updates.

Can't deploy debug version of my app after upgrading to iOS 4.2

I just upgraded to XCode 3.2.5 and iOS SDK 4.2, and I upgraded my device to 4.2.1. Now I can only deploy a release version of my app. How do I deploy a debug version of my app? Do I need to install debug symbols on the device? If so how?
Perhaps this can solve your problem, at least it worked for me:
Change the build settings for base
sdk to latest iOS version
Change the active configuration to
Release
Choose Device in the same menu as
configuration
Switch back to Debug configuration
Choose Device in the same menu again
/Jakob
Go to the developer.apple.com site, sign in to the iOS member site, on the home tab is the Launch Assistant that will help you install your app to your device.
Two methods for running (Release vs. Debug Modes):
A) Run in Profiling Mode (it has Release Build set by default. Note: the NDEBUG macro is NOT set!)
B) Change the Run [appname] part of your build Scheme to Release mode temporarily, then back to the Debug default afterwards.
As for the device deployment part, I have not encountered this problem.
if you use an old iPod device, you should support armv6 version.
set "Architectures" , add "armv6" in both Debug and Release mode.

Resources