Joe's Quest

Hongmi (Red Rice) Phone

Use Xiaomi Phone For Development In Mac Eclipse

Hongmi Phone is a smart phone running Android which is cost US$131. It’s a budget choice for using as development device. But when connect it to Mac, you may not find it in Eclipse “running Android device”.
Empty "running Android device" List
The solution is add a vendor ID 0x2717 in ~/.android/adb_usb.ini.
In Terminal, use command:

echo "0x2717" >> ~/.android/adb_usb.ini
# Replace "YOUR_SDK_PATH" with your own SDK path.
# E.g. ~/Android/adt-bundle-mac-x86_64/sdk
YOUR_SDK_PATH/platform-tools/adb kill-server
YOUR_SDK_PATH/platform-tools/adb start-server

Then you can find the phone in the list.
Xiaomi Phone in running Android device list

Leave a Comment

Your email address will not be published. Required fields are bold.