你猜猜我是谁
你猜猜我是谁
  • 发布:2021-07-27 14:39
  • 更新:2021-07-27 15:43
  • 阅读:914

求教:Android平台隐私与政策提示框都需要啥配置

分类:HTML5+

近期Android被打回,非要隐私提示框,我按照官方文档配置后还没有出现提示框,文档如下:
https://ask.dcloud.net.cn/article/36937

我是离线打包配置,把文中的代码复制给AndroidManifest.xml和strings.xml,允许后没有任何反应,请问其它还有需要配置的吗?
打包后,控制台报错不知道与这个是不是有关系,报错如下:

2021-07-27 14:36:41.535 26962-27065/com.avictc.jingqbnative E/AwareLog: AtomicFileUtils: readFileLines file not exist: android.util.AtomicFile@4cb1fdb
2021-07-27 14:36:41.535 26962-27065/com.avictc.jingqbnative E/AwareLog: AtomicFileUtils: readFileLines file not exist: android.util.AtomicFile@c937a78
2021-07-27 14:36:41.560 26962-26962/com.avictc.jingqbnative E/platform: ClassNotFoundException io.dcloud.feature.weex.WeexInstanceMgr initWeexEnv
2021-07-27 14:36:41.955 26962-26962/com.avictc.jingqbnative E/chromium: [ERROR:filesystem_posix.cc(62)] mkdir /data/user/0/com.avictc.jingqbnative/cache/WebView/Crashpad: No such file or directory (2)
2021-07-27 14:36:42.177 26962-27006/com.avictc.jingqbnative E/MemoryLeakMonitorManager: MemoryLeakMonitor.jar is not exist!
2021-07-27 14:36:42.264 26962-26962/com.avictc.jingqbnative E/AvictcApp: onActivityCreated java.lang.ClassCastException: io.dcloud.PandoraEntry cannot be cast to com.smart.core.base.BaseActivity
2021-07-27 14:36:42.266 26962-26962/com.avictc.jingqbnative E/DCloud_LOG: PlatformUtil.getResInputStream RuntimeException pFilePath=/data/dcloud_control.xml
2021-07-27 14:36:42.829 26962-26962/com.avictc.jingqbnative E/platform: ClassNotFoundException io.dcloud.feature.weex.WeexInstanceMgr restartWeex
2021-07-27 14:36:42.829 26962-26962/com.avictc.jingqbnative E/Html5Plus-onCreate: 1627367802829
2021-07-27 14:36:42.850 26962-26962/com.avictc.jingqbnative E/AvictcApp: onActivityCreated java.lang.ClassCastException: io.dcloud.PandoraEntryActivity cannot be cast to com.smart.core.base.BaseActivity
2021-07-27 14:36:42.932 26962-26962/com.avictc.jingqbnative E/DCloud_LOG: channel:;ver:1.9.9.71983;ssdk:false;max:3;trim:0;dg:false
2021-07-27 14:36:43.033 26962-26962/com.avictc.jingqbnative E/platform: Exception android.telephony.TelephonyManager getImei
2021-07-27 14:36:43.034 26962-26962/com.avictc.jingqbnative E/platform: NoSuchMethodException android.telephony.TelephonyManager getImei2
2021-07-27 14:36:43.048 26962-26962/com.avictc.jingqbnative E/platform: Exception android.telephony.TelephonyManager getImei
2021-07-27 14:36:43.052 26962-26962/com.avictc.jingqbnative E/platform: Exception android.telephony.TelephonyManager getImei
2021-07-27 14:36:43.060 26962-26962/com.avictc.jingqbnative E/TelephonyUtil: getIMEI exception==getDeviceId
2021-07-27 14:36:43.165 26962-26962/com.avictc.jingqbnative E/platform: ClassNotFoundException io.dcloud.appstream.actionbar.StreamAppActionBarUtil checkNeedTitleView
2021-07-27 14:36:43.177 26962-26962/com.avictc.jingqbnative E/Html5Plus-onResume: 1627367803177
2021-07-27 14:36:43.190 26962-26962/com.avictc.jingqbnative E/AvictcApp: onActivityDestroyed java.lang.ClassCastException: io.dcloud.PandoraEntry cannot be cast to com.smart.core.base.BaseActivity
2021-07-27 14:36:50.342 26962-26962/com.avictc.jingqbnative E/Html5Plus-onResume: 1627367810342
2021-07-27 14:36:50.541 26962-26962/com.avictc.jingqbnative E/DCloud_LOG: fmgr no dp
2021-07-27 14:36:50.738 26962-26962/com.avictc.jingqbnative E/DCloud_LOG: channel:;ver:1.9.9.71983;ssdk:false;max:3;trim:0;dg:false
2021-07-27 14:36:54.082 26962-26962/com.avictc.jingqbnative E/Html5Plus-SplashClosed: 1627367814081
2021-07-27 14:36:54.082 26962-26962/com.avictc.jingqbnative E/Main_Path: closeSplashScreen0 appid=H5A9A1F64;true;closeSplashDid=false
2021-07-27 14:36:56.582 26962-27065/com.avictc.jingqbnative E/AwareLog: AtomicFileUtils: readFileLines file not exist: android.util.AtomicFile@40c83f4
2021-07-27 14:36:59.625 26962-26962/com.avictc.jingqbnative E/Html5Plus-SplashClosed: 1627367819623
2021-07-27 14:36:59.625 26962-26962/com.avictc.jingqbnative E/Main_Path: closeSplashScreen0 appid=H5A9A1F64;true;closeSplashDid=true

2021-07-27 14:39 负责人:无 分享
已邀请:
DCloud_Android_ST

DCloud_Android_ST

1、SDK版本太老按文档说的用高版本SDK
2、要求的AndroidManifest.xml配置没有配对导致

  • 你猜猜我是谁 (作者)

    control.xml文件中是这个版本:<HBuilder debug="true" version="2.4.6.71959">,支持吗?

    2021-07-27 15:50

  • 你猜猜我是谁 (作者)

    我知道了,版本太低了,谢谢

    2021-07-27 15:52

该问题目前已经被锁定, 无法添加新回复