简体   繁体   English

AndEngine gles2,scala和sbt android插件

[英]AndEngine gles2, scala and the sbt android plugin

I would like to know if someone achieved to work with andengine gles2 and the android sbt plugin. 我想知道是否有人实现了与andengine gles2和android sbt插件一起工作。 I have tried everything but the only solution who works is to put the gles1 jar into lib. 我已经尝试了所有方法,但唯一可行的解​​决方案是将gles1 jar放入lib。 I have even tried with the Android Library Project that were on the wiki but I can't make it works since there is no maven for andengine gles2. 我什至尝试了Wiki上的Android库项目,但由于andengine gles2没有Maven,因此我无法使其工作。

This seems to work: 这似乎可行:

  • Checkout/download andengine. 结帐/下载和引擎。
  • Zip the complete andengine srcs (I called it andengine.apklib ) 压缩完整的andengine srcs(我称它为andengine.apklib
  • Reference andengine in sbt like this (replace the path at the end accordingly) 像这样在sbt中引用和引擎(相应地在末尾替换路径)

    libraryDependencies += "andengine" % "library" % "2.0.0" artifacts(Artifact("library", "apklib", "apklib")) from "file:/abc/def/andengine.apklib" libraryDependencies + =“ andengine”%“库”%“ 2.0.0”工件(Artifact(“ library”,“ apklib”,“ apklib”))来自“文件:/abc/def/andengine.apklib”

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM