简体   繁体   English

android:自签名apk可以安装在模拟器中但不能安装在设备中

[英]android: self signed apk can install in emulator but not in device

I wrote a small program and created a signed apk in eclipse kepler. 我写了一个小程序,并在Eclipse Kepler中创建了一个签名的apk。

I cannot install the apk into my device through dropbox with "Unknown source" option UNCHECKED. 我无法通过带有“未知来源”选项未选中的Dropbox将apk安装到我的设备中。 The option is under Setting -> Security. 该选项位于设置->安全下。

However, I can install the apk into my emulator by using 但是,我可以使用以下命令将apk安装到模拟器中

adb install abc.apk 亚行安装abc.apk

The emulator still got "Unknown Source" UNCHECKED. 模拟器仍未选中“未知源”。

Could anyone help? 有人可以帮忙吗? Thank you very much! 非常感谢你!

Regards, 问候,

Antony 安东尼

It will also work via ADB on the actual device while unknown sources is unchecked. 当未检查未知来源时,它也将通过实际设备上的ADB工作。

However, if you want to install the APK right from your device using a file management app, you will have to enable installations from unknown sources. 但是,如果您想使用文件管理应用从设备上直接安装APK,则必须启用来自未知来源的安装。

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

相关问题 Android apk:安装模拟器然后设备 - Android apk: install emulator then device 无法在 Android 默认模拟器或 Genymotion 上安装自签名证书 - Can not install self-signed certificate on Android Default Emulator or Genymotion Android - 如何在设备上安装已签名的APK? - Android - How to install signed APK on device? Android HttpsURLConnection 适用于模拟器上的自签名证书,但不适用于真实设备 - Android HttpsURLConnection works with self-signed certificate on emulator but not on real device 签名的APK将不会安装在我的Android设备上 - A signed apk won't install on my android device APK 文件在 android 模拟器中工作,但不会安装在我的设备上 - APK File works in android emulator but won't install on my device 如何通过 Android 移动设备安装 apk Wear 模拟器 - How to install apk wear emulator via Android mobile device Android-无法在物理设备上安装APK,但在模拟器上成功 - Android - Failed to install apk on physical device but successful on emulator Android Studio 2.2.2无法将APK安装到设备/模拟器 - Android Studio 2.2.2 fails to install apk to device/emulator 我不能在ADT-15.0.0的设备或仿真器上安装apk文件吗? - I Can not install apk files on device or emulator in ADT-15.0.0?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM