Open ulizama opened 7 years ago
Are you building from my commit?
The error shown tell you that couldn't find "libiconv.so"
but that is one of the libraries that I included on the commit I created.
Yes I am building from your git and I checkouted out to ti6
I got it working by building from your commit but copying the libs folders out from your prebuilt dist and added it to mine
do I need the "libiconv.so" some where on my system?
On Mon, Nov 28, 2016 at 11:32 PM, Uriel Lizama notifications@github.com wrote:
Are you building from my commit?
The error shown tell you that couldn't find "libiconv.so" but that is one of the libraries that I included on the commit I created.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/acktie/Acktie-Mobile-Android-Barcode/pull/12#issuecomment-263285386, or mute the thread https://github.com/notifications/unsubscribe-auth/AGRBN3W-1Jv2Uzr0H_9Qo8y7UXzI7cbzks5rCuXqgaJpZM4K6Dyf .
@chris41188 the libraries are missing on the master branch, but they are available on the ti6 branch.
Also, running ant clean
before building purges all those libs.
The 2.2.2
dist provided in this PR doesn't run on Android 4 devices I'm afraid.
When including that dist I get this log when starting the app (not when running the module)
at org.appcelerator.titanium.TiApplication.setRootActivity(TiApplication.java:469)
at org.appcelerator.titanium.TiRootActivity.onCreate(TiRootActivity.java:94)
at android.app.Activity.performCreate(Activity.java:5231)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2162)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2248)
at android.app.ActivityThread.access$800(ActivityThread.java:138)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1199)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5107)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:780)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:596)
at dalvik.system.NativeStart.main(Native Method)```
Apparently my crash log above only happens if you include a module with play services inside it @ulizama
@ulizama Thanks for this, it works great, can this be updated to work with qrcode? I saw in the source theres a place to add Symbol.QRCODE, would that work?
I added it my self and built the module but it just crashes on load
19:12:06.157 27725-27725/? E/AndroidRuntime: FATAL EXCEPTION: main Process: inc.lireneosoft.counterparty, PID: 27725 java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/inc.lireneosoft.counterparty-1/base.apk"],nativeLibraryDirectories=[/data/app/inc.lireneosoft.counterparty-1/lib/arm, /data/app/inc.lireneosoft.counterparty-1/base.apk!/lib/armeabi-v7a, /vendor/lib, /system/lib]]] couldn't find "libiconv.so" at java.lang.Runtime.loadLibrary(Runtime.java:367) at java.lang.System.loadLibrary(System.java:1076) at com.acktie.mobile.android.barcode.AcktiemobileandroidbarcodeModule.(AcktiemobileandroidbarcodeModule.java:24)
at inc.lireneosoft.counterparty.IndiesquarewalletApplication.onCreate(IndiesquarewalletApplication.java:119)
at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1014)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4741)
at android.app.ActivityThread.access$1600(ActivityThread.java:153)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1408)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:5451)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)