[英]Application not installed in android error
I have made application in Netbeans7.1.2 . 我已经在Netbeans7.1.2中申请了。 my application working perfectly in emulator which is configured android 2.1 but after copying bin folder in Android device(tablet) that gives error "Application not installed". 我的应用程序完美地在模拟器中工作,配置android 2.1但在Android设备(平板电脑)中复制bin文件夹后出现错误“应用程序未安装”。 what is this problem plz if someone know about this ? 如果有人知道这个问题,这是什么问题?
Copying bin/
folder is not sufficient enough to warrant an install. 复制bin/
文件夹不足以保证安装。
You can do it this way: 你可以这样做:
Use the Android's SDK tool called adb
to install it directly on to the device. 使用名为adb
的Android SDK工具将其直接安装到设备上。 For example, suppose your package-name in your project is called org.foo.bar.app and an apk file is generated and called foobar.apk (This will be found in the bin/
) folder typically, or where you specify Eclipse to generate the apk, via from within Eclipse: 例如,假设你的项目中的package-name被称为org.foo.bar.app并且生成了一个apk文件,并且通常会将其命名为foobar.apk (这将在bin/
找到),或者指定Eclipse为通过Eclipse内部生成apk:
Export the unsigned Application Package
单击“ Export the unsigned Application Package
OR 要么
Export Signed Application Package
. 单击“ Export Signed Application Package
。 Then: 然后:
Plug in cable to device, and issue the command from within Windows Cmd
or Linux Terminal
, in this manner, adb install foobar.apk
将电缆插入设备,并以这种方式从Windows Cmd
或Linux Terminal
发出命令, adb install foobar.apk
To uninstall an app from the device, specify the package-name, like this adb uninstall org.foo.bar.app
要从设备卸载应用程序,请指定package-name,例如adb uninstall org.foo.bar.app
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.