We propose a method to efficiently generate cluster states in charge qubits, both semiconducting and superconducting, as well as flux qubits. We show that highly entangled cluster states can be realized by a "one-touch" entanglement operation by tuning gate bias voltages for charge qubits. We also investigate the robustness of these cluster states for nonuniform qubits, which are unavoidable in solid-state systems. We find that quantum computation based on cluster states is a promising approach for solid-state qubits.