[AC-6056] Ti.Module verify crash upon install thru Appcelerator
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Resolved |
Resolution | Duplicate |
Resolution Date | 2018-12-20T21:59:29.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Studio, Titanium SDK & CLI |
Labels | n/a |
Reporter | ardy wongso |
Assignee | Shak Hossain |
Created | 2018-12-11T08:21:42.000+0000 |
Updated | 2018-12-20T21:59:30.000+0000 |
Description
I get below error
[WARN] : TiVerify: (Timer-0) [5009,5009] Verifying module licenses...
[ERROR] : TiApplication: (Timer-0) [656,5665] Sending event: exception on thread: Timer-0 msg:java.lang.IncompatibleClassChangeError: Class 'ti.modules.titanium.network.NonValidatingSSLSocketFactory' does not implement interface 'org.apache.http.conn.scheme.SocketFactory' in call to 'java.net.Socket org.apache.http.conn.scheme.SocketFactory.createSocket()' (declaration of 'org.apache.http.impl.conn.DefaultClientConnectionOperator' appears in /system/framework/org.apache.http.legacy.boot.jar); Titanium 7.1.0,2018/03/14 13:40,undefined
[ERROR] : TiApplication: java.lang.IncompatibleClassChangeError: Class 'ti.modules.titanium.network.NonValidatingSSLSocketFactory' does not implement interface 'org.apache.http.conn.scheme.SocketFactory' in call to 'java.net.Socket org.apache.http.conn.scheme.SocketFactory.createSocket()' (declaration of 'org.apache.http.impl.conn.DefaultClientConnectionOperator' appears in /system/framework/org.apache.http.legacy.boot.jar)
[ERROR] : TiApplication: at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:145)
[ERROR] : TiApplication: at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:169)
[ERROR] : TiApplication: at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:124)
[ERROR] : TiApplication: at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:366)
[ERROR] : TiApplication: at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:560)
[ERROR] : TiApplication: at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:514)
[ERROR] : TiApplication: at org.appcelerator.titanium.TiVerify.run(Unknown Source:280)
[ERROR] : TiApplication: at java.util.TimerThread.mainLoop(Timer.java:555)
[ERROR] : TiApplication: at java.util.TimerThread.run(Timer.java:505)
I try only add FB module, results still the same
Hello, Thanks for raising this. This is a known issue. Our engineering team is working to fix this as soon as possible. Thanks
I'm having the same problem, but I don't know how when I haven't made any changes. I have an app made with Titanium SDK 6.0.3 and it suddenly started shutting down. Through logcat I saw that the crash was logged with the same one from this issue. I hope this is not fixed with new Titanium SDK version 'cause I can't upgrade given that, by my understanding, I can't make apps compatibles with Android 5.0 using Titanium SDK with higher version that the one I'm using. Help please.
[~dyan02], Thanks for your feedback. Can you please check on your end and let us know your current status of the issue.
Hello [~dyan02], The issue is fixed on SDK 7.4.2 Version. You have to rebuild the app with the sdk and provide an update to your app. You will lose Android 5 support though. Thanks.
Hi yes it works by now, but what do you mean when "lose android 5 support"? means android with os lollipop and below unable to install the app?
[~dyan02], Yes. Glad to hear that the issue is resolved now.