按我的apk到/系统/应用程序 [英] Push my apk to /system/app

查看:147
本文介绍了按我的apk到/系统/应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我怎样才能把我的应用程序包 到Android模拟器/系统/应用程序文件夹?

How can I push my application package to Android emulator "/system/app" folder?

我已经尝试过使用方法:
亚行推myApk.apk /系统/应用程序
它给了我这样的:

I've already tried to use:
"adb push myApk.apk /system/app"
and it gives me this:

"failed to copy: ... No space left on device"

虽然从设置 - > SD卡和放大器;手机内存, 我得到的内部可用空间37MB。

Although from settings -> sdCard & Phone Storage, I get 37Mb of internal free space.

这需要整个的一点是
相关权限。

The whole point of this need is
related to permissions.

我需要有INSTALL_PACKAGES权限
而我想说的是,思想促进我的应用程序在那里,
在/系统/应用程序,我得到了许可。

I need to have INSTALL_PACKAGES permission
and I know that by puting my application there,
in /system/app, I get that permission.

推荐答案

通常情况下,要获得进入的唯一途径/系统/目录是为了有一个设备扎根。我完全不知道这是否是虽然所需的仿真器。这可能是你的问题。

Normally, the only way to get access to the "/system/" directory is to have a device rooted. I don't exactly know if that is required for the emulator though. That could be your issue.

这篇关于按我的apk到/系统/应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆