react-native-pip-android icon indicating copy to clipboard operation
react-native-pip-android copied to clipboard

Apk build failed after installing

Open jeoEnfin opened this issue 2 years ago • 1 comments

build failed after installed react-native-pip-android

jeoEnfin avatar Mar 16 '23 09:03 jeoEnfin

go to node_modules/react-native-pip-android/android/build.gradle and do these changes

-    compileSdkVersion safeExtGet('PipAndroid_compileSdkVersion', 29)
-    buildToolsVersion safeExtGet('PipAndroid_buildToolsVersion', '29.0.2')
+    compileSdkVersion safeExtGet('PipAndroid_compileSdkVersion', 33)
+    buildToolsVersion safeExtGet('PipAndroid_buildToolsVersion', '33.0.0')

and

-        minSdkVersion safeExtGet('PipAndroid_minSdkVersion', 16)
-        targetSdkVersion safeExtGet('PipAndroid_targetSdkVersion', 29)
+        minSdkVersion safeExtGet('PipAndroid_minSdkVersion', 26)
+        targetSdkVersion safeExtGet('PipAndroid_targetSdkVersion', 33)

after all changes patch the package, you can refer this tutorial

dexter00786 avatar Jul 07 '23 10:07 dexter00786