Today when learning ContentProvider encountered a problem when the test has been given,

Thanks for help to see rookie Daniel once again<-! Main posts under Banner (D4) -><-! Posts under the main text (D5) ->
Reply:
package = "com.example.db"
android: versionCode = "1"
android: versionName = "1.0">android: minSdkVersion = "8"
android: targetSdkVersion = "18" />android: allowBackup = "true"
android: icon = "@ drawable / ic_launcher"
android: label = "@ string / app_name"
android: theme = "@ style / AppTheme">android: name = "com.example.db.MainActivity"
android: label = "@ string / app_name">
android: authorities = "com.zsq.providers.personprovider" />
android: targetPackage = "com.example.db" />
This is provided manifest.xml data provider configuration information items
Reply:
Nobody Dinga how big God help their top novice. . . Thank you
Reply:
Zaiding. . . Daniel it?
Reply:
Brother, log write very clearly, wood has authority ah
Reply:
I know, that is not know what additional permissions. . Plus a look at what you give permission
Reply:
permission to see the manifest yet, and will not be a problem for unit testing, will complain directly to run it?
Reply:
Landlord critical error log back print did not see ah?
Should be on the phone more than 4.0 debug it?
android: authorities = "com.zsq.providers.personprovider" />
Add an attribute: android: exported = "true"
Becomes:
android: exported = "true"
android: authorities = "com.zsq.providers.personprovider" />
Try again!
Reply:
landlord behind the critical error log print did not see ah?
Should be on the phone more than 4.0 debug it?android: authorities = "com.zsq.providers.personprovider" />
Add an attribute: android: exported = "true"
Becomes:android: exported = "true"
android: authorities = "com.zsq.providers.personprovider" />
Try again!
Reply:
Permissions problem. . . . . .
No comments:
Post a Comment