Skip to content
This repository has been archived by the owner on Sep 5, 2019. It is now read-only.

Object prototype may only be an Object or null #9

Open
pmagnussen opened this issue Oct 12, 2018 · 19 comments
Open

Object prototype may only be an Object or null #9

pmagnussen opened this issue Oct 12, 2018 · 19 comments
Assignees

Comments

@pmagnussen
Copy link

I keep getting this issue when running the demo app:
'Object prototype may only be an Object or null'. It's in the AgoraRtcEngineModule.js file on line 3.

I get the same error on a new react-native project. Any idea what it might be?

@PrasadModi21
Copy link

device-2018-10-24-185151

Getting Error trying to add this classes in my project

@cryptixcoder
Copy link

I am experiencing this same issue, really need to get this implemented...

@PRWrl PRWrl assigned cmder and unassigned CavanSu Nov 5, 2018
@ShrutiGarg019
Copy link

I am also getting same issue . Please provide a solution to this .

@kunalqss
Copy link

Getting the same error running the demo app. Please help.

@rahmamajed
Copy link

same here any help about it ???

@cmder
Copy link
Contributor

cmder commented Nov 19, 2018

try to run npm install in the root directory of the project

@rahmamajed
Copy link

tried it nothing happened
same error

@rahmamajed
Copy link

install

tried it nothing happened
same error

@cmder
Copy link
Contributor

cmder commented Nov 19, 2018

Have u add the Agora SDK to the specific directory and build the android project in Android Studio properly?

@rahmamajed
Copy link

Have u add the Agora SDK to the specific directory and build the android project in Android Studio properly?

yes i take the demo files and i run it and it give me this error.

@cmder
Copy link
Contributor

cmder commented Nov 19, 2018

u mean u run the project in Android Studio ? u may not run it like that, u should run with react-native run-android

@rahmamajed
Copy link

u mean u run the project in Android Studio ? u may not run it like that, u should run with reactive-native run-android

i do it on react native not in the android
i was talking about the demo react project when i run it it give me the same result
also i try to make new project and follow all the steps on the document same error

@Rohan5696
Copy link

is issue resolved or not??

@rahmamajed
Copy link

no still

@sibigit
Copy link

sibigit commented Jan 31, 2019

still the same error any solution?

@plutoless
Copy link
Contributor

For all users who asked the question in this issue thread:
Today i double checked from my side to verify if everything works fine, here's what i do.

  1. clone the repo
  2. do npm install
  3. run react-native run-android

and the program can successfully start w/o this error.
I'm using android studio 3.3 + jdk 1.8

If you are doing above actions but still suffer issues. Please describe your detail step here with screenshots.

@plutoless plutoless assigned plutoless and unassigned cmder Feb 1, 2019
@freddneos
Copy link

Same issue here ...

Android : Object prototype may only be an Object or null
Line : let AgoraRtcEngine = Object.create(NativeModules.AgoraRtcEngineModule);

I follow the instructions and faced it.

@rrscodes
Copy link

Same Issue here as well.

@plutoless
Copy link
Contributor

@roshansingh21 this repository has been deprecated. please use this instead https://github.com/AgoraIO-Community/Agora-RN-Quickstart

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests