我为
Android DropBox SDK调用getSession().startAuthentication()时遇到此错误的任何想法?
: FATAL EXCEPTION: main : java.lang.IllegalStateException: URI scheme in your app's manifest is not set up correctly. You should have a com.dropBox.client2.android.AuthActivity with the scheme: db-CHANGE_ME
然而,我的AndroidManifest.xml在< Application>< / Application>中有以下内容:按照入门说明中的说明进行操作.
<activity android:name="com.dropBox.client2.android.AuthActivity" android:launchMode="singleTask" android:configChanges="orientation|keyboard"> <intent-filter> <!-- Change this to be db- followed by your app key --> <data android:scheme="db-MYKEYISHERE" /> <action android:name="android.intent.action.VIEW" /> <category android:name="android.intent.category.BROWSABLE"/> <category android:name="android.intent.category.DEFAULT" /> </intent-filter> </activity>