通用 Ionic 应用程序不会在 AVD 中加载
Generic Ionic app doesn't load in AVD
我的 android 虚拟设备启动正常。但是当它加载我的离子应用程序时它说:"app-name has stopped","Open app again" 在打开应用程序几次后它说:"app-name keeps stopping close app"。我的应用程序是基本选项卡离子应用程序。
Ionic 甚至说启动成功...
我尝试过不同的 AVD,但 none 都有效。这是我当前的统计数据。
我试过 运行 它与 ionic run android -c -1
但它只说
emulator: Requested console port 5584: Inferring adb port 5585.
emulator: Listening for console connections on port: 5584
emulator: Serial number of this emulator (for ADB): emulator-5584
编辑:它在 Ionic 服务上工作,只是不会在 android 虚拟设备上加载。
检查您是否有使用该端口的服务或使用该端口的 skype 等程序,然后关闭或更改它使用的端口。
我必须关闭 xampp 才能模拟 android。
在 android SDK 管理器中检查使用主机 GPU 解决了我的问题。
我的 android 虚拟设备启动正常。但是当它加载我的离子应用程序时它说:"app-name has stopped","Open app again" 在打开应用程序几次后它说:"app-name keeps stopping close app"。我的应用程序是基本选项卡离子应用程序。
Ionic 甚至说启动成功...
我尝试过不同的 AVD,但 none 都有效。这是我当前的统计数据。
我试过 运行 它与 ionic run android -c -1
但它只说
emulator: Requested console port 5584: Inferring adb port 5585.
emulator: Listening for console connections on port: 5584
emulator: Serial number of this emulator (for ADB): emulator-5584
编辑:它在 Ionic 服务上工作,只是不会在 android 虚拟设备上加载。
检查您是否有使用该端口的服务或使用该端口的 skype 等程序,然后关闭或更改它使用的端口。
我必须关闭 xampp 才能模拟 android。
在 android SDK 管理器中检查使用主机 GPU 解决了我的问题。