Installing new Scala SDK 3.x.x on IntelliJ - scala

I need to run Scala 3.x.x from IntelliJ. This is how I am trying to install it:
Click File > Project Structure...
Click on the "+" button (New Project Library):
Click "Scala SDK":
A new window pops-up showing a list of Scala SDK versions to choose from:
Scala 3.x.x is not listed for me. Even when I click the "Download..." button, I only see versions from 2.10.0 to 2.13.8:
How can I find Scala SDK 3.x.x?
UPDATE 1:
I see this question posted at https://youtrack.jetbrains.com/issue/SCL-19125#:~:text=Go%20to%20project%20structure,of%20scala%20sdks%20after%20downloading, but no answer.
UPDATE 2:
I have IntelliJ IDEA Community 2020.2:
UPDATE 3:
I checked for updates:
I clicked "Update and Restart":
In the "IDE and Plugin Updates" window, I clicked "Update and Restart":
Something was being downloaded:
After restarting IntelliJ, updates took place:
Finally I have a newer version of IntelliJ IDEA installer:
I still only see versions 2.x.x available, even now that I have IntelliJ IDEA 2021.3.3 (Community Edition) Build #IC-213.7172.25, built on March 15, 2022:

Works with latest IntelliJ IDEA 2022.1.1 (Ultimate Edition) and should work as well with latest Community Edition.

Checking for updates will only download the latest 2021.x.x release.
You need to download and install the latest IntelliJ release instead from the website.
I would recommend to not uninstall your older version. You can still do that later after you got everything working with the new version.

Related

"Plugin Scala is incompatible with this installation" error with IntelliJ 14

From Browse Repositories in IntelliJ 14, the newest Scala plugin is version 1.5.2.
From the Scala plugin homepage for IntelliJ, the latest version (as of Aug 10, 2015) is 1.7.4. https://plugins.jetbrains.com/plugin/?id=1347
However, when I tried to install it from "Intall plugin from disk ..." after downloading scala-intellij-bin-1.7.4, I got this error:
What might be wrong?
On the link that you've provided you can see that compatible Intellij Idea builds for 1.7.4 version are 142.3553 — 143. The latest 14 Idea build has version lower than 142 - so it's incompatible with this plugin version. There is already EAP Intellij Idea 15 which you can download and install new scala plugin version on it.
I faced the same issue with 2020.2.4 Intellij IDEA. I just uninstalled the plugin and installed it again. Fixed the problem.
Try this way:
Go in settings - ctrl + shift + s
Plugins
Updates at the top
Push the button Update all
Done!
The best option is to directly install the Scala plugin from the marketplace. However, if you can't do it for some reason (say, HTTP proxy related), you can download the plugin and install in the IntelliJ. Finding the correct plugin is little tricky, I provided a screenshot below:
The supported products are provided and we will need to look closely for that. This plugin will only work for those products.

In switch to Android Studio should my SDK location be the same as Eclipse version?

I'm trying to move from Eclipse ADT NDK build to Android Studio on my Mac OS X. In doing this, one thing I notice is the Project Structure's Android SDK Location for my ported project and for new projects is defaulting to be: /Users/user1/Development/adt-bundle-mac-x86_64-20131030/sdk.
Shouldn't the Android Studio come with its own SDK and shouldn't I be using it by default? I looked in the application install directory but found no signs of an SDK directory there. I'm concerned that the sdk is from October 30, 2013 and so it seems rather old. What are the implications of moving to a newer SDK?
Perhaps related to this is that when trying to use the old Eclipse Kepler that used to build for me:
I get notice on Eclipse launch:
This Android SDK requires Android Developer Toolkit version 23.0.0 or above.
Current version is 22.6.2.v2014032112031-1085508.
Please update ADT to the latest version.
Click "Check for Updates":
No Updates were found.
No Repository found at https://dl.google.com/alt.
Tried to update the repository to (for Kepler Eclipse):
https://dl.google.com/eclipse/plugin/4.3
Still no updates found but error about no repository goes away.
I resolved this later issue with the answer posted here.
cant comment on details of OSX but on linux/AS with Eclipse & AS , i found follow to help:
provision environment to use multiple versions of java JDK
install oracle JDK 1.7 that will be just for use by shell script running AS
note ASRoot/bin/studio.sh .... if [ -n "$STUDIO_JDK"
accordingly provide for the above ENV VAR and its use by the AS.studio.sh
that version of the JDK does nothing more than run AS
Then , for the ADT stuff (OK to be shared by Eclipse & AS ), you can keep updated another version of the SDK/ADT in a path where theres read access by both eclipse/ AS.
I think u can use ./android to keep updated this , original sdk/adt

Cannot install SBT plugin for IntelliJ 12.1.6 CE on Mac

I would like to install the SBT plugin in IntelliJ 12.1.6 Community Edition (Mac) found here: http://blog.jetbrains.com/scala/2013/07/17/sbt-plugin-nightly-builds/
But after adding the repo I tried to install sbt-intellij-bin-0.1.5.8 but the download fails.
What might be the source of the problem?
The latest nightly version of the SBT plugin is not compatible with IDEA 12 anymore, only IDEA 13. If you download it manually and try to install an error message stating that will pop up, but for some reason (probably a bug) it isn't really visible when installing from a repository.

Adding Java ME platform in NetBeans

I installed NetBeans 7.2.1 with JDK 7 and the plug-in - Java ME SDK 3.2 (it has Wireles Toolkit 2.5.2 inside).
I try to create new project by clicking File/New Project/Java ME/Mobile Application. Then I click next. In next window the message:
Every CLDC project needs to have CLDC compatible SDK/platform/emulator assigned to it.
Pressing Install SDK/Platform/Emulator button opens Platform Installation wizard, which allows you to "add platform".
I tried clicking Install SDK/Platform/Emulator button and I tried then indicating the folder, where Java ME 3.2 is installed. It can recognize the emulator, but the project cannot be started.
After the choice, there appear several options. How to make in new version? Most of the thing in Internet are connected to old version.
Have you tried using this Oracle tutorial online? It's fairly current (September 2012). There's also an even newer one just posted here.
If you install the Java ME SDK that way, you should have the proper Java Platforms there already. It's hard to read your screen capture, but it doesn't look like the proper Java Platforms are there. I would try again, following the steps in the link I provided.
I just tried it, with NetBeans 7.2.1, and the Java ME SDK 3.2. The version of NetBeans I used was from this download page and was the Java EE version.
One easy thing to miss in the steps below is that on this download page, you need to download both the Java ME SDK and the Java ME SDK Plugin for Netbeans. Not just the plugin. This applies for the installation instructions in either of the two links I posted above. Install the SDK, and not just the plugin.
In case that link later changes/dies, here are the important steps:
How to integrate Java ME SDK 3.2 with NetBeans
By SungmoonCho on Sep 25, 2012
Many people like to use Java ME SDK with IDEs. We provided instructions on how to integrate the SDK with NetBeans through the download page, and also through the release note, however, let me explain it here once again with some screen shots.
Download Java ME SDK and NetBeans plugin from here.
Install Java ME SDK first. You will have the emulator and the runtime on your machine. Also please unarchive the NetBeans plugin somewhere.
Launch NetBeans.
Go to "Tools" - "Plugins".
Check out the "Installed" tab. Check "Show details". If you see the previous version of Java ME SDK Tools installed already. Check those to uninstall them.
Go to "Settings" tab.
Click "Add", and provide the location of NetBeans plugin. In my case, it is "file:/C:/Users/sungcho/Downloads/nb-me-sdk-plugins-uc/updates.xml". Don't forget to add "updates.xml" at the end.
Click "Okay"
Click "Available Plugins" tab.
If you scroll down, you will see three Java ME SDK Tools. Check "Java ME SDK Tools" plugin. Also check others as you desire.
Follow the instruction and install them.
Restart NetBeans
That is it. Done. Now you will see Oracle Java ME SDK 3.2 in your Java Platform list.
Finally, I configured it. I had plug-in without SDK:). I uninstalled plug-in. I installed Java ME SDK 3.2, then I installed plug-in. I installed SDK not in the default path. I indicated platform using "Add platform" button. I indicated 2 platforms and now the project can be run in the emulator.
Here are platforms:):

Android Eclipse can't see library's class

I have around 5 projects in my Eclipse, all of them were working and compiling just fine but since last eclipse and sdk update I've got a strange bug with mobclix and admob libraries:
app is compiling fine without any errors but when I open any activity with ads it crashes!
Error:
E/AndroidRuntime(22504): Caused by: java.lang.ClassNotFoundException: com.mobclix.android.sdk.MobclixMMABannerXLAdView in loader dalvik.system.PathClassLoader[/data/app/com.rvanavr.app.apk]
I've spent a day trying to fix this bug:
- removed/added library
- cleaned project
- reinstalled sdk
- reinsalled everyhing
Did somebody face this bug? Really need you help guys!
Yes, I had the same issue yesterday, and found that the problem maybe related to how ANT builds the projects underneath eclipse. I too started seeing this problem right after I upgraded Eclipse ADT plugin, and also get the latest updates for Android SDKs (API versions 10 and 15). So, generally based on other stackoverflow questions, I upgraded eclipse as described below, and the problem went away. The way I understand is that Eclipse's build system wasn't including mobclix.jar in the final build, and did not report any errors or warnings to alert this fact. Here's how I upgrade eclipse:
Eclipse Help Menu -> Install New Software, pops up this window:
Select "The Eclipse Project Updates" - I'm using version 3.7 (Indigo). Then click on "Select All", and hit "Finish". All Eclipse components that aren't up-to-date, will get upgraded to the latest. And then it'll ask you to restart Eclipse. When I did that, and rebuilt my project, I didn't have any problems with mobclix.jar and undefined classes.
Btw, after the upgrade, here's my Eclipse version (in case you want to compare your current version to mine):
Version: Indigo Service Release 2
Build id: 20120216-1857