0

I'm trying to build my first Android Things application. To run it on my Raspberry Pi I need to create a build with my application. The problem happens when I try to add my application to the build. It says "Permission denied". I've tried with two different Google accounts.

Does anyone know what could be the reason? Is there any way of building it from the command line instead of Android Things console?

Android Things Console App selection

Android Things Console Error

4

1 回答 1

0

我弄清楚了问题所在。

当我们创建一个 Android Things 应用程序时,必须在 Manifest 文件中设置所有权限。不允许运行时权限。

在我的权限中,有 android.permission.READ_LOGS 权限,看起来 Android Things Console 不接受包含此权限的应用程序。

我删除了它,我可以添加它。

于 2020-02-12T17:35:55.997 回答