我正在尝试将文本文件上传到我的Dropbox,但它在清单中显示错误.这是我的 Manifest文件和logcat错误,我做错了可以有人帮我请...
错误是:
**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-5qiq4z06ikagxfb**
我该怎么办?
谢谢你的帮助.
因为你缺少添加活动,,,
<activity android:name="com.example.ondropbox.MainActivity" android:label="@string/app_name" > <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity> <activity android:name="com.dropbox.client2.android.AuthActivity" android:configChanges="orientation|keyboard" android:launchMode="singleTask" > <intent-filter> <data android:scheme="db-5qiq4z06ikagxfb" /> <action android:name="android.intent.action.VIEW" /> <category android:name="android.intent.category.BROWSABLE" /> <category android:name="android.intent.category.DEFAULT" /> </intent-filter> </activity>
你完成了