-
Notifications
You must be signed in to change notification settings - Fork 1.8k
[Android] Open weex page white screen where weex version is 0.28.0 #3013
Comments
Please don't use Weex only supports |
Because we are the service provider, Party A wants armeabi. Now I am replacing v7a with armeabi |
Maybe you could help us improve the document. I saw some pepole complained the error you met, and a document improvement may solve the problems for future users of Weex. I know how code is written and running, but that may limits me writing good document from users' perspecteive. |
First of all, I have to solve this problem in order to supplement the documentation to help people who have encountered such problems. Now, I don't know how to solve them. Can you give me some advice? |
Have you tried The current NDK 18 Weex using doesn't support |
All right, I am testing with armeabi-v7a now. I have to replace armeabi with armeabi-v7a, which may be difficult to advance. |
I can compile armeabi using your source code, but the new jsc does not provide armeabi so, [https://registry.npmjs.org/jsc-android/-/jsc-android-241213.1.0.tgz], so you know Where can I find armeabi libjsc.so? |
I still have a question. Is there any difference between the android-jsc file provided by jsc-android and the android-jsc-intl file? Why is their libjsc.so volume difference? I am using android-jsc libjsc.so to replace android-jsc-intl libjsc.so will have problems? I thought that one of them was a normal version and the other was an international version. |
For |
If you see this and have students who have the same problem. This may be the only way to switch to armeabi-v7a. If any of the students have a good solution, share it, thank you. |
E/AwareLog: AtomicFileUtils: readFileLines file not exist: android.util.AtomicFile@46e6539 |
I changed to armeabi-v7a, but still reported the same error, you should check it out. |
It worked fine in Playground, could please provide more infromation. It seems to me there is a crash and the crash file is printed in the logcat. Maybe you could share the crash file. |
This looks like weexSdkInstance failed to initialize. Is this problem difficult to locate? |
I let go of this line of code and it didn't work. |
It tooks 40 seconds to execute That never happened in my phone, or CI environment. Does it happen in a certain phone, or any phone you have? Could you please provide more detail, like the OS version, phone name, etc.? |
I have reproduced on many mobile phones, Huawei p20, xiaomi MIX2, Samsung s8 plus, Huawei p30... The phones I have on hand have been reproduced. The probability of recurring on MIX2 is relatively large. |
I have the same problem. Is this starting from Weex v0.20 ? |
I met after 0.28.0, replacing the new jsCore from 0.28.0 weex sdk. |
It will invoke a C++ API in WeexCore, and you can view all the C++/Java binding in this file. FYI: Have you tried the Weex Playground, which also uses the new JSC. I think there may be a configuration problem in your app with the new JSC. Is there a |
If the suggestion I gave above is helpful, please upgrade the current documentation so that we could help more users. |
确实是libjsc.so的问题,可以对比一下 playground 的libjsc.so位置 |
@bobSir Does Weex Playground have the same problem on your phone? |
I'm in the same corp. with bobSir, and I found something strange. In Expecting to give some advice to us. Thanks any way. |
Maybe you should have a look at #3030 |
I solved this problem temporarily, and I found that some time-consuming operations in my application may block the initialization of jsFrameWork. My current approach is to listen for the time-consuming operations after the jsFrameWork initialization is complete. |
If you suspect this is the problem of the new JSC, you can build Weex from source together with the legacy JSC. For detail of the build comand, you can look at the travis command line Anyway, I will just close it. Feel free to contact me if there are any other problems. |
Uh oh!
There was an error while loading. Please reload this page.
E/weex: onRenderError -1001,degradeToH5|createInstance fail|wx_create_instance_error isJSFrameworkInit==false reInitCount == 1
Very frequently encountered after the upgrade。
If you have time, take a look。ths
The text was updated successfully, but these errors were encountered: