undefined is not an object (evaluating '_react.PropTypes.shape')
See original GitHub issueAll I get is a red screen ith the following error I ran the following command :
$ANDROID_HOME/emulator/emulator -avd Nexus_5X_API_27_x86
react-native run-android --variant=i13047Debug
Environment
Environment: OS: macOS High Sierra 10.13.3 Node: 9.4.0 Yarn: Not Found npm: 5.6.0 Watchman: 4.9.0 Xcode: Xcode 9.2 Build version 9C40b Android Studio: 3.0 AI-171.4443003
Packages: (wanted => installed) react: 16.0.0 => 16.0.0 react-native: 0.52.2 => 0.52.2 prop-types: “15.6.1”,
Expected Behavior
Have a look at my app, running as before
Actual Behavior
… Starting: Intent { cmp=io.h6s.m2s/.MainActivity } Error type 3 Error: Activity class {io.h6s.m2s/io.h6s.m2s.MainActivity} does not exist. BUILD SUCCESSFUL in 39s 180 actionable tasks: 8 executed, 172 up-to-date Running /Users//Library/Android/sdk/platform-tools/adb -s emulator-5554 reverse tcp:8081 tcp:8081 Starting the app on emulator-5554 (/Users/hexasolutions/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell am start -n io.h6s.m2s/io.h6s.m2s.MainActivity)… Starting: Intent { cmp=io.h6s.m2s/.MainActivity } Error type 3 Error: Activity class {io.h6s.m2s/io.h6s.m2s.MainActivity} does not exist.
Process finished with exit code 0
The Activity Class error seems normal as I use flavor in gradle
I have just no idea where to start looking as I have reason to think this has nothing to do with PropsTypes Thank you for help
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (2 by maintainers)
It looks like this issue is missing some necessary information. Take a look at the comments I’ve left before, or look at the list of purple labels, to learn more about what’s missing. I’m going to close this issue as it has been over a week since I provided feedback on the issue, but I don’t see any updates.
If someone else runs into this problem, feel free to open a new issue with all the necessary details.
@GuillotJessica Try connect debugger, and see the stack.