question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to invoke function only in Android

See original GitHub issue

screenshot_20170926-172509

This is how my dependencies looks like.

dependencies { // From node_modules compile ‘com.android.support:appcompat-v7:23.2.1’ compile project(‘:react-native-billing’) compile project(‘:react-native-spinkit’) compile project(‘:react-native-vector-icons’) compile project(‘:react-native-linear-gradient’) compile project(‘:react-native-calendar-events’) compile fileTree(dir: “libs”, include: [“*.jar”]) compile ‘com.facebook.react:react-native:+’ compile(project(‘:react-native-firebase’)) { transitive = false } compile “com.google.android.gms:play-services-base:11.2.2” compile ‘com.google.firebase:firebase-core:11.2.2’ compile ‘com.google.firebase:firebase-messaging:11.2.2’ compile ‘com.google.firebase:firebase-auth:11.2.2’ compile ‘com.google.firebase:firebase-database:11.2.2’ compile ‘com.google.firebase:firebase-crash:11.2.2’ compile project(‘:react-native-api-ai’) }

Also, I have apply plugin: 'com.google.gms.google-services' at the end of my app.gradle.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:14 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
thevishnupradeepcommented, Sep 28, 2017

Hi, I just did that and the same error happened.

0reactions
spoeckcommented, Oct 2, 2017

I just was trying to reproduce your issue and didn’t get any error while invoking requestQuery. It might be related to your android configuration. But anyway, thank you for your research and solving this problem!

For following issue:

However, there is another issue right now. In iOS, the result is an object but in Android the result is returned as a JSON string

I open a separate one #13

Read more comments on GitHub >

github_iconTop Results From Across the Web

Kotlin: Expression can't be invoked because function invoke ...
I'm trying to build an app where I implement Google maps. for some reason I get the error that the expression can't be...
Read more >
Change app permissions on your Android phone
On your phone, open the Settings app. · Tap Apps. · Tap the app you want to change. If you can't find it,...
Read more >
Troubleshoot invocation issues in Lambda
If you connect your function to a VPC after creation, you can invoke it while the update is pending, but you can't modify...
Read more >
Troubleshoot known issues with Android Emulator
This page lists known issues, workarounds, and troubleshooting tips for the Android Emulator. If you encounter an issue not listed here or ...
Read more >
Permissions updates in Android 11 - Android Developers
Starting in Android 11, whenever your app requests a permission related to location, microphone, or camera, the user-facing permissions dialog contains an ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found