Chilkat Software Chilkat Software Chilkat Software
Chilkat Software Chilkat Software







Chilkat for Android™ Library Download and Install Instructions


(For Chilkat C/C++ Android native libs, click HERE.)

v9.5.0.54 29-Oct-2015MD5 Sum: 4eb345e13e6f0b5154ce08f36cf6e33a
Chilkat for Android™ Java Library (ALL Classes)

Sample Android™ Studio Project
Sample Android™ Studio Project

Sample Android™ Eclipse Project
Sample Android™ Eclipse Project

Chilkat Subset Builds
Chilkat for Android™ Subset Builds

The download contains the following:

Build Name

Shared Library


Chilkat ALL Classes

Contains all Chilkat Java classes listed here.
Note: Some Chilkat classes are only available in the complete build.

Getting Started

Download and Unzip to any directory.

To use Chilkat in an Android project, the Java classes and shared libraries will be copied into the project's directory structure.

Using Chilkat in an Android Studio Project

Chilkat is providing a sample Android Studio project with the shared libraries and Java classes already copied to where they need to be.

The downloaded zip, such as, has this directory structure.

For Android Studio projects, the directories under libs will be copied to the jniLibs directory in the project. (You'll likely need to create the jniLibs directory.) The chilkatsoft directory will be copied to the com directory in the project.

Here is a snapshot of the sample Android Studio project showing the locations of the jniLibs and chilkatsoft directories.

Here is a snapshot of the Android Studio directory structure in Windows Explorer

Adding Chilkat Related Java Code to an Android Studio Source File

The Chilkat-related code is shown in boldface below. The Chilkat shared library must be loaded via System.loadLibrary when the application starts.

package com.test;

import com.chilkatsoft.*;

import android.widget.TextView;
import android.os.Bundle;

public class SimpleActivity extends Activity {
    /** Called when the activity is first created. */
    public void onCreate(Bundle savedInstanceState) {
        TextView tv = new TextView(this);
        CkCrypt2 crypt = new CkCrypt2();
        // Display the version of the CkCrypt2 class
    static {
        // IMPORTANT: If one of the Chilkat subset shared libs is used, the name
        // passed to loadLibrary must match the share lib name.  For example, if the
        // shared lib is, then pass "chilkatcrypt" to System.loadLibrary.

Using Chilkat for Android in an Eclipse Project

The procedure is the same for Eclipse, except the location and names of the directories are different. The Eclipse directory for the native libraries is libs instead of jniLibs

Chilkat has a sample Eclipse project for download.

After copying the libs and Java sources to the correct locations, your Eclipse project should look like this:

Additional Notes

  • The Chilkat Android library supports Android Platform 2.0 (API Level 5) and above. Chilkat has been tested on Honeycomb (Android 3.0, API Level 11). The Chilkat library should be compatible with future versions of Android.
  • If the incorrect library name is passed to System.loadLibrary, then you will see the following error message at application startup: "The application <your-application-name> has stopped unexpectedly. Please try again."

Privacy Statement. Copyright 2000-2015 Chilkat Software, Inc. All rights reserved.

(Regarding the usage of the Android logo) Portions of this page are reproduced from work created and shared by Google and used according to terms described in the Creative Commons 3.0 Attribution License.

Send feedback to

Software components and libraries for Linux, MAC OS X, iOS, Android™, Solaris, HP-UX, RHEL/CentOS, FreeBSD, MinGW
Windows 10, Windows 8, Windows Server 2012, Windows 7, Vista, XP, 2003 Server, 2008 Server, etc.