distriqt / ANE-CustomResources

Android Custom Resources for AIR Applications
https://airnativeextensions.com
15 stars 4 forks source link

could not resolve com.android.tools.build.gradle:2.2.2 #30

Closed ChacHauLam closed 5 years ago

ChacHauLam commented 5 years ago

Hello,

I'm having problems building via ant. I get the below error.

capture

marchbold commented 5 years ago

Make sure you have installed Android studio and installed the gradle build tools.

ChacHauLam commented 5 years ago

Thanks for your response.

I have the Android Studio version 3.1.4 and Gradle version 4.4 installed.

marchbold commented 5 years ago

Hi, The current example is using an older version of gradle so you will need to install that or update the project files

ChacHauLam commented 5 years ago

Hello,

I installed both gradle versions 2.2.1 and 2.3 (as I couldn't find a download for 2.2.2). I confirmed that the the correct gradle version was being used by "gradle - v".

Then I updated the "build.gradle" file to reflect this. Unfortunately, it comes back with the same error message (but stating the different gradle version).