@lyinch wrote:
Hey, I wanted to compile the project I'm working on fir Android Studio on OSX:
cocos compile -s ~/Desktop/... -p android --android-studio
I get the following error:
FAILURE: Build failed with an exception. * What went wrong: A problem occurred configuring project ':libcocos2dx'. > failed to find target with hash string 'android-22' in: /Users/.../Library/Android/sdk
I have version
android-23
instead ofandroid-22
. I tried to change the version inproj.android-studio/app/build.gradle
but it didn't work. Where does the build script reads in the SDK version so that I can change it to the new one?Thank you!
Posts: 1
Participants: 1