Checkstyle-Idea plugin with Android Studio - plugins

With the latest version of the plugin, I have found that it is incompatible with Android Studio since it requires Java 8. It recommends the JetBrains IDE with pre bundled Java 8 for Mac users.
Has anyone found a way to get this plugin working with Android Studio? Thanks in advance!

Add a new enviroment variable for your current User named JAVA_HOME pointing to your Java 8 installation.

Related

Error configuring pipeline debugger in Eclipse

enter image description hereI have been trying really hard to configure a pipeline debugger in eclipse. After using my digital server account in server configuration when i select my site and click 'Debug' button it gives me an error
Could not initialize class com.thoughtworks.xstream.converters.collections.TreeMapConverter
I couldn't find much help online. I even tried changing the JRE version to an older version 14.0.2 but it doesn't seem to help.
[![Image attached of error][2]][2]
enter image description here
That library seems to be a core component of the Pipeline editor. I would suggest that you ensure that your Eclipse version is compatible with the plugin if you haven't done so already.
Currently, according to the documentation it only supports:
Mars - Eclipse 4.5
Neon - Eclipse 4.6
Furthermore, you must install the correct version of the plugin for your version of Eclipse. (Though in the past I've found that older plugin versions may sometimes work in newer Eclipse builds.)
This error relates to discounted class from JRE.
So my recipe for solving the issue:
used OpenJDK v11
installed latest eclipce version
SFCC plugin v4.6
Some found issues:
with new eclipce version brakepoints are not set from JS editor only via ScriptEditor
Thank you,
Aleksandr
I had issues with running debugger, but after I installed eclipse version 2020-12 and installed UX studio plugin it started to work. maybe new versions are not compatible with plugin

Netbeans - Automatic Java ME SDK platform addition failing

I am trying to setup Java ME SDK 8.3 with Netbeans 8.2. I followed the following install order:
Java SE Development Kit 8u152
Java ME SDK 8.3
Netbeans 8.2
Then I try to add Java ME SDK 8.3 to Java Platforms
Tools --> Java Platforms --> Java ME CLDC Platform Emulator --> Choose Java ME SDK Directory, then automatic detection fails.
I have tried re-installing Java ME SDK and Netbeans. But it didn't help. How to solve this?
The problem is that SDK 8.3 isn't CLDC but rather CDC.
A lot of people are confused by this, which is understandable. I have no clue why Oracle thought it was a good idea to keep the name "JavaME SDK" but leave out MIDP and CLDC starting from version 8.
What you need to download is Java ME SDK 3.4 (or the latest v3.x). This is the last Java ME SDK that contains CLDC API's.
You can manually add the path for your Java SDK in the netbeans.conf file.
Right-click on your desktop and click properties and open location:
Open Dir C:\Program Files\NetBeans-15\netbeans\etc
Open File netbeans.conf
goto
# Default location of JDK:
# (set by installer or commented out if launcher should decide)
#
# It can be overridden on command line by using --jdkhome <dir>
# Be careful when changing jdkhome.
# There are two NetBeans launchers for Windows (32-bit and 64-bit) and
# installer points to one of those in the NetBeans application shortcut
# based on the Java version selected at installation time.
netbeans_jdkhome="PATH TO YOUR SDK"
I was facing the same error. Installing Sun Java Wireless Toolkit worked for me.
Link: http://www.oracle.com/technetwork/java/index-jsp-137162.html

how to upgrade eclipse in appcelerator studio

How do you upgrade the Eclipse version in Appcelerator Studio from 4.4.2 to Neon or Oxygen? I am working on PyDev projects and getting the error please update your Eclipse to 4.6 or later.
Simply adding the URL to the installation source allows add-ons but does not upgrade the Eclipse Platform. I already have Oxygen loaded on my development station. Is there a way to use that version rather than the built in version
Platform OSX 10.13, Python 2.7, Appcelerator Studio 4.10.0.201709271713, PyDev 6.0.0.2017xxxx
You can't upgrade Appcelerator Studio eclipse base version. Studio 4.10.0 comes with the Eclipse 4.4.2
However, it's planned for future release https://jira.appcelerator.org/browse/TISTUD-7565
Please provide more details about your problem in the above ticket.

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

Where can I get ADT 0.9.6 for Eclipse 3.5?

I am having problems with Eclipse (3.5.x Galileo) crashing after installing ADT 0.9.7, so I want to try a downlevel version of the Android ADT (with Android SDK r06_windows) to better isolate the issue. When I try to 'check for software' at
https://dl-ssl.google.com/android/eclipse/ I can only select 0.9.7? Is there a trick to get the older version or an archive of the older version?
I found it ADT archives http://developer.android.com/sdk/adt_download.html
You can download it from this page. What crash issues are you having? Have you tried with the latest version of Eclipse 3.6?
The android sdk website (http://developer.android.com/sdk/eclipse-adt.html) Will tell you not to install Version 3.6 of Eclipse but try to download 3.5 (Java build afaik)
Caution: There are known issues with the ADT plugin running with Eclipse 3.6. Please stay on 3.5 until further notice.