1

I've installed the appropriate .apk file, however when trying to install it the app it gives me the error 'Application not installed'. I've tried to put a simple Hello World .apk file on there and I receive the same message.

Here's what I have tried:
1. Adding the following to Application Manifest

android:debuggable="true"  

2. I have installed multiple File Managers including Astro, Android File Manager and ES File Explorer
3. I have enabled all of the correct settings on the Sony Xperia U (running Android 2.3.7)
4. Tried installation whilst the device is plugged in, and whilst it isn't

I'm using a Unsigned Android Application. Everything runs accordingly on the Eclipse emulator

Logcat is reporting the following:

enter image description here

This is displayed even when my device is connected via USB.

4

3 回答 3

2

myapp.apk在硬盘驱动器上找到您的文件:

通过命令行安装它:

C:\android\android-sdk\platform-tools\adb.exe install myapp.apk

已连接设备列表:

adb devices

连接设备(如果其编号为 5554):

adb connect 127.0.0.1:5554 

重启亚行:

adb kill-server
adb start-server
于 2013-06-23T14:27:05.887 回答
0

您的 APK 的证书已过期或配置错误。

您需要使用以下工具对 apk 进行签名。

https://play.google.com/store/apps/details?id=kellinwood.zipsigner2&hl=en

或者

https://code.google.com/p/apk-signer/

使用输出文件名为 APK 签名 HelloWorld_signed.apk

然后去我的文件你会看到你签名的apk。

安装 HelloWorld_signed.apk。

该应用程序将成功安装..

于 2013-08-26T21:20:19.030 回答
0

我相信权限限制会阻止您这样做,我已经解决并为我的 Sony Xperia 1,操作系统版本 5.1.1 找到了一个简单的解决方案

执行以下步骤:

  1. 设置
  2. 应用
  3. 下载标签
  4. 向下滚动以在那里找到您的应用
  5. 按菜单并为所有用户选择卸载
于 2015-12-28T10:32:07.913 回答