Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UnsatisfiedLinkError #35

Open
danny005 opened this issue Apr 12, 2019 · 8 comments
Open

UnsatisfiedLinkError #35

danny005 opened this issue Apr 12, 2019 · 8 comments

Comments

@danny005
Copy link

I am using this module with SDK 7.5.1.GA

Some devices with Android 8 doesn't start the app. I can see in the device logs:

java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "_ZN8titanium13TypeConverter18javaLongToJsNumberEPN2v87IsolateEx" referenced by "/data/app/com.myapp-B9qzXDFh5_Fnv9ruia5JsQ==/lib/arm64/libti.inappbilling.so"

Does anyone else have this problem? How to solve it?

Is it related to this issue?

https://jira.appcelerator.org/browse/TIMOB-26871

@danny005
Copy link
Author

I am surprised that no one else has this problem. Doesn't work with SDK 8.0.0 either.

Seems that something has changed with type conversion since SDK 7.5.0. As quick workaround I have changed "purchaseTime" from "long" to "int" and it works now.

@AppWerft
Copy link

AppWerft commented May 9, 2019

You have to use Long instead of long

@jkotchoff
Copy link

ah - nice one! I think this may have only been failing for me on Android 9 and the purchaseTime fix to Long seems to have resolved it.

@pritishgeorge
Copy link

Hi,
I am facing the same issue. How do I download the latest version of this module?

@jkotchoff
Copy link

@pritishgeorge, I attached a fixed build in a pull request here:
https://github.com/jkotchoff/ti.inappbilling/releases/tag/5.0.1

@jkotchoff
Copy link

Hmm, be careful if you use the billing module I compiled - it seems to work for Android 8 but crashes on Android 7. I'm rolling my project back to Ti SDK 7.5.1.GA because this billing module just isn't working with Android using Ti SDK 8.0.1.GA.

@jkotchoff
Copy link

@danny005, I am also experiencing crashes with this module in 7.5.1.GA. I'm going to roll back to 7.5.0.GA which seems to be the only Titanium SDK that supports this billing module.

For your reference, 7.5.0.GA has a critical issue with deep links so i'm not sure if there's a working appcelerator build atm that supports both deep links and in-app billing on android:
https://jira.appcelerator.org/browse/TIMOB-26625

@DFoxinator
Copy link

@jkotchoff thanks for providing the updated version. Were you ever able to get it to work with Android 7? That seems to be crashing for me still, even on Titanium SDK 8.2.1. I'm wondering if anyone has solved this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants