react-native-code-push icon indicating copy to clipboard operation
react-native-code-push copied to clipboard

error: cannot find symbol 'isLiveReloadEnabled = devInternalSettings' after upgrading RN to v0.63.3

Open vorousjames opened this issue 6 years ago • 2 comments

Steps to Reproduce

  1. I upgraded my project manually following the rn upgrade helper from 0.61.5 to 0.63.3
  2. pulled from my private repo, which has a gitignore that was created based on this
  3. I had react-native-code-push integrated already
  4. followed some additional code push for added build variants. the visual studio epicenter guide I followed is here.

Expected Behavior

I expected my app to have no issues building, running

Actual Behavior

android sync successful. clean successful. build/compilation failure.

Task :react-native-code-push:compileDebugJavaWithJavac FAILED /Users/Desktop/Development/App/node_modules/react-native-code-push/android/app/src/main/java/com/microsoft/codepush/react/CodePush.java:157: error: cannot find symbol isLiveReloadEnabled = devInternalSettings.isReloadOnJSChangeEnabled(); ^ symbol: method isReloadOnJSChangeEnabled() location: variable devInternalSettings of type DevInternalSettings /Users/Desktop/Development/App/node_modules/react-native-code-push/android/app/src/main/java/com/microsoft/codepush/react/CodePushNativeModule.java:175: warning: [unchecked] unchecked cast List mAttachedRootViews = (List)mAttachedRootViewsField.get(instanceManager); ^ required: List found: Object 1 error 1 warning

Environment

  • react-native-code-push version: ^6.0.0
  • react-native version: 0.63.3
  • iOS/Android/Windows version: compiledSDKVersion: 29
  • Does this reproduce on a debug build or release build? whatever variant compiles after hitting run in android studio
  • Does this reproduce on a simulator, or only on a physical device? simulator

vorousjames avatar Nov 10 '20 01:11 vorousjames

This issue has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs within 15 days of this comment.

ghost avatar Dec 13 '21 13:12 ghost

This issue will now be closed because it hasn't had any activity for 15 days after stale. Please feel free to open a new issue if you still have a question/issue or suggestion.

ghost avatar Dec 28 '21 18:12 ghost