react-native-device-info: Android build error

Summary

Version 2.1.3
Affected OS Android
OS Version ?

Current behavior

Got error when run ./gradlew assembleRelease

image

Expected behavior

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 19

Most upvoted comments

@mikehardy

I have already set compileSdkVersion = 28 in android/build.gradle. I still got the same error.

image

You’re welcome! Hopefully it all eventually worked out for you and I guess if anything this will server as a good indicator of which libraries to use or avoid from a maintenance perspective and we can all limp along jetifying until then. Cheers

No problem - I’m also the jetifier person (https://github.com/mikehardy/jetifier) - written because yes, it can be super frustrating. It is possible though! Unless your libraries have not moved to AndroidX and have one of the problems in the troubleshooting section of jetifier. Good luck