Java - regarding Android Studio alongside PyCharm - android-studio

I'm running LinuxMint and developing in Android Studio while using PyCharm for a class so I can code in Python. I have openJDK7 installed and I'm currently using it for both Android Studio and PyCharm. Whenever I open Android Studio, though, it complains and says that I should use the Oracle JDK, not OpenJDK. Is there a way to install multiple versions of Java and update the environment variables so that Android Studio uses the Oracle JDK and PyCharm sticks with OpenJDK? Or would it make sense to use the Oracle JDK for both?
Thanks in advance!

Related

Android Studio - Where is Kotlin installed?

I have macosx and I would like to use kotlin from terminal. Then I would like to find where is kotlin installed, since I'm using it from Android Studio.
I know i can install Kotlin using homebrew but I want avoid having two copies of Kotlin.
The kotlin that is bundled with AS can be found here
/Applications/Android\ Studio.app/Contents/plugins/Kotlin/kotlinc/bin/kotlinc
I have Android Studio installed and I found the Kotlin location within ~/home/<user>/AS/plugins/Kotlin/kotlinc/bin.
Current OS : Ubuntu
For Windows 10 (Android 4.1 at least)
C:\Users\<User>\AppData\Roaming\Google\AndroidStudio4.1\plugins\Kotlin\kotlinc\bin\kotlinc.bat

Could not compile service support class

I have been having this error since for Android compilation .
My sdk url is oky, emulators are being detected but i cant generate any apk or run any android based app. Could
Your question is quite incomplete. Which LC version are you using, which Java JDK are you using, do you use Android Studio (just for the sdk) or do you have it installed via cdm? You need the Android sdk and Java Jdk.

Android Studio import Eclipse project from command line

It possible automate import Eclipse Android Project (generated by Unity 5.4.3) into Android project with command line using android sdk?
For some reasons (eg methods limit and others) i need build android project with gradle. But Unity 5.4.3 not supported build with gradle and i can't update it for new version because i have some problems with convert my unity project to the new 5.5-5.6 versions.
According to the Android Studio official document, there seems no way to import an Eclipse Android Project into Android Studio using command line (bat or sh). I know that Unity 5.5 and 5.6 are not quite stable yet, but it's still your best bet to upgrade.

Mule Anypoint studio not working properly in ubuntu linux 16.04 LTS

I installed jdk 1.8 and set the JAVA_HOME variable in my ubunut 16.04 LTS machine.
After that I downloaded Anypoint studio and extracted the files in it. Then when I run the studio it is getting opened properly. But remaining controls seems not working properly.
For example, When I click on windows->preferences and searching for 'JRE', it is not searching at all. Did anyone has same/similar issues?
You should check and see if Anypoint Studio supports Java 8 currently. I just switched to version 3.8 and my Studio seems to "want" Java 1.7. I have version 8 Java on my machine but I noticed that the latest version of Anypoint Studio (using 3.8 Mule EE) wants to use 1.7. I tried to select my 1.8 Java and it said that Anypoint Studio would still be using a compiler compliance level of 1.7.
Go read the documentation on the Mule site.
HTH

Upgraded to Android Studio 1.5.0, then 1.5.1 and can no longer create a project

I'm doing a bit of Android dev on the side, so I'm no gradle expert. Just trying to create a project for Android 4.0.3+. This used to work before upgrading to Studio 1.5. Any ideas how to get this setup so can make projects again? I have no idea what appcompat-v7.15+ is or what to install so it can find it.

Resources