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

Upgrade build tools SDK to 25 #318

Closed
newyankeecodeshop opened this issue May 22, 2018 · 2 comments
Closed

Upgrade build tools SDK to 25 #318

newyankeecodeshop opened this issue May 22, 2018 · 2 comments
Labels

Comments

@newyankeecodeshop
Copy link
Contributor

newyankeecodeshop commented May 22, 2018

Description

We have a React Native project that is using AppCenter SDKs. The build is quite slow, and we would like to upgrade Gradle to 3.3 and the Android plugin to 2.3.0. However, this requires all the dependencies in our project to be on at least build tools 25.
(See https://developer.android.com/studio/releases/gradle-plugin)

Since React Native projects must build the AppCenter projects as part of their build process, the AppCenter tools need to be upgraded.

Alternatively, is it supported to download built artifacts via Maven, the way a non-React Native Android project would?

Repro Steps

Please list the steps used to reproduce your issue.

  1. Edit /android/build.gradle and set the gradle plugin to com.android.tools.build:gradle:2.3.3
  2. Edit gradle-wrapper.properties and change the Gradle version to 3.3.
  3. Rebuild the project.

Gradle reports the following error:

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':app'.
> Could not resolve all dependencies for configuration ':app:_debugApk'.
   > A problem occurred configuring project ':appcenter-crashes'.
      > The SDK Build Tools revision (23.0.1) is too low for project ':appcenter-crashes'. Minimum required is 25.0.0

Details

  1. Which SDK version are you using?
    • 1.1.0
  2. Which OS version did you experience the issue on?
    • N/A
  3. What device version did you see this error on? Were you using an emulator or a physical device?
    • N/A
  4. What third party libraries are you using?
    • react-native-code-push
  5. Run the following command and paste the output below: react-native info
Environment:
  OS: macOS High Sierra 10.13.4
  Node: 8.11.1
  Yarn: 1.5.1
  npm: 5.6.0
  Watchman: 4.9.0
  Xcode: Xcode 9.3.1 Build version 9E501
  Android Studio: 2.3 AI-162.4069837

Packages: (wanted => installed)
  react: 16.0.0 => 16.0.0
  react-native: 0.50.4 => 0.50.4
  1. If you're developing for React Native iOS, run the following command and paste the output below: pod --version

N/A

  1. Please enable verbose logging for your app using [MSAppCenter setLogLevel: MSLogLevelVerbose]; before your call to [AppCenterReactNative register]; (or any other SDK registration). For Android, use AppCenter.setLogLevel(android.util.Log.VERBOSE); before your SoLoader.init call. Include the logs here:

N/A

@thyeggman
Copy link
Contributor

Thanks for the report, we'll look into it. We'll get back to you soon with our plans.

@dhei
Copy link
Member

dhei commented Jun 20, 2018

This should be fixed in v1.6.0.

@dhei dhei closed this as completed Jun 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants