Open vecernik opened 10 years ago
Having webview-plus cloned and a setup above (with cocoonjs 1.0.0-0.5.0), here are steps to reproduce: cocoonjs create cocoonjs1 com.mediasp.cocoonjs1 Cocoon1 cd cocoonjs1/ cocoonjs platform add android cocoonjs plugin add ../webview-plus/ -d vim ../webview-plus/android/project.properties # change target=android-19 or build fails otherwise vim platforms/android/CordovaLib/project.properties # have to make changes manually vim platforms/android/CordovaLib/src/org/apache/cordova/CordovaWebview.java cocoonjs build android cocoonjs run android --device Getting "Unfortunately, Cocoon1 has stopped" alert box on Nexus7/Android4.4 with similar error messages in the log as above. Am I missing any important step from webview-plus setup?
Can't really add much here.. except, have you tried using the cloud compiler?
fixed when manually built webview-plus: git clone https://github.com/ludei/webview-plus.git cd webview-plus ant release Then, after a plugin is added, it runs without crash.
I tried something similar today (integrating with Phonegap) and got the same error. I used the manual steps outlined in the readme, but that resulted in a crash.
I did come up with a similar solution.
1) I started a CocoonJS project using the cocoonjs CLI (ie: cocoonjs plugin add com.ludei.webview.plus
). After that I removed the CocoonJS /www files.
2) I created an empty Phonegap project via command line, then I removed the empty Phonegap files.
3) I merged the Phonegap project files with the CocoonJS project files (overwriting Phonegap files if necessary).
4) Delete the config.xml in the root directory.
5) Add in my actual code into www/.
I might have missed something because I was doing about 1000 permutations of various attempts today.
I'm also getting a crash on launch using a Samsung S3 Android 4.3. Testing on other Android devices like a Samsung S4 it seems to run fine.
The fatal error seems to happen in the Chromium library
F/libc ( 7112): Fatal signal 11 (SIGSEGV) at 0xfbadbeef (code=1), thread 7154 (Chrome_InProcRe)
F/chromium( 7112): [7112:7156:1005/204818:689383985:FATAL:thread_local_posix.cc(17)] Check failed: error == 0 (11 vs. 0)
F/libc ( 7112): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1), thread 7156 (JavaBridge)
The whole error log:
I was really pleased when I've found your project. I tried to follow your readme and integrate webview+ (2.1.0) to my cordova 3.5 app, it compiles, builds and installs but crashes after startup with this log https://spodder.com/p/8b4DSvolflJc4PsiBW2h8Y3f . My setup is OSX, Oracle JDK 6, Android SDK Tools 23.0.2, Android SDK Platform-Tools 20, Android SDK Build-Tools 19.1 (tried 20, but the same error), Android SDK Platform 19. A target is set to android-19 in all project.properties files. Should I change project configuration in any way to get it working?