COCOS game Android WeChat authorization login flashback, crash

Mi 11 mobile phone MIUI system version 13.0.8

After the COCOS game is connected to WeChat and authorized to log in, there is no abnormality in the native Android Demo and other mobile phones, and you can log in normally.

However, it was found that the game would flash back and crash after the Mi 11 mobile phone was authorized or deauthorized.

There is no valid log corresponding to the crash found in the real-time detection log and debug.

solution:

Add the CPU type of the current mobile phone to build.gradle, such as the Mi 11 mobile phone MIUI system version 13.0.8 that reproduces the problem above.

His CPU type is "arm64-v8a", just add it to the configuration of build.gradle.

 ndk {
       //增加"arm64-v8a",可解决小米11手机 13.0.8系统的微信登录崩溃问题.
       abiFilters "armeabi-v7a", "arm64-v8a"
     }

Guess you like

Origin blog.csdn.net/zhao8856234/article/details/125767963