Flexible sensors, being a vital component of flexible devices, determine the functionalities and performance capabilities of the devices., especially, are widely used in flexible sensors in past research due to their great advantages in flexibility and sensitivity. In this work , silver nanowires with aspect ratios of 600, 1000, and 1400 were synthesized by adjusting the synergy of Br– and Cl–, along with other process parameters, leading to an improved production efficiency of silver nanowires. The stability of the conductive network is enhanced when the aspect ratio of silver nanowires is 1000 and 1400.The sensor demonstrated high sensitivity at high strain, along with an extended strain range. Moreover, it was observed that increasing the aspect ratio of silver nanowires led to a more stable conductive network, thus enhancing the sensor's stability with over 10000 stretching cycles. under the appropriate deposition density, silver nanowires with aspect ratio of 600 have high sensitivity to low strain, and silver nanowires with aspect ratio of 1400 have high sensitivity to high strain, up to 247.3. Introducing microstructures on the surface of PDMS resulted in an increased maximum sensitivity of the sensor with decreasing microstructure size, reaching a maximum sensitivity of 322.2.