<!-- PLEASE DON'T DELETE THIS TEMPLATE UNTIL YOU HAVE READ THE FIRST SECTION. --> ### Is this a bug report? Yes <!-- If you answered "Yes": We expect that it will take you about 30 minutes to produce a high-quality bug report. While this may seem like a lot, putting care into issues helps us fix them faster. For bug reports, it is REQUIRED to fill the rest of this template, or the issue will be closed. If you answered "No": We use GitHub Issues exclusively for tracking bugs in React Native. If you're looking for help, the Community page at http://facebook.github.io/react-native/help.html list various resources that should help you get started. Now scroll below! --> ### Have you read the [Contributing Guidelines](https://facebook.github.io/react-native/docs/contributing.html)? Yes ### Environment <!-- In your terminal run `react-native info` and paste its contents here. Next, specify your target platform, like this: Environment: OS: Windows 10 Node: 8.7.0 Yarn: 0.27.5 npm: 5.4.2 Watchman: Not Found Xcode: N/A Android Studio: Version 3.0.0.0 AI-171.4408382 Packages: (wanted => installed) react: 16.2.0 => 16.2.0 react-native: 0.52.0 => 0.52.0 --> I want generate APK after this cd android && ./gradlew assembleRelease I get error Error: Could not find or load main class org.gradle.wrapper.GradleWrapperMain