ks32 / CrosswalkNative

Embedded Crosswalk 77 webview based sample project.
95 stars 42 forks source link

Android 10, crash #18

Closed hellcan closed 3 years ago

hellcan commented 4 years ago

Hello Sir,

I just tried the latest updates, and when I try to upgrade the version to 29 (Android 10). When the webView trying to initialize and load URL. It will still crash and gives me these error messages. image

Could you give me some advice to solve it?

@ks32 may I know your email address, I can provide some fund contribution for this fix

Thank you

E/chromium: [ERROR:compositor_impl_android.cc(685)] Failed to init ContextProvider for compositor.
E/chromium: [ERROR:compositor_impl_android.cc(685)] Failed to init ContextProvider for compositor.
A/chromium: [FATAL:compositor_impl_android.cc(686)] Too many context creation failures. Giving up... 
A/libc: Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 24514 (rosswalk_native), pid 24514 (rosswalk_native)
ks32 commented 4 years ago

Is it emulator? No problem on my side in Android 10.

Quran Majeed for iOS and Android https://quranmajeed.page.link/RGhFYwtYUVwBbTnB9

Pakistan Data Management Services p: +92 21 3455 9003 w: www.pakdata.com https://facebook.com/pakdata https://twitter.com/hashtag/Pakdata https://www.instagram.com/pakdataapps/

On Wed, Apr 15, 2020 at 8:34 AM fengcheng notifications@github.com wrote:

Hello Sir, I just tried the latest updates, and when I try to upgrade the version to 29 (Android 10). When the webView trying to initialize and load URL. It will still crash and gives me these error messages. [image: image] https://user-images.githubusercontent.com/7111856/79296097-70c84500-7ea8-11ea-9efd-00f12cae6e0c.png

E/chromium: [ERROR:compositor_impl_android.cc(685)] Failed to init ContextProvider for compositor. E/chromium: [ERROR:compositor_impl_android.cc(685)] Failed to init ContextProvider for compositor. A/chromium: [FATAL:compositor_impl_android.cc(686)] Too many context creation failures. Giving up... A/libc: Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 24514 (rosswalk_native), pid 24514 (rosswalk_native)

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ks32/CrosswalkNative/issues/18, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAHILZ7U5MHRZE7Z52JP6SLRMUTMPANCNFSM4MIHQ5PA .

hellcan commented 4 years ago

I tried in my Samsung S9 and Pixel 3, and their Android Version both are upgraded to Android 10. In your last update, the compile version/ target version is 28, which is Android 9. But Android 10 will be version 29

image

Thank you

ks32 commented 4 years ago

Currently Chrome 58 will not compile with sdk 29. Compile SDK 28 should have no issues with Android 10. I am using it successfully in my app with more than 5 million users.

Quran Majeed for iOS and Android https://quranmajeed.page.link/RGhFYwtYUVwBbTnB9

Pakistan Data Management Services p: +92 21 3455 9003 w: www.pakdata.com https://facebook.com/pakdata https://twitter.com/hashtag/Pakdata https://www.instagram.com/pakdataapps/

On Wed, Apr 15, 2020 at 8:42 AM fengcheng notifications@github.com wrote:

it's in my Samsung S9, and in your last update, you changed the compile version/ target version to 28, which is Android 9. But Android 10 will be version 29

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ks32/CrosswalkNative/issues/18#issuecomment-613798334, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAHILZ5BYYZTZSKBTYEA42DRMUUMBANCNFSM4MIHQ5PA .

hellcan commented 4 years ago

but I have to upgrade my App to SDK 28, may I fund you for the SDK29 compatibility fix? Thanks

ks32 commented 4 years ago

sure.

Quran Majeed for iOS and Android https://quranmajeed.page.link/RGhFYwtYUVwBbTnB9

Pakistan Data Management Services p: +92 21 3455 9003 w: www.pakdata.com https://facebook.com/pakdata https://twitter.com/hashtag/Pakdata https://www.instagram.com/pakdataapps/

On Wed, Apr 15, 2020 at 8:51 AM fengcheng notifications@github.com wrote:

but I have to upgrade my App to SDK 28, may I fund you for the SDK29 compatibility fix? Thanks

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ks32/CrosswalkNative/issues/18#issuecomment-613800465, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAHILZ6DLZNAFK4KWBSFRBDRMUVLTANCNFSM4MIHQ5PA .

hellcan commented 4 years ago

may I know your email address, and we can discuss in detail

ks32 commented 4 years ago

asif at pakdata.com

Quran Majeed for iOS and Android https://quranmajeed.page.link/RGhFYwtYUVwBbTnB9

Pakistan Data Management Services p: +92 21 3455 9003 w: www.pakdata.com https://facebook.com/pakdata https://twitter.com/hashtag/Pakdata https://www.instagram.com/pakdataapps/

On Wed, Apr 15, 2020 at 8:53 AM fengcheng notifications@github.com wrote:

may I know your email address, and we can discuss in detail

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ks32/CrosswalkNative/issues/18#issuecomment-613801006, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAHILZYR5EJF3GAFH5SQO33RMUVUBANCNFSM4MIHQ5PA .

JUSTINGBB commented 4 years ago

app.gradle is set to "compileSdkVersion 29" "targetSdkVersion 28" can solve my problem, I just use crosswalk to load local html

ks32 commented 4 years ago

yes compileSdkVersion 29 is not yet supported

Quran Majeed for iOS and Android https://quranmajeed.page.link/RGhFYwtYUVwBbTnB9

Pakistan Data Management Services p: +92 21 3455 9003 w: www.pakdata.com https://facebook.com/pakdata https://twitter.com/hashtag/Pakdata https://www.instagram.com/pakdataapps/

On Thu, Apr 30, 2020 at 7:44 AM JUSTINGBB notifications@github.com wrote:

"Gladle" is set to "compileSdkVersion 29" "targetSdkVersion 28" can solve my problem, I just use crosswalk to load local html

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ks32/CrosswalkNative/issues/18#issuecomment-621579753, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAHILZ73SG2SCO3EQEORDJTRPDQYNANCNFSM4MIHQ5PA .