gpt4 book ai didi

android - unity CommandInvokationFailure : Unable to install APK to device. 权限被拒绝

转载 作者:搜寻专家 更新时间:2023-11-01 08:28:45 29 4
gpt4 key购买 nike

我尝试为 Android 构建 Unity 应用程序并收到下一个错误:

CommandInvokationFailure: Unable to install APK to device. 
Please make sure the Android SDK is installed and is properly configured in the Editor.
See the Console for more details.
/Users/tedromanus/Library/Android/sdk/platform-tools/adb -s "0123456789ABCDEF" install -r "/Users/tedromanus/Workspace/SoftServe/GPSTest/Builds/GPSTest.apk"

stderr[

]
stdout[
[ 0%] /data/local/tmp/GPSTest.apk
[ 0%] /data/local/tmp/GPSTest.apk
[ 0%] /data/local/tmp/GPSTest.apk
[ 1%] /data/local/tmp/GPSTest.apk
[ 1%] /data/local/tmp/GPSTest.apk
[ 1%] /data/local/tmp/GPSTest.apk
[ 1%] /data/local/tmp/GPSTest.apk
[ 2%] /data/local/tmp/GPSTest.apk
[ 2%] /data/local/tmp/GPSTest.apk
[ 2%] /data/local/tmp/GPSTest.apk
adb: error: failed to copy '/Users/tedromanus/Workspace/SoftServe/GPSTest/Builds/GPSTest.apk' to '/data/local/tmp/GPSTest.apk':
Permission denied
]
exit code: 255

我该如何解决?感谢您的回复。

最佳答案

您是否拥有 tedromanus 用户文件夹?如果没有,请确保您具有访问该文件夹的管理员权限。

如果您的设备上有多个用户帐户,您可以确保您使用的是管理员帐户,如果仍然不起作用,请删除其他用户帐户上的应用痕迹并重试,

否则,我在其他地方看到过 root 的 android 设备可能有这个问题。

关于android - unity CommandInvokationFailure : Unable to install APK to device. 权限被拒绝,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42405898/

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com