react-native-mmkv icon indicating copy to clipboard operation
react-native-mmkv copied to clipboard

Build error with compileSdkVersion 31

Open DGonzo001 opened this issue 1 year ago • 2 comments

Hello, my project uses api level 31 with rn version 0.67.4

    ext {
        buildToolsVersion = "31.0.0"
        minSdkVersion = 21
        compileSdkVersion = 31
        targetSdkVersion = 31
        ndkVersion = "22.1.7171670"
    }

I get an error when building

A problem occurred configuring project ':react-native-mmkv'.
> com.android.builder.errors.EvalIssueException: Installed Build Tools revision 31.0.0 is corrupted. Remove and install again using the SDK Manager.

If I understand correctly, now in the rn-mmkv project uses api level 30

Mmkv_compileSdkVersion=30
Mmkv_buildToolsVersion=30.0.2
Mmkv_targetSdkVersion=30
android.useAndroidX=true

Could you help me solve this problem? Please!

DGonzo001 avatar Jul 05 '22 06:07 DGonzo001

com.android.builder.errors.EvalIssueException: Installed Build Tools revision 31.0.0 is corrupted. Remove and install again using the SDK Manager.

Try to uninstall SDK 31 and reinstall from SDK manager

capezzbr avatar Jul 19 '22 19:07 capezzbr

same issue. already have been tried to reinstall but not working

bryce0516 avatar Aug 16 '22 00:08 bryce0516

using sdk31 but not working. anybody same iussue?

OHHAKO avatar Apr 12 '23 04:04 OHHAKO

Hey! Sorry I cannot reproduce the issue here and it has been inactive for a while. I am going over issues right now and want to keep the repo clean - so I'm closing this for now, if anyone can post a reproduceable example here I can re-open and take a look :)

mrousavy avatar Jul 17 '23 11:07 mrousavy