Android development setup on Windows - android

I have php and .net programming experience.
I want to set up a development system on a windows 7 64 bit PC. I could do with database usage at a later date. I want to do it as hard coding not use software that you just drag and drop objects to play games.
I have already downloaded and installed jdk-8u20-windows-x64.exe
What do I need to do next and in what if any order.

Get your Android SDK and Eclipse IDE here
https://developer.android.com/sdk/index.html
As this is not a programming question please use Google Search or a source specific to your problem next time.

It's quite simple really. I would suggest using Android Studio, which can be found here :
Download Android Studio
It says it's a beta version but I have (and I'm not the only one) been using it for production without issues for months now. It's really a question of preference but as far as I'm concerned, I found my productivity to be much higher on Android Studio than it was using Eclipse.
Once it is installed, find the SDK manager and download the latest SDK version, build tools and other things you may need (such as the USB driver for debugging, the support library, ...) :
I highly recommend you go through the training on the official documentation page to start getting used to your new toys :-)

Related

Quickest, least hassle way to get Android SDK

I want to target Android from Unity. I'll be teaching a class so want a fast and easy deployment of the SDK without messing with 30 students' different laptop setups.
Is it possible to download just the Android SDK for a given OS without going via intermediaries (SDKManager, Studio etc)? Where can it be found and are any installation steps required?
EDIT: Thanks to a comment on this question and a close look at what Studio was doing when it installed suggests this link works for Windows:
https://dl.google.com/android/repository/platform-tools_r26.0.2-windows.zip
Is there somewhere I can find a definitive list of such links? And is it sufficient just to grab and unzip this archive? Unfortunately I've installed Studio now so my environment is a bit hosed from a testing perspective...
UPDATE: I've now discovered that the Android SDK itself seems to require a full JDK installation (not just JRE). For that rather tangential reason it seems unlikely I can use this in my specific context.
I'd still be interested to know whether there's a place to grab the latest SDK as a direct download, in case I decide to try to repack these dependencies for my students.

Android Studio website

This is a quite strange question: why some parts of the android studio wesite aren't written in English but in Japanese?
and why Android Studio on startup tells me that there is an update available but if I visit the official website and start the download it is downloaded a less recent version than the one installed on my computer?
Vesrion installed: android-studio-bundle-141.2343393-windows
Version available for download on http://developer.android.com/intl/ja/sdk/index.html#top:
android-studio-bundle-141.2288178-windows.exe
For the first question, it's probably because you're on the Japanese website. The English one / official one is here : http://developer.android.com/sdk/index.html
For the version, it's not important. With the new intellij/android studio, update come through the software.

Can anyone help me with installing the correct version of eclipse to use for developing android mobile applications

Can anyone help me with installing the correct version of eclipse to use for developing android mobile applications with the associated plug ins needed
These videos by me :) can help you to set up Android development environment using Eclipse.
Here's the link : Set up android.
Caution : If you have been using Eclipse with ADT, be aware that Android Studio is now the official IDE for Android, so you should migrate to Android Studio to receive all the latest IDE updates. For help moving projects, see Migrating to Android Studio.
As Petey suggested in his comment, I would recommend giving AndroidStudio a spin as it is very well suited to Android programming. However, take a look at the eclipse ADT plugin which can be installed via the eclipse marketplace or a direct download from Google (Google ADT page).
That should give you enough information to get things rolling, but again I would strongly recommend trying to switch over to AndroidStudio. I think you will find the entire experience easier to get into and enjoy.
Here is the link :)
P.S. Why do people still use Eclipse while there is a GREAT tool for developing Android applications?

For android development, should I upgrade to Eclipse v4 ?

I'm using Eclipse v 3.7.2 to develop Android apps. I've been at it a few months and making some decent headway and am not sure I want to rebuild my development environment.
I don't doubt that Eclipse has been improved, but has it been improved for android development?
Before I rebuild my environment I'd like to know why should I fix it.
Can any one tell me if they have found any major feature advantages to upgrading to version 4 of eclipse?
I tried posting in the android enthusiasts group to find the question was "off topic", as there are many developers here I hope ye don't mind a non coding related question.
There is absolutely no need to rebuild anything. From your 3.7.2 installation you should be able to update your installation to 3.8 in place. Use Help->Check for updates with the 3.8 specific update site: http://download.eclipse.org/eclipse/updates/3.8
That way you get all the bug fixes and changes of the last release cycle, but do not need to switch to the e4 version of Juno. For you as Eclipse user the changes in the modeled workbench and CCS styling are not really important.
Note: Updating in place might be a problem if you use Linux and have installed Eclipse via a repository manager.

"App Engine Connected Android Project" not available

According to this guide by Google the "App Engine Connected Android Project"
should be available after installing/configuring ADT plugin for Eclipse, Android SDK and Google Plugin for Eclipse. I have installed everything in the most recent version in both Eclipse 3.7.2 (Indigo) and Eclipse 4.2 (Juno). However, I can't create such a project in any of the two Eclipse releases. Here are my installation details in Juno:
And here is a part of my Android SDK details:
My OS is Mac OS X 10.7.4
I know that I could see the menu point on 23/6/2012 before I updated the SDK tools to the most recent version.
Is anyone experiencing a similar issue or does anyone know what I configured the wrong way?
Thanks!
I just found a (I would say semi-official) statement from a Google employee here. It says, that the "App Engine Connected Android Project" has been removed in GPE v3.0.0. It would be possible to downgrade to the last version containing this menu item (2.6.1), which can be downloaded here.
The reason for the whole migration is, that "C2DM [is now] deprecated and [we] should be using GCM instead". Furthermore
The official docs [for using GCM] are on the way. In the meanwhile do sign up for the
endpoints trusted testers program at
http://endpoints-trusted-tester.appspot.com.
They also "plan to add [the menu item] again in the next version of GPE with GCM integrations" and they "plan to release the next version end of July".
Also, I got a similar answer form the Google employee Sparky R.:
I believe there is a known issue that the template for making
GAE-connected Android apps isn't working right now.
I don't know if it will be helpful, but i have managed to restore the Android SDK tools to rev 19 and Android SDK Platform-tools to rev 11, and installed the Google Plugin from scratch since i don't have the older version of it. It seems i still don't have the option in the menu, so i think it is about the Google Plugin.
In addition, Android Cloud to Device Messaging Framework - C2DM is deprecated since as of June 26, 2012 (https://developers.google.com/android/c2dm/). It may be about this deprecation, but it should be more clear in the near future.
I've been wasting a lot of time on this. I had the option in Eclipse 3.7, but now I've upgraded to 4.2 Juno and all the latest other stuff I can no longer see the 'App Engine Connected Android Project' option. I've had multiple attempts at installing, trying to make sure I get the order right. I've had major problems with trying to update from within Eclipse, and have had to resort to the various offline options. Not happy. How am I supposed to teach this technology when I can't even install it!
Tim
There is an example here, which he creates one of these projects:
http://bradabrams.com/2011/05/google-io-session-overview-android-app-engine-a-developers-dream-combination/
And you can checkout the code:
http://code.google.com/p/cloud-tasks-io/source/checkout
So I'm trying now to strip out what I don't need and get back to basically a new "Appengine Connected Android Project" I don't know how successful that'll be, as I don't know what I need or don't!
Annoying thing is, if this is do to with C2DM, I don't even want to use C2DM. I just want to invoke my app engine app from android, not send messages to android. Maybe I'm going along the wrong lines?
Edit
I got my project working (without messages to Android, just Android invoking methods and getting results) using these two examples:
How to call your app: Android REST client, Sample?
How to access a security enabled app: http://krasserm.blogspot.co.uk/2010/01/accessing-security-enabled-google-app.html
And this to work out how to do the http connection: http://developer.android.com/reference/java/net/HttpURLConnection.html
I'm on windows 7 and I'm also seeing this as well. This had been working for me, then I updated the Android SDK tools to rev 20 and Android SDK Platform-tools to rev 12 (both updated at the same time in the Android SDK Manager) after which I noticed this was not working. I was on Eclipse 3.7 but I upgraded to 4.2 to see if that helped (which I didn't). I then downloaded the Android 4.1 SDK stuff, but that didn't help either.
In addition to "App Engine Connected Android Project" not being ava
This feature is now available for me
Update your Android and App Engine SDKs, and you should be good to go!

Categories

Resources