Cannot cast to ViewGroupManager on Android


#1

Hi,

I’m having some issues with getting my app working. It works perfectly fine in iOS,
but cannot on Android:

Here is package.json

{
  "main": "node_modules/expo/AppEntry.js",
  "private": true,
  "scripts": {
    "test": "node ./node_modules/jest/bin/jest.js --watchAll",
    "postinstall": "rndebugger-open"
  },
  "jest": {
    "preset": "jest-expo"
  },
  "dependencies": {
    "@expo/samples": "2.1.1",
    "axios": "^0.18.0",
    "expo": "^30.0.1",
    "react": "16.3.1",
    "react-native": "https://github.com/expo/react-native/archive/sdk-30.0.0.tar.gz",
    "react-native-elements": "^0.19.1",
    "react-native-modal": "^6.5.0",
    "react-native-ratings": "^5.3.0",
    "react-native-render-html": "^3.10.0",
    "react-native-snap-carousel": "^3.7.2",
    "react-native-ui-kitten": "^3.0.1",
    "react-navigation": "^2.9.3",
    "react-navigation-fluid-transitions": "^0.2.6",
    "react-navigation-header-buttons": "^1.2.1",
    "react-navigation-material-bottom-tabs": "^0.3.0",
    "react-redux": "^5.0.7",
    "redux": "^4.0.0",
    "redux-axios-middleware": "^4.0.0",
    "redux-devtools-extension": "^2.13.5",
    "redux-logger": "^3.0.6",
    "whatwg-fetch": "2.0.4"
  },
  "devDependencies": {
    "babel-eslint": "^8.2.6",
    "eslint": "^5.4.0",
    "eslint-config-airbnb": "^17.1.0",
    "eslint-plugin-import": "^2.14.0",
    "eslint-plugin-jsx-a11y": "^6.1.1",
    "eslint-plugin-react": "^7.11.1",
    "jest-expo": "30.0.0",
    "react-native-debugger-open": "^0.3.17",
    "redux-devtools": "^3.4.1",
    "remote-redux-devtools": "^0.5.12"
  }
}

abi29_0_0.com.facebook.react.views.progressbar.ReactProgressBarViewManager cannot be cast to abi29_0_0.com.facebook.react.uimanager.ViewGroupManager
manageChildren
NativeViewHierarchyManager.java:276
execute
UIViewOperationQueue.java:179
run
UIViewOperationQueue.java:821
flushPendingBatches
UIViewOperationQueue.java:928
access$2100
UIViewOperationQueue.java:46
doFrameGuarded
UIViewOperationQueue.java:988
doFrame
GuardedFrameCallback.java:29
doFrame
ReactChoreographer.java:134
doFrame
ChoreographerCompat.java:105
run
Choreographer.java:909
doCallbacks
Choreographer.java:723
doFrame
Choreographer.java:655
run
Choreographer.java:897
handleCallback
Handler.java:790
dispatchMessage
Handler.java:99
loop
Looper.java:164
main
ActivityThread.java:6494
invoke
Method.java
run
RuntimeInit.java:438
main
ZygoteInit.java:807


#2

Hi @cozo - could you provide a snack that reproduces this problem? It’s hard to figure out what’s going on without any code. Thanks :slight_smile:


#3

Dear @esamelson,
Thank for your support,
I try to import my expo project to snack https://snack.expo.io/@cozo/snackidea.
When run on Android, it show other issues, not abi30…

Please help :smile:


#4

Ops I just found solution, because i using ActivityIndicator can’t use in Android


closed #5

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.