Last active
July 15, 2022 16:07
-
-
Save codigoinerte/25d3453a04b1cfe27aad90acfcd28efe to your computer and use it in GitHub Desktop.
Final compile react-native-bluetooth-escpos-printer
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| 1.- Add this lines to final android/build.gradle | |
| 2.- 'compileSdkVersion, buildToolsVersion and targetSdkVersion' should have same version to 'buildscript' in the same file | |
| */ | |
| subprojects { | |
| project.configurations.all { | |
| resolutionStrategy.eachDependency { details -> | |
| if (details.requested.group == 'com.android.support' | |
| && !details.requested.name.contains('multidex') ) { | |
| details.useVersion "27.1.1" | |
| } | |
| } | |
| } | |
| afterEvaluate { | |
| if(it.hasProperty('android')){ | |
| android { | |
| compileSdkVersion 27 | |
| buildToolsVersion "27.0.3" | |
| defaultConfig { | |
| targetSdkVersion 27 | |
| } | |
| } | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment