How to print console log in reactnative Android?
<p>I am using below code to print console log in react native, but i am getting error cannot find variable v:</p>

<pre><code>import React, 
{
AppRegistry,
Component,
StyleSheet,
Text,
View,

} from 'react-native';
var ConsolePanel = require('react-native-console-panel').displayWhenDev();


class RanD extends Component {
render() {
return (
    &lt;View style={styles.container}&gt;

          &lt;Text&gt;
          Hit me!
          &lt;/Text&gt;

          &lt;View&gt;
          {ConsolePanel}
          &lt;/View&gt;
    &lt;/View&gt;
  );
  }
 }
</code></pre>

<p>how to resolve this error??</p>