Google APIs throw no-crunch error for android - android

I just installed android 2.1 SDK in eclipse and created a project targeted for Google API:7. Eclipse shows an error on the project icon, and the debug window shows this error
ERROR: Unknown command 'crunch'
Android Asset Packaging Tool
After quite a lot of googling, I still have no idea how to fix this error. I have already tried cleaning up the project.

This happened to me too when I updated Eclipse from Helios to Indigo (on Windows XP)
Solution was to open Android SDK Manager and install all the default selected updates, notably I was on
Android SDK Tools rev 13
Android SDK Platform Tools rev 7
These updated to
Android SDK Tools rev 14
Android SDK Platform Tools rev 8
My project which targets 2.2 compiles and runs in debug now without any problems (NB I have all the SDKs installed including 4.0 but you can still target earlier SDKs)

I think the problem has a generic cause ==> Partial ADT Update
Check your repositories again and then this link

Related

Installing Android SDK and ADT in eclipse

I am trying to start Android Development and trying to do so using the ADT plugin in my Eclipse Mars(Windows 10)
I have installed the ADT plugin in my eclipse version 23.0.7.2120684.
Also I have downloaded the SDK tools(tools_r25.2.3-windows) and extracted it to D:/eclipse\SDK.
But everytime I open Eclipse and click on Windows->Preferences ->and enter the SDK Location as D:/eclipse\SDK which is the SDK folder I am getting the below error:
The Android SDK requires the new Build Tools component to be installed.
Please open the SDK Manager and install "Android SDK Build-tools"
I click on Open SDK Manager and nothing happens, but I get an error message in the console:
[2017-04-10 22:56:35 - SDK Manager] [SDK Manager] Error: Expected verb after global parameters but found 'sdk' instead.
Can you please tell me what I am doing wrong here. Most of the installation guides/steps found on the net are a bit redundant since they are quite old.
As of Android SDK Tools Revision 25.3.0 removes obsolete/deprecated tools, see Release Notes, and as ADT plugin is no longer supported it cannot work with it.
However revision 25.2.3 should be working. If you still want to use Eclipse try to look at Eclipse Neon for Android Developers.
Eclipse no longer supports Android Application Development. Announcement here.
You might install Android Studio or Intellij Idea to create android apps using java.

"parseSdkContent failed Could not initialize class android.graphics.Typeface" in SDK Andorid 5.0

I'm getting the below error after I update the SDK Android 5.0 (API 21)
"parseSdkContent failed Could not initialize class android.graphics.Typeface"
Another thread suggested to delete .android folder, yes its works, but after sometime this error will trigger again and not able to select any Project Build Target SDK, (its allows to check the target and apply, but again open Properties->android, its showing unchecked) to build the app.
I'm using Android SDK Build Tools Rev 19.1 and Eclipse Juno. ADT version 23.0.4
Note : If my Android Project target SDK version is 20 or 19, there is no problem.
This is android package error,its corrupted android 5.0 sdk platform. Just Delete the folder <sdk>/<platforms>/<android-21> and download the android 5.0 sdk platform from sdk manager.
Got the fix. This happened because you installed a new Eclipse and loaded the 5.0 API Directly. You just have to delete the file:
".android in C:\User\\" in Windows.
After this step just install the ANDROID SDK BUILD-TOOLS revision 21
Hope it works for you :)

Having problems downloading Android Development Tools for Eclipse 4.1.0

I tried to download the Development tools for the Android SDK last night and have been getting this error every time I try to download it ever since:
Cannot complete the install because one or more required items could
not be found. Software being installed: Android Development Tools
16.0.1.v201112150204-238534 (com.android.ide.eclipse.adt.feature.group 16.0.1.v201112150204-238534)
I've tried running Eclipse as an administrator, downloading the Google Plugin for Eclipse Galileo, and many assortment of things, but nothing seems to work. Is there a Google plugin for 4.1.0, would I have to reinstall an earlier version of Eclipse, or am I missing something else entirely?
NB: I've been using Windows 7 64-bit Eclipse 4.1.0, as well as the 64-bit version of JDK 1.7.
android sdk dosen't support JDK 1.7, use 1.6.
you should use Eclipse 3.7. Eclipse 4.* is a work in progress and shouldn't be used in production environments yet.
You did not mention anything about the Android Development Tool (ADT) which is required to develop Android apps.
You can get it from here, http://developer.android.com/sdk/eclipse-adt.html
You will need Android SDK r16
Does my answer to this question help?
Also note that there have been some documented bugs with running Eclipse in JDK 1.7 - make sure you have the very latest updates to JDK or use 1.6 instead.

Android : Cannot install earlier packages

I have successfully installed Level 13 (3.2) during the Android SDK installation, but chose not to include any earlier levels at that time.
I now would like to install 2.2 or 2.3, but in the SDK / AVD manager I get the message:-
Failed to fetch URL
https://dl-ssl.google.com/android/repository/addons_list.xml, reason:
File not found
I've looked this up in other posts and so run the SDK manager with Administrator permissions, and have turned off the firewall. Eventually, it comes back with SDK tools revision 15, and SDK PLatform tools revision 9 only.
Should I have installed earlier packages during setup?
Would an uninstall / reinstall cure this behaviour? (Reluctant to do
this :-( for obvious reasons)
Is it possible to get earlier levels having installed just level 13?
Any help would be greatly appreciated. Thanks for looking.
Old Android SDK tool (r13 and earlier) fetch/download available SDK from here repository, after google release r14 and r15, they remove all SDK verion and only leave r15 in this URL, that means they want you use the latest SDK tool r15.
New Andorid SDK tool (r14 and r15) fetch/download available SDK from a new URL repository-5, which contains everything downloadable.
If you are not using anything else like Maven (currently incompatible with latest ADT) with your project, the simplest answer is upgrade both your Android SDK tools and ADT Eclipse plugin.
I just setted up my android environment yesterday - try to download the package manually and load them as Archive files, this worked for me! ;)

Eclipse crashes on Android SDK and AVD Manager

I tried to install Android SDK plugin on my existing Eclipse Classic 3.6.0 (Helios). I managed to do everything else, but when I try to add components using Android SDK and AVD Manager in Eclipse, whole Eclipse just crashes.
Anyone have any idea what's going on?
Eclipse Crash Log on pastebin.com
NOTE: there is NO date shown on this page( Currently 2010 Nov )
This page states,
http://developer.android.com/sdk/requirements.html
System Requirements
Supported Development Environments
Eclipse IDE
Eclipse 3.4 (Ganymede) or 3.5 (Galileo)
Caution: There are known issues with the ADT plugin running with Eclipse 3.6. Please stay on 3.5 until further notice.
ALSO NOTE
looking at your pastebin.com post
you PATH variable is corrupt
As of Feb 2013, using Android Dev Tools (Android SDK and Eclipse), build v21.0.1 - the AVD Manager crashed repeatedly using JDK v7x. Using JDK v6x resolved the issue, able to setup virtual devices now.

Categories

Resources