forked from qt-creator/qt-creator
Android: select device with "adb -d" if it have invalid serial no
Works only if no correctly detected devices attached to adb. Sometimes serial number becomes '????-????-????' on linux because udev rules are not configured, handling them without configuring will be useful. Also i have 2 phones that have no serial number at all on stock rom. Serial number disappears on some smartphones with CyanogenMod http://forum.cyanogenmod.org/topic/64522-i-have-no-serial-number/ Change-Id: I1a992eb2537342934c60d79c9180edd955aa7862 Reviewed-by: BogDan Vatra <bogdan@kde.org>
This commit is contained in:
@@ -78,6 +78,8 @@ struct AndroidDeviceInfo
|
||||
QString serialNumber;
|
||||
QString cpuABI;
|
||||
int sdk;
|
||||
|
||||
static QStringList adbSelector(const QString &serialNumber);
|
||||
};
|
||||
|
||||
class AndroidConfigurations : public QObject
|
||||
|
||||
Reference in New Issue
Block a user