我正在尝试使用Linux Mint在Android虚拟设备上运行初始应用程序。我已经尝试了很多次,但没有任何改变,感觉它由于某种原因被卡住了!这是来自Code studio的终端:
~/Music/app/app$ react-native run-android
info Starting JS server...
info Building and installing the app on the device (cd android && ./gradlew app:installDebug)...
Starting a Gradle Daemon (subsequent builds will be faster)
Exception in thread "Device List Monitor" java.lang.NullPointerException
at com.android.ddmlib.EmulatorConsole.checkConnection(EmulatorConsole.java:319)
at com.android.ddmlib.EmulatorConsole.getConsole(EmulatorConsole.java:233)
at com.android.ddmlib.DeviceMonitor.queryAvdName(DeviceMonitor.java:246)
at com.android.ddmlib.DeviceMonitor.updateDevices(DeviceMonitor.java:218)
at com.android.ddmlib.DeviceMonitor.access$400(DeviceMonitor.java:56)
at com.android.ddmlib.DeviceMonitor$DeviceListUpdateListener.deviceListUpdate(DeviceMonitor.java:658)
at com.android.ddmlib.DeviceMonitor$DeviceListMonitorTask.processIncomingDeviceData(DeviceMonitor.java:843)
at com.android.ddmlib.DeviceMonitor$DeviceListMonitorTask.run(DeviceMonitor.java:777)
at java.base/java.lang.Thread.run(Thread.java:844)
<============-> 97% EXECUTING [28m 37s]
<============-> 97% EXECUTING [28m 38s]
<============-> 97% EXECUTING [43m 26s]