Questions tagged [react-android]

102 questions
0
votes
0 answers

passing parameters link does not open

I am passing parameters from one page to another page. I am also passing a link (http://wwww.yahoo.com) to the resulting page along with other parameters. Below is the code of my source page:
Anjali
  • 2,540
  • 7
  • 37
  • 77
0
votes
2 answers

why React native gives the error 'adb' is not recognized as an internal or external command ?

I have tried several options suggested in other related stack overflow questions. I add 'adb' path in the system variable. Create local.properties file and paste my 'sdk' path there. nothing works for me. I am using android emulator and app is…
Sajith
  • 713
  • 6
  • 21
0
votes
2 answers

React Native calculating the distance between two coordinates using GeoLib

I have two issues. One is I can see the Longitude and Latitude of my current location if I start the application using command react native run-android. If I reload the screen, I get a timeout error saying "Location Request timed out" and I don't…
Anjali
  • 2,540
  • 7
  • 37
  • 77
0
votes
1 answer

Type Error in filter function

I am trying to make a autocomplete text box in React Native. I am getting an error in filter function. When the user types the services then the text box should get autocompleted with the full name of the service.The service name is coming from my…
Anjali
  • 2,540
  • 7
  • 37
  • 77
0
votes
1 answer

React Native Android - taps on inputs don't do anything

I'm getting strange behavior on Android where my taps on TextInputs and Buttons are not doing anything. On the TextInputs I see the little text cursor flash for a millisecond. It happens on both a Huawei P8 physical phone and a Samsung Galaxy S6…
BeniaminoBaggins
  • 11,202
  • 41
  • 152
  • 287
0
votes
1 answer

TypeError: expected dynamic type `string', but had type `int64' while getting text from TextInout

Here is my I tried a but not able to resolve this simple one export default class LoginScene extends Component { constructor(props) { super(props); this.state = { userid: '', password: '', }; …
Abhijit Chakra
  • 3,201
  • 37
  • 66
0
votes
1 answer

React Native: How to add two Actions to a button ?

I have a small problem. I want to pass down two Actions to a Button, but I can't seem to figure it out. I am using the react-native-router-flux library. I tried something like this, but It doesn't really work. If anyone could help that would be…
0
votes
0 answers

java.util.zip.ZipException: duplicate entry: org/webrtc/AudioSource.class

I am using webrtc module in my application. In iOS its working fine but when coming to android its showing the following error Here is my build.gradle file: android { compileSdkVersion 23 buildToolsVersion "23.0.1" dexOptions { …
0
votes
1 answer

React native error on init new project on windows

I started working on react native. I started by creating a new project through the steps mentioned in the official documentation - react-native init AwesomeProject I get this error. This will walk you through creating a new React Native project in…
mihirjoshi
  • 12,161
  • 7
  • 47
  • 78
-1
votes
1 answer

Integrating react-native with existing app with buildToolsVersion 24

I'm trying to integrate react-native into an existing Android application, but keep running into the following error: > Could not find com.android.support:appcompat-v7:23.0.1. It seems like react-native needs sdkBuildTools version 23.0.1 and…
-2
votes
2 answers

React Native: Variable state not updated on first click

I am new in react-native and i am working on an app. The below code is a simple react-native app which has a custom component with custom events. But the problem is the variable state is not updated on the first click on the component. But when i…
likith sai
  • 527
  • 1
  • 6
  • 21
-2
votes
3 answers

Could not install the app on the device (react)

I trying to run the react-native run-android through my React Project. After that, I got this error
dina omari
  • 41
  • 2
  • 3
  • 7
1 2 3 4 5 6
7