rnc-archive / react-native-webgl

DEPRECATED: use expo-gl – Implements WebGL for react-native
295 stars 73 forks source link

[RN 0.56] API level upgraded to 26 in RN, clean install errors #72

Closed Stan64 closed 4 years ago

Stan64 commented 6 years ago

React Native started honouring the guidelines from Android and raised the API Level to 26 just in time to be compliant. That means that all libraries will throw different errors because the mismatch of the tools used to build the project. There is an easy fix for most libraries that you can do in your project. But it's better for each library to upgrade their own settings so it's on par with React Native and test their functions.

Workaround:

subprojects { 
     afterEvaluate { 
         project -> if (project.hasProperty("android")) { 
             android { 
                 compileSdkVersion 26 
                buildToolsVersion '26.0.3' 
             } 
         } 
     } 
 }