[SOLVED] Gradle Sync Error

Even though it was OK before, when I opened a project created with cocos 2d - x v 3.16 in Android Studio 3.1.2, it became “Gradle project sync failed”. How can I fix this error?

Android Studio doesn’t show proper error messages.

Open within Android Studio the terminal and execute ./gradew build (macOS/Linux) or gradlew build (Windows). Then you get a more detailed error message.

1 Like

thsnk you for your advice.
i tryed “gradlew build” on consle, then an error occured as follows;

ABIs [armeabi] are not supported for platform. Supported ABIs are [armeabi-v7a, x86].

which file should I rewrite ?

I found “PROP_APP_ABI=armeabi” in gradle.properties, and replaced to “armeabi-v7a”, then no errors occured.
thanks !

1 Like