Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Rudiment

Pages: [1]
Android / Re: Android Java App crashes on loading chilkat library
« on: May 30, 2018, 06:43:00 AM »
I figured out all is working well as long as I am on a device that is below armv8a.
But i did add the latest library and java (com) to the project (armv8a).

The app crashes if i create my apk file and start it after i did install on my device
(Samsung S7 Android 7.0 Armv8a) directly via apk.

If I install from compiler directly (with active debugging) it does not crash and is installed correctly.

For J5 and other phones it works. But they are using armv7a mainly!

Android / Android Java App crashes on loading chilkat library
« on: May 21, 2018, 10:47:53 AM »
Hello, I am using the latest Android Java Chilkat version 9.05.72.
Everything is placed correctly as far as I can see


-> java, com, chilkatsoft, *.java (108 files)

-> jniLibs, arm64-v8a, armeabi-v7a, etc .. all having the ""

My Code works as long as I don't try to make my call to load the library.


Code: [Select]
package ${YYAndroidPackageName};
    import ${YYAndroidPackageName}.R;
    import com.yoyogames.runner.RunnerJNILib;
    import com.chilkatsoft.*;
    public class getdata extends Activity {
        /** Called when the activity is first created. */
       public String testing()
      return "working - we are in testing"; //works if not lib loaded
      public String chilversion()
          CkCrypt2 crypt = new CkCrypt2(); //never reaches this function because pre-crash
      String cv;
      cv = crypt.version();
      return cv; //should return version as shown on example site
        static {
            System.loadLibrary("chilkat"); //as soon as implemented makes app scrash om startup


same Problem by using latest Android Studio with very Little basic code, compiling for minimum Target Api 16 (regardless of above yoyo runner).

Pages: [1]