收藏
回答

【偶发】安卓5.1.1的vivo x7,不能打开相册?

捕获的手机信息,前面几次能够打开相册,后面突然就不能打开了,点起都没有任何反应。由于不能打开相册,用户疯狂点击,根本打不开相册,页面整体还是能够滑动的(非假死状态)

        wx.chooseImage({
            count1,
            sizeType: ["compressed"],
            sourceType: ["album""camera"],
            successfunction (a{
                console.log('img info:', a)
                var e = a.tempFilePaths[0];
                if (a.tempFiles[0].size > 50 * 1024 * 1024) {
                    wx.showToast({
                        title"图片过大",
                        image"/hyb_o2o/resource/images/error.png"
                    })
                    return;
                }
                 ...上传逻辑
              },
            failfunction (a{}
        });
最后一次编辑于  06-23
回答关注问题邀请回答
收藏

2 个回答

  • 社区技术运营专员-灵芝
    社区技术运营专员-灵芝
    06-28

    你好,是否有报错信息呢?

    06-28
    有用
    回复 3
    • ENGLISH
      ENGLISH
      06-29
      这两天加了日志,没有发现这种情况了,对某些机型(三星SM-G6200),可能还是会存在打开相册打开不了的情况,不知道是不是用户疯狂点击的原因,页面没有卡死
      06-29
      回复
    • ENGLISH
      ENGLISH
      06-29回复ENGLISH
      并且日志中没有捕获到任何错误信息
      06-29
      回复
    • ENGLISH
      ENGLISH
      06-29
      {"locationEnabled":false,"screenWidth":400,"benchmarkLevel":17,"screenHeight":752,"windowHeight":683,"bluetoothEnabled":false,"errMsg":"getSystemInfo:ok","language":"zh_CN","microphoneAuthorized":true,"version":"7.0.13","cameraAuthorized":true,"system":"Android 8.1.0","fontSizeSetting":16,"locationAuthorized":true,"pixelRatio":2.7,"notificationAuthorized":true,"model":"SM-G6200","statusBarHeight":25,"deviceOrientation":"portrait","wifiEnabled":false,"safeArea":{"width":400,"right":400,"top":0,"left":0,"bottom":752,"height":752},"brand":"samsung","windowWidth":400,"screenTop":70,"platform":"android","SDKVersion":"2.11.2","devicePixelRatio":2.7}
      06-29
      回复
  • ENGLISH
    ENGLISH
    06-30

    今天出现的3次打不开相册的报错,系统都是Android 9

    06-30
    有用
    回复
登录 后发表内容
问题标签