I solved this problem by opening my device.xml, where the device definition is stored, and replacing each comma ',' with a period. ''
<d:screen-size>normal</d:screen-size> <d:diagonal-length>3,70</d:diagonal-length> <d:pixel-density>hdpi</d:pixel-density> <d:screen-ratio>long</d:screen-ratio> <d:dimensions> <d:x-dimension>480</d:x-dimension> <d:y-dimension>720</d:y-dimension> </d:dimensions> <d:xdpi>254,00</d:xdpi> <d:ydpi>254,00</d:ydpi>
<P β
<d:screen-size>normal</d:screen-size> <d:diagonal-length>3.70</d:diagonal-length> <d:pixel-density>hdpi</d:pixel-density> <d:screen-ratio>long</d:screen-ratio> <d:dimensions> <d:x-dimension>480</d:x-dimension> <d:y-dimension>720</d:y-dimension> </d:dimensions> <d:xdpi>254.00</d:xdpi> <d:ydpi>254.00</d:ydpi>
devices.xml is located in .android \ devices.xml
I figured out this solution by comparing the user definition and the built-in Google device definition.
I donβt know why AVD Manager saves the XML description of the device created by the user, this is strange.
source share