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

Need Gradlle ~2.14 #1

Open
dagatsoin opened this issue Aug 23, 2016 · 0 comments
Open

Need Gradlle ~2.14 #1

dagatsoin opened this issue Aug 23, 2016 · 0 comments

Comments

@dagatsoin
Copy link

dagatsoin commented Aug 23, 2016

Hi, by default my cordova (6.0.0) uses Gradle 2.2.1 and I don't know why but your plugin does not totally work with this version.
I say totally, because the attribute in the manifest is written but my app crash with this error:

W/dalvikvm: Link of class 'Lorg/xwalk/core/internal/XWalkPresentationHost;' failed
W/System.err: java.lang.NoClassDefFoundError: org/xwalk/core/internal/XWalkPresentationHost
W/System.err:     at java.lang.Runtime.nativeLoad(Native Method)
W/System.err:     at java.lang.Runtime.loadLibrary(Runtime.java:368)
W/System.err:     at java.lang.System.loadLibrary(System.java:535)
W/System.err:     at org.xwalk.core.internal.XWalkViewDelegate.loadXWalkLibrary(XWalkViewDelegate.java:134)
W/System.err:     at java.lang.reflect.Method.invokeNative(Native Method)
W/System.err:     at java.lang.reflect.Method.invoke(Method.java:511)
W/System.err:     at org.xwalk.core.ReflectMethod.invoke(ReflectMethod.java:61)
W/System.err:     at org.xwalk.core.XWalkCoreWrapper.checkCoreArchitecture(XWalkCoreWrapper.java:360)
W/System.err:     at org.xwalk.core.XWalkCoreWrapper.findEmbeddedCore(XWalkCoreWrapper.java:258)
W/System.err:     at org.xwalk.core.XWalkCoreWrapper.attachXWalkCore(XWalkCoreWrapper.java:172)
W/System.err:     at org.xwalk.core.XWalkLibraryLoader$ActivateTask.doInBackground(XWalkLibraryLoader.java:337)
W/System.err:     at org.xwalk.core.XWalkLibraryLoader$ActivateTask.doInBackground(XWalkLibraryLoader.java:317)
W/System.err:     at android.os.AsyncTask$2.call(AsyncTask.java:287)
W/System.err:     at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
W/System.err:     at java.util.concurrent.FutureTask.run(FutureTask.java:137)
W/System.err:     at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
W/System.err:     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
W/System.err:     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
W/System.err:     at java.lang.Thread.run(Thread.java:856)
W/System.err: Caused by: java.lang.ClassNotFoundException: org.xwalk.core.internal.XWalkPresentationHost
W/System.err:     at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:61)
W/System.err:     at java.lang.ClassLoader.loadClass(ClassLoader.java:501)
W/System.err:     at java.lang.ClassLoader.loadClass(ClassLoader.java:461)
W/System.err:   ... 19 more

Workarounds:

  • keep Gradle 2.2.1 an set the Multidex by hand in the build.gradle, all is fine.
  • bump Gradle to 2.14.1 (I don't tested other version, but maybe 2.13 could also work)

Your plugin is very useful for folk who don't want to dive into android studio and build nightmare (eg. Meteor, Ionic, etc...)

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

No branches or pull requests

1 participant