I am trying to write a sync adapter with \'StubProvider\' and \'StubAuthenticator\', i followed the offical guidelines, my code is running without any errors but \'onPerform
Are you sure it's not working?
Remember that Sync Adapter is run on a Bound Service which is not in the same process, so your Log.d() in onPerformSync() will not show in the LogCat under your app main process but in the process that the Sync Adapter is using.
Try removing the filter in the LogCat : instead of "Show only selected application" select "No filters".