HarishJangra / react-native-easy-starter

A react-native starter kit using RN0.63, Flipper support, LogBox, AndroidX, Hooks workflow, easy-peasy, code-push, Themes support and much more
MIT License
258 stars 92 forks source link

not able to see console.log or console.warn if I use react-native run-android #6

Closed rahu431 closed 5 years ago

rahu431 commented 5 years ago

am not able to see console results if I use

react-native run-android

did you disabled it any where?

after update app name like "test" showing error on

yarn run android:dev

Result:

BUILD SUCCESSFUL in 19s
179 actionable tasks: 5 executed, 174 up-to-date
info Running C:\Users\rahu4\AppData\Local\Android\Sdk/platform-tools/adb -s emulator-5554 reverse tcp:8081 tcp:8081
info Starting the app on emulator-5554 (C:\Users\rahu4\AppData\Local\Android\Sdk/platform-tools/adb -s emulator-5554 shell am start -n com.test.debug/com.test.MainActivity)...
Starting: Intent { cmp=com.test.debug/com.test.MainActivity }
Error type 3
Error: Activity class {com.test.debug/com.test.MainActivity} does not exist.
HarishJangra commented 5 years ago

Please check the package name on android/ and the location of mainactivity accordingly

rahu431 commented 5 years ago

I have the mainactivity in this path: Test\android\app\src\main\java\com\test\MainActivity.java. All files package name seems to be changed in android folder and let me know anything I have to change in config to see console.log("testing console log") and console.warn("testing console warn").