zsmjhtn commented on issue #3096: [Android 9.0][honor Mate20] Crash on 
android9.0 device
URL: https://github.com/apache/incubator-weex/issues/3096#issuecomment-569012860
 
 
   > I have tested it for Android 9 (API 28), everything works fine.
   > 
   > If you met this problem on Android 9 with Weex 0.28, I think this is 
caused by the [Per-app SELinux 
domains](https://developer.android.com/about/versions/pie/android-9.0-changes-28)
 in Android 28.
   > 
   > You could remove `libc++_shared.so` provided by weex.aar and add your own. 
Refer this 
[exmaple](https://github.com/apache/incubator-weex/blob/master/android/sdk/build.gradle#L63-L67).
   
   Solved this issue by modify **abiFilters** in Application:
   ```
   // before  abiFilters "armeabi-v7a"
   //after
    abiFilters "armeabi-v7a", 'arm64-v8a'
   ```
   Some different between V0.18 and V0.28.
   I should declare a list of abiFilters in  V0.28,rather then single “armeabi” 
in V0.18 
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to