Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-23603] Android: Recompile ti.paypal module against latest SDK

GitHub Issuen/a
TypeStory
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2016-11-13T20:34:33.000+0000
Affected Version/sn/a
Fix Version/sRelease 6.0.0
ComponentsAndroid
Labelsn/a
ReporterChristopher Williams
AssigneeGary Mathews
Created2016-07-01T14:58:31.000+0000
Updated2016-11-14T22:00:53.000+0000

Description

ti.paypal: https://github.com/appcelerator-modules/ti.paypal Generally this requires some minor changes to each module: - bump the module's version up to the next major (i.e. 2.3.1 -> 3.0.0) - bump the module's apiversion to 3 (for Android) - bump the minsdk to 6.0.0 (for Android) At a higher level, we'll need to update our CI build scripts for modules to use the master branch SDK to build against, and Android NDK r11c.

Attachments

FileDateSize
ti.paypal-android-3.0.0.zip2016-07-08T17:14:56.000+0000463277

Comments

  1. Christopher Williams 2016-07-08

    https://github.com/appcelerator-modules/ti.paypal/pull/9
  2. Christopher Williams 2016-07-08

    Locally built against latest V8 (5.1.281.59) with NDK r11c.
  3. Christopher Williams 2016-07-27

    https://github.com/appcelerator-modules/ti.paypal/releases/tag/android-3.0.0
  4. Lokesh Choudhary 2016-08-30

    [~cwilliams], [~cng], When I run the sample in the module 3.0.0, I get the following error:
       [ERROR] :  TiApplication: (main) [41,456] Sending event: exception on thread: main msg:java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "_ZN8titanium12ProxyFactory17registerProxyPairEP7_jclassPN2v816FunctionTemplateEb" referenced by "/data/app/com.app.lokitest-1/lib/arm/libti.paypal.so"...; Titanium 6.0.0,2016/08/29 00:59,undefined
       [ERROR] :  TiApplication: java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "_ZN8titanium12ProxyFactory17registerProxyPairEP7_jclassPN2v816FunctionTemplateEb" referenced by "/data/app/com.app.lokitest-1/lib/arm/libti.paypal.so"...
       [ERROR] :  TiApplication: 	at java.lang.Runtime.loadLibrary(Runtime.java:372)
       [ERROR] :  TiApplication: 	at java.lang.System.loadLibrary(System.java:1076)
       [ERROR] :  TiApplication: 	at org.appcelerator.kroll.runtime.v8.V8Runtime.loadExternalModules(V8Runtime.java:151)
       [ERROR] :  TiApplication: 	at org.appcelerator.kroll.runtime.v8.V8Runtime.initRuntime(V8Runtime.java:118)
       [ERROR] :  TiApplication: 	at org.appcelerator.kroll.KrollRuntime.doInit(KrollRuntime.java:205)
       [ERROR] :  TiApplication: 	at org.appcelerator.kroll.KrollRuntime$KrollRuntimeThread.run(KrollRuntime.java:114)
       [ERROR] :  TiApplication: 	at org.appcelerator.kroll.KrollRuntime.init(KrollRuntime.java:136)
       [ERROR] :  TiApplication: 	at com.app.lokitest.Loki_testApplication.onCreate(Loki_testApplication.java:46)
       [ERROR] :  TiApplication: 	at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1013)
       [ERROR] :  TiApplication: 	at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4707)
       [ERROR] :  TiApplication: 	at android.app.ActivityThread.-wrap1(ActivityThread.java)
       [ERROR] :  TiApplication: 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1405)
       [ERROR] :  TiApplication: 	at android.os.Handler.dispatchMessage(Handler.java:102)
       [ERROR] :  TiApplication: 	at android.os.Looper.loop(Looper.java:148)
       [ERROR] :  TiApplication: 	at android.app.ActivityThread.main(ActivityThread.java:5417)
       [ERROR] :  TiApplication: 	at java.lang.reflect.Method.invoke(Native Method)
       [ERROR] :  TiApplication: 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
       [ERROR] :  TiApplication: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
       
    Environment: Appc Studio : 4.8.0.201608221113 Ti SDK : 6.0.0.v20160829005859 Ti CLI : 5.0.9 Alloy : 1.9.1 MAC El Capitan : 10.11.6 Appc NPM : 4.2.7 Appc CLI : 6.0.0-31 Node: 4.4.4 Nexus 6 - Android 6.0.1
  5. Ashraf Abu 2016-08-30

    [~lchoudhary] Unable to reproduce. Could you check again? Are you using the correct version 3.0.0 ti.paypal in the tiapp.xml?
  6. Lokesh Choudhary 2016-08-30

    [~msamah], I have this in my tiapp.xml:
           <modules>
               <module platform="iphone" version="1.0">com.soasta.touchtest</module>
               <module platform="android" version="1.0">com.soasta.touchtest</module>
               <module platform="android" version="3.0.0">ti.paypal</module>
               <module platform="android">hyperloop</module>
               <module platform="iphone">hyperloop</module>
               <module platform="iphone">com.appcelerator.aca</module>
               <module platform="android">com.appcelerator.aca</module>
           </modules>
       
    Checked again. Still get the error. I just created a new app. Copied the sample app inside the module to my project. Added the ti.paypal module 3.0.0 & built it for device.
  7. Gary Mathews 2016-11-11

    [~lchoudhary] I can't reproduce the issue either. Could you re-test using the latest SDK?
  8. Lokesh Choudhary 2016-11-11

    [~gmathews], I checked it again and I was not able to reproduce either.
  9. Gary Mathews 2016-11-13

    Resolving as Fixed.
  10. Lokesh Choudhary 2016-11-14

    Ran the example example in the module & did not see any issues. Closing. Appc Studio : 4.8.0.201611121409 SDK Version : 6.0.0.v20161113012326 Mac OS Version : 10.11.6 Xcode Version : Xcode 8.1 Build version 8B62 Appc CLI AND Appc NPM : {"NPM":"4.2.8-9","CLI":"6.0.0-69"} Ti CLI : 5.0.10 Alloy : 1.9.4 Node : v4.6.0 Nexus 5 running 6.0.1

JSON Source