java - Error:Android Pre Dex: Android SDK is not specified -
i have downloaded gdx-setup.jar
website , run as:
java -jar gdx-setup.jar
i select options want , generate project idea
(libgdx 1.6.2). when click in generate button, tool doesn't throw me error.
when run idea 14.1.3
go file > open... , select ipr file generated.
when try run desktop launcher, idea
throw me next error:
error:android pre dex: [android] android sdk not specified
i have tried different build tools , api of android (most of them throw me warnings when pressed generate button gdx-setup.jar
). using build tools 20.0.0 , api 20 , configuration gdx-setup.jar
doesn't throw me warnings.
i check local.properties of general project: sdk.dir=/home/xxxx/escritorio/android-sdk-linux-libgdx/
right check file > project structure... > sdk's > android sdk , right: /home/xxxx/escritorio/android-sdk-linux-libgdx
any advice?
thanks.
go in project structure, select platform settings -> sdks (left panel) add android sdk selecting +. in project settings -> module , choose android module, , choose android sdk added.
Comments
Post a Comment