Skip to main content

Posts

Showing posts with the label sdk

zipalign tool not found in SDK - Eclipse

While exporting Android signed application package through Eclipse you get this warning The zipalign tool was not found in the SDK. Please update to the latest SDK and re-export your application or run zipalign manually After getting this warning I started looking for zipalign tool. After searching in SDK folder I found zipalign.exe under copy_tools folder. This folder is used by Android SDK update to keep copy of old tools. What is zipalign tool ? From Android documentation zipalign is an archive alignment tool that provides important optimization to Android application (.apk) files. The purpose is to ensure that all uncompressed data starts with a particular alignment relative to the start of the file. How to make Eclipse find this zipalign tool To make eclipse use this zipalign.exe you have to copy it in a proper SDK folder. You can find SDK folder in %android-sdk-path% / build_tools / {sdkfolder} After copying zipalign.exe to this folder when you run Eclipse to s...

Java SDK not found under Android's SDK Locations settings in Xamarin

To work with Android under Xamarin you have to set up Android SDK and JDK path under Tools->Options->Projects->SDK Locations->Android I faced a problem after setting all SDK locations it says "SDK not found" for JDK despite giving the correct path for JDK installed on my system. After few hit and trials I figured out that the problem is 64-bit version of JDK installed . Xamarin works with 32 bit JDK. So I downloaded the 32-bit version of JDK from http://download.xamarin.com/Installer/MonoForAndroid/jdk-6u39-windows-i586.exe After installing this JDK I set up the options for SDK locations and now Xamarin works fine.