Eclipse doesn't recognise Dart SDK or Dartium installations - eclipse

I'm trying to use the Eclipse plugin with the Dart SDK and Dartium. I installed the SDK, Dartuim and the Dart Editor from ppa:hachre/dart through apt-get on Ubuntu. The editor works fine, and so does Dartium.
In Eclipse, the Dart section says SDK version 0 is installed at /opt/eclipse/no-dart-sdk/ and that Dartium is not installed at all. I created symlinks to the directories where they were installed and restarted Eclipse. They are now recognised in the preferences. but my Dart project still says it can't find the SDK. When I try to run the test project. Eclipse throws and error: Cannot start pub serve or connect to pub. I ran pub serve through the command line and it worked.
Can anyone tell me hot to fix this Eclipse problem without having to re-install the SDK and Dartium manualy?

Related

Plugin Error: Plugin "Json2Dart" is incompatible (supported only in IntelliJ IDEA)

I am developing a flutter app using android studio 4.1.2 but this plugin Error pops up everytime and i could find a solution for it. what do you think i should do.
According to this answer IDE is no longer can see the plugin in list of plugins, but there is a file in your system. You need to manually delete this plugin. There is path to plugin directory:
Windows (Ctrl+L in the explorer then paste it): %APPDATA%\Google\AndroidStudio4.1\plugins
MacOS: ~/Library/Application Support/Google/AndroidStudio4.1/plugins
linux: ~/.config/Google/AndroidStudio4.1/plugins or ~/.local/share/Google/AndroidStudio4.1/

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 Google plugin for Eclipse

I am not able to install the Google plugin for Eclipse Luna 4.4.1 on Mac. I followed all the steps, and got no errors.
Eclipse restarted after installing the plugin, but after that I don't see the Google logo on my toolbar and even in File > New, I don't see any signs of installation.
Android plugins from the same link seems to be working but rest no sign.
Java on my Mac is up to date.
after 6 long hours, it worked out for me. This is what I did
I removed eclipse from my computer. delete those file from library folder. Delete workstation. https://stackoverflow.com/a/1998797/3861959
Updated Java, Downloaded and installed latest version of JDK (its different from java, one thing I didn't know).
Installed Eclipse, installed plugin

ADT not installing on Eclipse Kepler

I have downloaded Eclipse Kepler and now trying to instal Android ADT. I am facing the below issue.
Cannot complete the install because one or more required items could not be found.
Software being installed: Android Development Tools 22.6.3.v201404151837-1123206 (com.android.ide.eclipse.adt.feature.group 22.6.3.v201404151837-1123206)
Missing requirement: Android Development Tools 22.6.3.v201404151837-1123206 (com.android.ide.eclipse.adt.feature.group 22.6.3.v201404151837-1123206) requires 'org.eclipse.wst.sse.core 0.0.0' but it could not be found
Initially I tried to install using https://dl-ssl.google.com/android/eclipse/ . I got the error.
Later I downloaded the package and installed from local but getting the above error.
Any suggestions ?
I tried running the eclipse in administrator mode but still getting the same error.
ADT Plugin can't install: Missing requirement: Android Development Tools
Any help is appreciated. Note: In my system, Android SDK is working fine in my Eclipse Indigo working perfectly in my system.
ADT might depend on other plugins, such as Eclipse Web Tools. You need to make sure you checked Contact all update sites during install to find required software. Eclipse will then look up dependencies in other update sites, like the default Kepler one.
I have solved the problem by unzipping the eclipse again from the original zipped file. Right now everything works fine.
But thanks lulian Dragos.

Android SDK not showing in eclipse

I have installed also i have installed ADT Plugin but when creat new project it does not show android project.I have also tried to reinstall the ADT plugin but it says they are already installed.
Have you downloaded the API('s) you need/want with SDK Manager?