Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/182.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
用户无法在play store上同时安装android应用程序。如何解决这个问题?_Android_Firebase_Google Play_Google Play Console - Fatal编程技术网

用户无法在play store上同时安装android应用程序。如何解决这个问题?

用户无法在play store上同时安装android应用程序。如何解决这个问题?,android,firebase,google-play,google-play-console,Android,Firebase,Google Play,Google Play Console,大家好,我有三个软件包名为play store的应用程序 com.gohiggs.cboxapp com.gohiggs.luvduv com.gohiggs.yostatus 但我无法同时安装三个应用程序。它显示以下错误 只有当您的应用程序使用相同的文件提供程序路径时,才会发生这种情况。 尝试更改文件提供程序路径的名称标记 <paths> <external-path name="use_uniq_name_here" path="." /> <root-path

大家好,我有三个软件包名为play store的应用程序

com.gohiggs.cboxapp

com.gohiggs.luvduv

com.gohiggs.yostatus

但我无法同时安装三个应用程序。它显示以下错误


只有当您的应用程序使用相同的文件提供程序路径时,才会发生这种情况。 尝试更改文件提供程序路径的名称标记

<paths>
<external-path name="use_uniq_name_here" path="." />
<root-path path="/" name="use_uniq_name_here" />


每当我们想从设备SD卡访问文件时,我们需要在应用程序的android清单中添加“提供者”,如下所示

    <provider
        android:name="android.support.v4.content.FileProvider"
        android:authorities="com.mywebsite.myapp.provider"
        android:exported="false"
        android:grantUriPermissions="true">
        <meta-data
            android:name="android.support.FILE_PROVIDER_PATHS"
            android:resource="@xml/file_paths_public" />
    </provider>


我们需要为每个应用程序指定不同的唯一名称。(例如安卓:authorities=“com.mywebsite.myapp.provider”)如果多个应用程序使用相同的名称,那么它可能只允许从所有这些多个应用程序一次安装一个应用程序

您很可能对所有三个应用程序都使用了相同的firebase项目。是的@SHS我正在使用相同的项目。我现在不记得了,但是每个应用程序的google services json应该不同。(可能是不同的项目)