Android + DropboxSync startLink

跟風遠走 提交于 2020-01-05 07:46:13

问题


I want create app with sync to dropbox, but i have an error.

Who can help fix error:

253-253/com.shvedchenko.skleroshop W/com.dropbox.client2.android.AuthActivity: There are multiple apps registered for the AuthActivity URI scheme (db-aaat0ujhbfgnn98).  Another app may be trying to  impersonate this app, so authentication will be disabled.

i have this error when i call:

mDbxAcctMgr.startLink((Activity)this, REQUEST_LINK_TO_DBX);

My AndroidManifest:

<activity android:name="com.dropbox.sync.android.DbxAuthActivity" />
<activity
    android:name="com.dropbox.client2.android.AuthActivity"
    android:launchMode="singleTask" >
    <intent-filter>
        <data android:scheme="db-d53t0ujht25nn98" />
        <action android:name="android.intent.action.VIEW" />
        <category android:name="android.intent.category.BROWSABLE" />
        <category android:name="android.intent.category.DEFAULT" />
    </intent-filter>
</activity>
<service
    android:name="com.dropbox.sync.android.DbxSyncService"
    android:enabled="true"
    android:exported="false"
    android:label="Dropbox Sync" />
</application>
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />

Thx!

来源:https://stackoverflow.com/questions/18592959/android-dropboxsync-startlink

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!