简体   繁体   English

如何通过Linux OS在Android G1手机中加载Bluetooth .apk文件?

[英]How to load a Bluetooth .apk file in Android G1 phone through Linux OS?

I want to install a Bluetooth Application over my G1 device in linux environment. 我想在Linux环境中的G1设备上安装蓝牙应用程序。 What is the correct procedure for this? 正确的程序是什么?

Whenever I am installing the application the following error is thrown:- 每当我安装应用程序时,都会引发以下错误:

**adb install /home/parveen/workspace/BluetoothChat/bin/BluetoothChat.apk ** adb install /home/parveen/workspace/BluetoothChat/bin/BluetoothChat.apk
337 KB/s (28084 bytes in 0.081s) 337 KB / s(28084字节,在0.081s中)
pkg: /data/local/tmp/BluetoothChat.apk pkg:/data/local/tmp/BluetoothChat.apk
Failure [INSTALL_FAILED_ALREADY_EXISTS]**** 失败[INSTALL_FAILED_ALREADY_EXISTS] ****

The error message seems to indicate that the application is already installed! 错误消息似乎表明该应用程序已安装!

However, to reinstall the application.... 但是,要重新安装该应用程序。

adb install -r /home/parveen/workspace/BluetoothChat/bin/BluetoothChat.apk

"-r" means reinstall “ -r”表示重新安装

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM