Can Android SDK tools be installed in Scala IDE? - android

I have Scala IDE installed and I want to add the Android SDK Tools to it. I'd rather not download the ADT Bundle and have 2 different copies of Eclipse on my system.
Can the SDK Tools be safely installed into Scala IDE, and how? Also will there be any further dependencies to install, or does Scala IDE contain everything needed for the SDK? I'm rather new to Eclipse and Android and I don't want to risk messing something up.

Why don't you just try ? :)
Both Scala IDE and the Android SDK are available as plugins for Eclipse (Scala IDE, Android SDK). And there is an extra plugin useful to simplify the configuration of a Scala + Android project (AndroidProguardScala). All the needed dependencies should get pulled automatically.
Finally, there is a short tutorial to tweak the example Android app for Scala. I didn't test it with the latest versions of everything, but it used to work very well.
On a side note, I would advise you to setup different Eclipse for different purposes. It is usually an better idea than trying to cram all the features you may need in one Eclipse installation.

Related

What is the Last Version of the Eclipse ADT plugin

I have always coded android apps using eclipse as opposed to android studio simply because i find it faster than android studio. However because google has deprecated eclipse as the official IDE for android.They also stopped developing android developer tools (ADT) plugin.
For purposes of the layout renderer in eclipse, I need to know what was the last version of Android Developer Tools plugin for eclipse to be ever released by google before it was deprecated?
The last version of ADT tools should be ADT-23.0.7.
I've never managed to find something newer than that.
In the official annoucement it states:
Android tools inside Eclipse will continue to live on in the open source community via the Eclipse Foundation. Check out the latest Eclipse Andmore project if you are interested in contributing or learning more.

What's the Eclipse Andmore Project?

Android Studio was announced in May 2013 and maintained by Android technology team since then. It is based on the IntelliJ IDEA Community Edition, added features that are designed specifically for Android development and cooperated with JetBrains, creators of one of the most advanced Java IDEs available today. As the official Android IDE, Android Studio gives us access to a powerful and comprehensive suite of tools to evolve our app across Android platforms, whether it's on the phone, wrist, car or TV.
As Android Studio arises, Eclipse, the powerful open-sourced IDE, worked with Android Developer Tools (ADT) to create gorgeous Android apps, begins to fall. Now that when Android M Preview was released, Eclipse couldn't work with the latest Android SDK whose structure was changed but Eclipse couldn't adapt it.
It is said that development and official support for the ADT in Eclipse will be ended at the end of the year, just to make way for focus on all of their efforts on making Android Studio better and faster. But Eclipse isn't abandoned completely for Android Development. Android tools inside it continues to live. They created a new project called Andmore - Eclipse Android Tooling.
So, what is Andmore? Now that ADT in Eclipse is not supported any more, they create this Eclipse Android Tooling for what? After Eclipse don't work for Android development at all, developers would switch to Android Studio, the official IDE, I think, will someone prefer Andmore in Eclipse? If so, what are advantages of Andmore in Eclipse which force them to choose it?
Any tips will be appreciated. Thanks in advance.
The purpose of Andmore is to provide Android Eclipse tooling without having to go through multiple steps.
The technology development involves integrating and refactoring the Google ADT plugins as necessary to work with the project. Similarly, the former MOTODEV plugins have components that can be integrated into the project.
Andmore includes:
JDT for Android Java applications.
CDT for C/C++ shared libraries.
Gradle tooling (details TBD)
Maven Build support via the M2E-Android Eclipse Plugin.
Ant support via the built in Eclipse support for ANT.
A fork of Google's ADT (Android Development Tools) plugins for
Eclipse.These are maintained separately from Google's code line at AOSP, which will not be updated with any regularity.
The former MOTODEV Studio Plugins (now part of the Android Open
Source Project) upgraded to work with ADT.
A p2 repository and product build using tycho.
Mylyn Reviews for Gerrit Review integration.
EGit for source code management.
GitHub Plugin from EGit for better collaboration with GitHub
projects.
In addition to components, Andmore will produce an EPP package.
The source code for Andmore is maintained on Github. To contribute, please make sure you have a signed CLA with the Eclipse Foundation on file, and fork the repository. Pull requests and will be reviewed by an existing committer before being merged.
Source repository can be found at https://github.com/eclipse/andmore/

Errors with Tizen IDE and HelloAccessoryProvider

I am trying a sample app for Tizen Wearable SDK but the IDE does not seem to be configured properly. It reports imports could not be resolved library and the samsung android libraries. My guess is these dependencies need to be added to the project's path somehow.
I tried adding external classes from the Tizen Wearable SDK
UPDATE
I have tried to install the ADT Plugin but I get stuck on the license screen
You don't have the Android plugins for Eclipse installed from what I can see on your preferences panel. The Tizen IDE, out of the box, only supports the Tizen Wearable build.
You will need to install the Android Development Tools (ADT) plugins for Eclipse and then point the preferences at the SDK. That will clear up your Android SDK build errors. Then you just need to add the Samsung SDK jars to your project if they still fail to build. The samples should already have the links to SDK jars in them, so just getting the plugins installed is your first step.
Here's a blog post I wrote on the subject a few months ago. Skip to the TL;DR part. But, the short answer is, add the ADT plugins by adding a new install site that points to
https://dl-ssl.google.com/android/eclipse/
You will not be able to install the Native Development Tools component due to a conflict with CDT versions, so uncheck that.
You can try using the Tizen IDE to create the HelloAccessoryConsumer (wearable part) and a separate Eclipse IDE with ADT plugin to create the HelloAccessoryProvider (Android part). Then add the .wgt file which is generated in the HelloAccessoryConsumer project to the assets folder in the HelloAccessoryProvider project.

Android SDK Build Tool Multiple Versions

I need to know, Do we need to install every Android SDK Build Tool, or only the latest one will be sufficient?.
See this image for reference,
Quote from official android website:
Build Tools is a component of the Android SDK required for building
Android application code. The latest version of these tools is
included in the SDK starter package and installed in the
/build-tools/ directory.
You should always keep your Build Tools component updated by
downloading the latest version using the Android SDK Manager. By
default, the Android SDK uses the most recent downloaded version of
the Build Tools. If your projects depend on older versions of the
Build Tools, the SDK Manager allows you to download and maintain
separate versions of the tools for use with those projects.
To make it short,if your project is using an OLDER version of apis (like 2.2 etc), it might make sense to use the build tools that were supplied to it.
See this to know more about the build tools.
But, having said that, there is NO NEED TO INSTALL OLDER VERSIONS of the build tools. You should always use the latest
Android SDK build tools are used to debug, build, run and test an Android application,so the latest update will always have the most refined of features.
But of course, this is only for the final android app. If you want to use the version specific features of the build tools, you will need to download the respective build-tools.
Quoting The comment below for easier readability :
It's more if you created custom build scripts (Ant, Gradle, etc.) that
assumed certain command-line switches for the build tools (dx, aapt,
etc.), you can stick with a particular version of those build tools.
Otherwise, developers tend to move to the most recent version of those
tools, for better performance, bug fixes, and the like
If you are not using any 3rd party libraries or support libraries then no you dont need to install everything but some libraries (google play services and the support library for example) require you to install other SDK's
Long story short, it is recommended you install the latest version of the SDK Build tools. The older versions are left there for backward compatibility, that is if your projects depend on older versions of the Build Tools. I've resolved many errors in my projects by just referencing older versions of the build tools.But most importantly, you are better off with the latest version.

After downloading NDK r8 whether I need to download more or not?

I have downloaded android-ndk-r8b.zip(180MB),but I want to know if I need to download anything else?
I am using the NDK because I want to use C/C++ native code (used in tesseract3.0 project) in my android library.
I am using Eclipse IDE(Indigo).
I also installed the following
installed CDT from Eclipse update site http://download.eclipse.org/tools/cdt/releases/indigo.
installed Android SDK + NDK Plugins from Eclipse update site https://dl-ssl.google.com/android/eclipse/
If you want to code under Indigo you do not need anything else, however i found Eclipse to be an horrible IDE for C and C++ and i suggest to code with just a text editor and a terminal because it's just more flexible and reliable.
To develop in android using eclipse you need: Android-SDK, Android-NDK and eclipse plugin.
If you use windows you also need to install cygwin version 1.7 or greater.
You need gnu Make 3.81 or later and a recent gawk (include them during cygwin installation).
See http://developer.android.com/tools/help/adt.html for the detailed explanations. In addition to eclipse and SDK, you should install ADT Plugin. Form version 20, the plugin supports native development, in addition to java.

Categories

Resources