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

AppGyver app crashes upon opening when using when using commit 2960afa #345

Open
ultralisk- opened this issue Sep 11, 2015 · 0 comments
Open

Comments

@ultralisk-
Copy link

Creating a new issue as requested by @brodybits

Using AppGyver build services to build a test apk against commit 2960afa, the apk will build but crash when opened.

Building against a previous commit, 1720b7f, the app builds and works as expected.

Here's my sample code for the test project - https://github.com/ultralisk-/steroidssqltest/blob/master/app/example/views/getting-started.html

My AppGyver plugin resource specifically referencing the 2960afa commit

[
    {"source":"https://github.com/brodysoft/Cordova-SQLitePlugin.git#2960afa1b7d7475718f30f3c3fdb0cd09f110ab9"}
]

And a log cat of the app crashing

09-11 23:30:08.037: I/Timeline(1293): Timeline: Activity_launch_request id:com.sqltest.app time:12297491
09-11 23:30:08.037: I/ActivityManager(601): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.sqltest.app/com.appgyver.runtime.standalone.chromium.MainActivity (has extras)} from uid 10069 on display 0
09-11 23:30:08.043: V/WindowManager(601): addAppToken: AppWindowToken{979ce72 token=Token{366abf7d ActivityRecord{9b1f1d4 u0 com.sqltest.app/com.appgyver.runtime.standalone.chromium.MainActivity t701}}} to stack=1 task=701 at 0
09-11 23:30:08.046: V/WindowManager(601): Adding window Window{5265740 u0 Starting com.sqltest.app} at 9 of 14 (after Window{12f2035c u0 com.hello.scanner.test/com.appgyver.runtime.scanner.chromium.ScannedChromiumApplicationActivity})
09-11 23:30:08.113: I/ActivityManager(601): Start proc 32091:com.sqltest.app/u0a108 for activity com.sqltest.app/com.appgyver.runtime.standalone.chromium.MainActivity
09-11 23:30:08.952: E/AndroidRuntime(32091): Process: com.sqltest.app, PID: 32091
09-11 23:30:08.952: E/AndroidRuntime(32091): java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.sqltest.app-1/base.apk"],nativeLibraryDirectories=[/data/app/com.sqltest.app-1/lib/arm, /vendor/lib, /system/lib]]] couldn't find "libsqlc-native-driver.so"
09-11 23:30:08.954: W/ActivityManager(601): Force finishing activity 1 com.sqltest.app/com.appgyver.runtime.standalone.chromium.MainActivity
09-11 23:30:09.261: I/WindowManager(601): Screenshot max retries 4 of Token{366abf7d ActivityRecord{9b1f1d4 u0 com.sqltest.app/com.appgyver.runtime.standalone.chromium.MainActivity t701 f}} appWin=Window{5265740 u0 Starting com.sqltest.app} drawState=4
09-11 23:30:09.304: W/PackageManager(800): Failure retrieving resources for com.sqltest.app: Resource ID #0x0
09-11 23:30:09.762: W/ActivityManager(601): Activity pause timeout for ActivityRecord{9b1f1d4 u0 com.sqltest.app/com.appgyver.runtime.standalone.chromium.MainActivity t701 f}
09-11 23:30:14.688: I/ActivityManager(601): Process com.sqltest.app (pid 32091) has died

Interestingly, comparing the apk contents of the working apk against the broken one, the broken one seems to be missing a bunch of directories in the /lib directory.

working apk

broken apk

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

No branches or pull requests

2 participants