Quantcast
Channel: Active questions tagged react-native+android - Stack Overflow
Viewing all articles
Browse latest Browse all 29612

Exporting APK from react-native project

$
0
0

I'm trying to export APK from a react-native project using this command

./gradlew bundleRelease

it fires this error :

Build file '/Users/mohsen/Desktop/fzapp/android/app/build.gradle' line: 154

here's the full logs from my terminal

trooos-MacBook-Pro:android mohsen$ ./gradlew bundleReleaseFAILURE: Build failed with an exception.* Where:Build file '/Users/mohsen/Desktop/fzapp/android/app/build.gradle' line: 154* What went wrong:Could not compile build file '/Users/mohsen/Desktop/fzapp/android/app/build.gradle'.> startup failed:  build file '/Users/mohsen/Desktop/fzapp/android/app/build.gradle': 154: expecting '}', found ',' @ line 154, column 10.             },              ^  1 error* Try:Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.* Get more help at https://help.gradle.orgBUILD FAILED in 5strooos-MacBook-Pro:android mohsen$ 

What went wrong ?

Info about my environment

MAC OS CatalinaReact Native version : ~0.61.5Expo version : ~37.0.3

I used Expo first then ejected to a normal react-native project


Viewing all articles
Browse latest Browse all 29612

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>