最近公司要求在pico眼镜上进行开发,pico眼镜是安卓设备,在做了个demo打算打包到眼镜里的时候报错
CommandInvokationFailure: Unable to install APK to device. Please make sure the Android SDK is installed and is properly configured in the editor
Unable to build and run.
尝试了重新安装jdk和sdk也不行,最终发现是包名和眼镜里已有的应用冲突,只需要打开Project settings,找到安卓的Other Settings里的Identification–Package Name,将包名修改为com.xxxxx任意名字即可。
【经验记录】关于Unity打包到安卓设备报错Unable to install APK to device
最新推荐文章于 2024-11-21 03:16:05 发布