Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"cannot call a class as a function" when install via APK ./gradlew assembleDebug #16642

Closed
eggybot opened this issue Nov 2, 2017 · 1 comment
Labels
Resolution: Locked This issue was locked by the bot.

Comments

@eggybot
Copy link

eggybot commented Nov 2, 2017

Is this a bug report?

Not sure,

Have you read the Contributing Guidelines?

yes, I already read it.

Environment


Environment:
  OS:  macOS High Sierra 10.13
  Node:  7.9.0
  Yarn:  0.23.3
  npm:  4.2.0
  Watchman:  4.9.0
  Xcode:  Xcode 9.0 Build version 9A235
  Android Studio:  2.3 AI-162.4069837

Packages: (wanted => installed)
  react: 16.0.0-beta.5 => 16.0.0-beta.5
  react-native: 0.49.3 => 0.49.3

  Target Platform: iOS (10.3)

Steps to Reproduce

No steps, needed.

Expected Behavior

when I run this code

react-native bundle --dev false --platform android --entry-file index.js --bundle-output ./android/app/build/intermediates/assets/debug/index.android.bundle --assets-dest ./android/app/src/main/res/ --assets-dest ./android/app/build/intermediates/res/merged/debug
....
cd android/
./gradlew assembleDebug

I should expect a working APK file which I can install on other devices that will run same when I do run this command react-native run-android

Actual Behavior

screenshot_20171102-111748
I got this error when I tried to install it on other devices using the APK, if I connect it with my laptop and it has debugging host, it works fine. Yesterday this process works fine but now this errors keep showing. On my other projects this process seems to be working fine when installing it via generated APK files.

thanks,

@eggybot
Copy link
Author

eggybot commented Nov 2, 2017

closing this, I found the issue, it from react-native-fetch-blob

@eggybot eggybot closed this as completed Nov 2, 2017
@facebook facebook locked as resolved and limited conversation to collaborators Nov 2, 2018
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Nov 2, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

2 participants