Errors with Tizen IDE and HelloAccessoryProvider - android

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.

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.

How to setup Eclipse for Android

I'm trying to get Eclipse setup for Android and have done the following steps. I'm using the book "Android 101" and basically following the steps.
(1) Installed Java SDK
(2) Installed Eclipse
(3) Installed Android SDK
I start Eclipse and go to Window->Preferences and expect to see Android in the list. I'm supposed to select Android then point it to where I installed the Android SDK. The problem is that I'm not seeing Android in the list.
I did not have any trouble with the Java or Android installs, and I didn't see any option in the Eclipse install specific to Android.
I've searched on Stack Overflow and Googled, and am not finding anything.
From inside Eclipse select Help->Install New Software then click NEW.
Install ADT from https://dl-ssl.google.com/android/eclipse
After that you point it to your Android SDK install location and the APIs all show up. Hit APPLY and OK, then ready to start working.
The best plan here is to follow the advice given on the Android Developers blog in June, 2015.
[…] we are ending development and official support for the Android Developer Tools (ADT) in Eclipse at the end of the year. This specifically includes the Eclipse ADT plugin and Android Ant build system. If you have not had the chance to migrate your projects to Android Studio, now is the time.
I'm a long-time Eclipse user, and I recently fired up Android Studio for some brief Android testing. There was definitely a learning curve, but it wasn't insurmountable.

Can Android SDK tools be installed in Scala IDE?

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.

Android SDK installation (adt-bundle-windows-x86_64-20131030)

I have Win7-64 laptop, installed JDK, Eclise is working. I am failing to install the Android SDK. I downloaded 'adt-bundle-windows-x86_64-20131030' from developer.android. When I used SDK Manager, i could select required installation components and it shows as complete. However, I dont see anything in the 'All Programs'. I also dont see any plugin (that I was supposed to see) in the Eclipse as well. So I gather I am missing some step. Can anyone help. Pl see![][1]
Your downloaded sdk files may not shown in All Programs as they are not executable nor meaningless to be clickable.
Sometimes many folks got a problem to point out exact SDK path, so more than one SDK binaries are downloaded. I think your eclipse cannot find sdk path properly.
To find out where the SDK path is, it displays in SDK Manager.
Then, you can set the path in Eclipse Eclipse->Window->Preferences-> select Android from left hand menu. Check SDK Location has same path; see screenshot.
FYI, as downloaded files are just a bunch of binaries used only for Android development, you can copy the whole android-sdk folder to other place.
I personally recommend to change the directory to C:\Android or C:\User\<me>\Documents\Android-sdk as default directory is in C:\Users\<me>\AppData\Local hidden folder.
The ADT bundle includes an Eclipse executable fully configured with the Android SDK tools. It does not add a plugin to an existing Eclipse install. To launch ADT/Eclipse goto . Search for eclipse.exe within that directory. This is the executable you need to launch.
On my Mac, the Eclipse executable is in /Applications/adt-bundle-mac-x86_64/eclipse/Eclipse.app/Contents/MacOS/eclipse. Just a guess, but on Windows, the path will probably look something like adt-bundle-windows-x86/eclipse/Eclipse.app/Contents/windows/eclipse.exe
I would personally suggest to use Android Studio 2.1 for easy install of plugins as whenever there is an update to any platform tools or build tools they are readily available and the dependency injection is far better with the build tools such as Gradle which are bundled with the Android Studio .
Android Studio
Android adt is plugin to use Android SDK in Eclipse IDE. You have SDK you have Eclipse now you need to install adt plugin in eclipse to use your SDK.
You can refer Android developers for plugin installation
https://stuff.mit.edu/afs/sipb/project/android/docs/sdk/installing/installing-adt.html#Download
For "I dont see anything in the 'All Programs' I also dont see any plugin" part you will not see any extra program installed in your system as adt is extension of eclipse. When you will have adt in place you should be able to see Android option in eclipse preferences. You should also be see Android APplication option while creating new project.

Use Android sources plugin with Eclipse ADT bundle

I followed android.com's instructions for installing eclipse with android developer tools (ADT) bundle. I then in eclipse do Help > Install New Software... to attempt to install Android Source Plugin which I have happily used for at least a year on my old eclipse installation.
Attempting to install it using Java Rel7, I get an error which I found some bug reporting was due to running eclipse on Java Rel7. So I tried to run Java Rel5 but this version of eclipse needs Java Rel6. So I installed Java Rel6 and tried running eclipse on that and installing the Android Source Plugin, but that failed too.
Anybody else run in to anything like this? Know any workarounds?
You could try installing eclipse and the SDK seperately. I've had to install android a few times recently on different machines and this is the approach Ive taken. You can download eclipse from the eclipse website at http://www.eclipse.org/downloads/. (I have the first option Eclipse IDE for Java EE developers).
After that is installed you can install the android sdk using this guide http://mobile.tutsplus.com/tutorials/android/android-sdk-installation/
Also make sure if you want to test on a phone that you go into the android sdk manager (should appear somewhere in eclipse when SDK installed) and download the updates there.

Categories

Resources