简体   繁体   English

Android应用无法在其他设备上运行

[英]Android app doesn't work in others devices

When I run my app with Android Studio in my physical device (Device 1), it's work fine, later when I share my app with other device(Device 2), doesn't work (App has stopped responding). 当我在我的物理设备(设备1)中使用Android Studio运行我的应用程序时,它工作正常,稍后当我与其他设备(设备2)共享我的应用程序时,不起作用(应用程序已停止响应)。

Too, when I run my app in Device 2 works fine and when share the app with Device 1 doesn't work. 太,当我在设备2中运行我的应用程序工作正常,当与设备1共享应用程序不起作用。

I've seen that when I run the app directly with Android Studio, this create a app package in my device in : data/app. 我已经看到,当我直接使用Android Studio运行应用程序时,这会在我的设备中创建一个应用程序包:data / app。 And when I install manually the app in the other device, the package is not created. 当我在其他设备中手动安装应用程序时,不会创建包。

This problem didn't happen when I had Android Studio 2.2 , but now I have the version 2.3 and have this problem. 当我使用Android Studio 2.2 ,这个问题没有发生,但现在我有2.3版本并且遇到了这个问题。

the android 6 need real time permission . android 6需要实时许可。

when you run the app in your device it doesn't ask you the real time permissions, but when you share your app it need to ask permission from the user. 当您在设备中运行应用程序时,它不会询问您的实时权限,但是当您共享应用程序时,它需要征得用户的许可。 i think you didn't handle the permission issues. 我认为你没有处理许可问题。

我认为您设备上的某个地方以前的应用程序仍然安装,即使有时它没有显示在应用程序抽屉中尝试从settings>Apps删除它,看看它是否有效。

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

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM