简体   繁体   English

世博会:com.segment.analytics.android:analytics 错误,同时将我的应用程序提交到 Google Play 控制台

[英]Expo : com.segment.analytics.android:analytics error while submitting my app to Google Play Console

I tried to upload the latest version of my app but I couldn't able to do the same because of the segment SDK version policy changes, etc. Even though the expo team says that this issue is fixed I'm facing the same error, kindly guide me if I'm doing something wrong.我尝试上传我的应用程序的最新版本,但由于细分 SDK 版本政策更改等原因,我无法执行相同操作。即使博览会团队表示此问题已修复,我也面临同样的错误,如果我做错了什么,请指导我。 Error Screenshot错误截图

I tried the following actions我尝试了以下操作

  • Downgrading the app降级应用程序
  • Upgrading the app升级应用程序
  • Including a few new packages包括一些新的包
  • doing expo build做世博会
  • doing eas build做 eas build
  • changing the CLI version更改 CLI 版本

even removed all the packages except the basic packages and removed all the screens, just kept one blank green screen, and published the app in internal testing still got the same error.甚至删除了除基本包之外的所有包并删除了所有屏幕,只保留了一个空白的绿屏,并在内部测试中发布了该应用程序仍然出现相同的错误。

package.json包.json

{
  "version": "1.1.50",
  "main": "node_modules/expo/AppEntry.js",
  "scripts": {
    "start": "expo start",
    "android": "expo start --android",
    "ios": "expo start --ios",
    "web": "expo start --web",
    "eject": "expo eject"
  },
  "dependencies": {
    "@expo/ngrok": "^4.1.0",
    "expo": "^45.0.6",
    "expo-status-bar": "~1.3.0",
    "react-dom": "17.0.2",
    "react-native": "0.68.2",
    "react-native-reanimated": "~2.8.0",
    "react-native-web": "0.17.7",
    "standard-version": "^9.5.0",
    "standard-version-expo": "^1.0.3"
  },
  "devDependencies": {
    "@babel/core": "^7.12.9"
  },
  "private": true
}

App.js应用程序.js

import React from "react";
import { StyleSheet, View} from "react-native";

export default function App() {
  return (
    <View style={styles.container}>
      
    </View>
  );
}

const styles = StyleSheet.create({
  container: {
    flex: 1,
    backgroundColor:"lime"
  },
});

please let me know what needs to be changed, Thanks请告诉我需要更改的内容,谢谢

Welcome to Stackoverflow and I am sorry to hear about your app rejection.欢迎来到 Stackoverflow,很遗憾听到您的应用被拒绝。

Looking at the rejection message, it clearly says that your app does not meet the new data policy as the version of the SDK 4.9.4 (com.segment.analytics.android:analytics) that you are using has an issue and it is better to upgrade to SDK version 4.10.1.查看拒绝消息,它清楚地表明您的应用程序不符合新的数据政策,因为您使用的 SDK 4.9.4 (com.segment.analytics.android:analytics) 的版本有问题并且更好升级到 SDK 版本 4.10.1。 Don't worry this is an automated review process rejecting your app so upgrading the SDK should help you fix the issue.不用担心,这是一个拒绝您的应用程序的自动审核过程,因此升级 SDK 应该可以帮助您解决问题。

So I did some reading and looks like expo by default uses this segment library and there is no way to remove it currently as per https://github.com/expo/expo/issues/1320所以我做了一些阅读,看起来 expo 默认使用这个段库,目前没有办法根据https://github.com/expo/expo/issues/1320删除它

Sadly this is a problem you hit with free and open-source tools.可悲的是,这是您使用免费和开源工具遇到的问题。

The Expo documentation says that Segment is getting removed from SDK 46 but again SDK 46 is not released yet. Expo 文档说,Segment 已从 SDK 46 中删除,但 SDK 46 尚未发布。

在此处输入图像描述

Things you can do at this point:此时你可以做的事情:

  1. Use React Native CLI instead of Expo.使用 React Native CLI 而不是 Expo。
  2. Upvote the feature request for removing Segment from Expo.支持从 Expo 中删除 Segment 的功能请求。
  3. Wait for expo 46等待世博会 46

You should run你应该跑

expo install expo-analytics-segment世博会安装世博分析段

which upgrades the segment package to the newest version.它将段包升级到最新版本。 Then you will be able to submit the app.然后,您将能够提交应用程序。

As seen in: https://github.com/expo/expo/issues/17845如所见: https ://github.com/expo/expo/issues/17845

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 com.segment.analytics.android:将我的应用程序提交到 Google Play 控制台时出现分析错误 - com.segment.analytics.android:analytics error while submitting my app to Google Play Console com.segment.analytics.android:Google Play 控制台上我的应用程序中的分析不兼容版本 - com.segment.analytics.android:analytics noncompliant version in my app on the Google Play Console com.segment.analytics.android:analytics, 4.9.4 上传颤振应用时出错 - com.segment.analytics.android:analytics, 4.9.4 error when uploading flutter app EAS 构建失败,错误代码为 1,但 Expo Build 成功,我需要 EAS 构建来删除未使用的包,如 com.segment.analytics.android:analytics - EAS build failed with error code 1 but Expo Build succeeds, i need EAS build to remove unused packages like com.segment.analytics.android:analytics Google Play控制台App Analytics极其乏味吗? - Google Play Console App Analytics extremely lackluster? Google Play 管理中心:提交应用时出现广告 ID 错误 - Google Play Console: Advertising ID error while submitting the app 在 Google Play 控制台上传我的 React Native/Expo 应用程序时出错 - Error at uploading my React Native/Expo app on Google Play Console 我的Android应用中的Google Analytics(分析)v4投放错误 - Google Analytics v4 Cast Error in my android app 错误:无法解决:com.google.android.gms:play-services-analytics:17.2.0 - ERROR: Failed to resolve: com.google.android.gms:play-services-analytics:17.2.0 如果我实施谷歌分析活动崩溃(com.google.android.gms:play-services-analytics:10.0.1) - If i implement google analytics the activity crashes ( com.google.android.gms:play-services-analytics:10.0.1)
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM