Question:
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
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.
I resolved this problem download a Chilkat for Androidâ„¢ Java Library (Crypt-Only).