Skip to content
This repository has been archived by the owner on Jun 3, 2021. It is now read-only.

[Android][weex 0.28]errorCode:-1001, msg:degradeToH5|createInstance fail|wx_create_instance_error isJSFrameworkInit==false reInitCount == 1 #3318

Open
flyinmind opened this issue Dec 23, 2020 · 1 comment
Labels

Comments

@flyinmind
Copy link

flyinmind commented Dec 23, 2020

When running an example with weex 0.28.
It reports "errorCode:-1001, msg:degradeToH5|createInstance fail|wx_create_instance_error isJSFrameworkInit==false reInitCount == 1"

  1. I tried to copy libJavaScriptCore.so from weex_playgroud_10006024 to sdk-0.28.0.aar.
    It seems not work.

2)And I also tried to change build.gradle, add the following line:
apply from: 'https://www.mobibrw.com/wp-content/uploads/2019/11/download_jsc.gradle'
Reports "Unexpected end of ZLIB input stream" when compiling.
Copy jsc-android-241213.1.0.tgz to jsc directory. Compiling passed. But when running, the same error appeared.

I want to know:
Is there a way to run weex with v8 in android?
In my project, there is a j2v8.aar.
Thanks!

@flyinmind flyinmind added the Bug label Dec 23, 2020
@flyinmind
Copy link
Author

flyinmind commented Dec 23, 2020

I found a way to solve the problem!
1)Down load js from https://registry.npmjs.org/jsc-android/-/jsc-android-241213.1.0.tgz.
2)Copy libjsc.so in it to sdk-0.28.0.aar
Then OK!
It is not a good way.

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

No branches or pull requests

1 participant