login about faq

Dear...

I tried to run a Android example from a Chilkat web page (http://www.chilkatsoft.com/chilkatAndroid.asp) and I recieved a error message:

The method CkCgi_LastErrorHtml(long, CkCgi, long, CkString) is undefined for the type chilkatJNI CkCgi.java /SimpleActivity/src/com/chilkatsoft line 51 Java Problem

Whats wrong? How to fix?

Thanks in advance mBarbiero

asked Jan 03 '13 at 13:28

mbarbiero's gravatar image

mbarbiero
1335


The solution is to do this: after unzipping, delete the src/com/chilkatsoft/CkCgi.java file.

The problem arises because of importing "*", like this:

import com.chilkatsoft.*;

The CkCgi class was removed from the Android build because it never made sense to have it there in the first place. I have removed the "CkCgi.java" file from the "All Classes" Android download.

link

answered Jan 03 '13 at 17:25

chilkat's gravatar image

chilkat ♦♦
11.8k316358421

edited Jan 05 '13 at 13:19

I resolved this problem download a Chilkat for Android™ Java Library (Crypt-Only).

link

answered Jan 03 '13 at 13:46

mbarbiero's gravatar image

mbarbiero
1335

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×62
×45

Asked: Jan 03 '13 at 13:28

Seen: 2,212 times

Last updated: Jan 05 '13 at 13:19

powered by OSQA