ghondar / react-native-torrent-streamer

Torrent Streamer for react-native
56 stars 17 forks source link

FAILURE: Build failed with an exception. #2

Closed ilyasfut closed 7 years ago

ilyasfut commented 7 years ago

React Native Version 0.39 compileSdkVersion 23 buildToolsVersion 23.0.1

That's what I get when I execute: react-native run-android

* What went wrong:
Execution failed for task :app:prepareMoviesAppReactNativeTorrentStreamerUnspecifiedLibrary.
Could not expand ZIP D:\React Native\MyApp\node_modules\react-native-torrent-streamer\android\torrent\b
uild\outputs\aar\react-native-torrent-streamer-release.aar.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 30.202 secs
Could not install the app on the device, read the error above for details.
Make sure you have an Android emulator running or a device connected and have
set up your Android development environment:
https://facebook.github.io/react-native/docs/android-setup.html

(node:8628) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): TypeError: Cannot
 read property 'message' of undefined
ghondar commented 7 years ago

sorry, I just tried on MacOS and Ubuntu

ilyasfut commented 7 years ago

I used my phone, and the problem disappeared. So the problem had something to do with the AVD.

ghondar commented 7 years ago

did you try use genymotion?

ilyasfut commented 7 years ago

Not yet, but I think I'll stick with the phone for the moment. Thank you