Quantcast
Channel: Cocos Forums - Latest topics
Viewing all articles
Browse latest Browse all 17075

Compiling Android Studio on Mac uses wrong SDK Version

$
0
0

@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 of android-22. I tried to change the version in proj.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

Read full topic


Viewing all articles
Browse latest Browse all 17075

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>