Try a different cable.
They may appear the same externally. They may fit perfectly. But over half just don't work.
I've had best success with thicker diameter cables. The best are ones that were originally packaged to sync or charge name brand electronics.