in android sdk developer guide it has been mentioned as the following
Android applications require JDK 6 compatibility. Gradle requires JDK 7 or
higher. While you can use a higher version of the JDK than JDK 6 with Android,
you must set your IDE to enforce JDK 6 compatibility for your generated classes.
please tell whether it is necessary to do this and if yes then how to do this?
Dibya, I haven't had any issue while working with JDK8 having said that i had also upgraded the Gradle version probably because of that. Once you have your project setup in android studio you may see some prompts to update the required components. Are you running into any specific issue concerning JDK configuration in your project?
I'm trying to run the exampleclient sample code.provided in the android sdk. I have set the min sdk version to 18 and gradle version I have adjusted to 3.3.
jdk version is 8
Are you able to build the project without any errors? This seem to indicate there there is some issue in the project setup. could you please also check the event log at bottom right corner for more information.
ya the project build is working properly. infact i am also able to install the app
then it asks for ip address,port number,app key. which I provide and after that when it is trying to connect,the app crashes.
just to confirm when you are prompted with the connection details are you using such a pattern ws://<machineIP/Name>:8080/Thingworx/WS
for connecting to ThingWorx server?