You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Scanning 551 folders for symlinks in E:\gz\App\node_modules (19ms)
Starting JS server...
Building and installing the app on the device (cd android && gradlew.bat installDebug)...
java.lang.NullPointerException
at org.gradle.api.internal.classpath.DefaultModuleRegistry.getExternalModule(DefaultModuleRegistry.java:69)
at org.gradle.api.internal.DefaultClassPathProvider.findClassPath(DefaultClassPathProvider.java:46)
at org.gradle.api.internal.DefaultClassPathRegistry.getClassPath(DefaultClassPathRegistry.java:34)
at org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBootstrap.java:47)
at org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:36)
at org.gradle.launcher.GradleMain.main(GradleMain.java:23)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.gradle.wrapper.BootstrapMainStarter.start(BootstrapMainStarter.java:30)
at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:127)
at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)
Could not install the app on the device, read the error above for details.
Make sure you have an Android emulator running or a device connected and have
set up your Android development environment:
This question has plagued me for a whole day, even if I make a new project
Xiao-HuangShu
changed the title
Could not install the app on the device, read the error above for details.
Reacr-native Could not install the app on the device, read the error above for details.
Jun 14, 2017
Xiao-HuangShu
changed the title
Reacr-native Could not install the app on the device, read the error above for details.
Reacr-native :Could not install the app on the device, read the error above for details.
Jun 14, 2017
Xiao-HuangShu
changed the title
Reacr-native :Could not install the app on the device, read the error above for details.
Windows---Reacr-native :Could not install the app on the device, read the error above for details.
Jun 14, 2017
It looks like your description is missing some necessary information. Can you please add all the details specified in the template? This is necessary for people to be able to understand and reproduce the issue being reported.
I am going to close this, but feel free to open a new issue with the additional information provided. Thanks!
List of devices attached
30af2fe7 device
Scanning 551 folders for symlinks in E:\gz\App\node_modules (19ms)
Starting JS server...
Building and installing the app on the device (cd android && gradlew.bat installDebug)...
java.lang.NullPointerException
Could not install the app on the device, read the error above for details.
Make sure you have an Android emulator running or a device connected and have
set up your Android development environment:
https://facebook.github.io/react-native/docs/android-setup.html
The text was updated successfully, but these errors were encountered: