我正在使用Mac OS开发android应用程序,并希望在我的应用程序中使用crosswalk。我遵循了https://crosswalk-project.org/documentation/android/system_setup.html#Android的说明,但似乎crosswalk只支持Windows和Linux。有没有办法在Mac OS中使用它?下面是我在运行crosswalk-app check android
时得到的错误
+ Checking host setup for target android
*** ERROR: Checking for android... null
+ Checking for ant... /Users/tools/apache-ant-1.9.7/bin/ant
+ Checking for java... /usr/bin/java
*** ERROR: Checking for lzma... null
+ Checking for ANDROID_HOME... /Users/Library/Android/sdk/
它在检查android时显示错误。我已经下载了android sdk和android studio,但它仍然无法识别。
发布于 2017-01-21 22:44:44
经过一番搜索,得到了解决方案:我需要在path环境中添加以下路径:$ANDROID_HOME/tools
Crosswalk android正在使用$ android _HOME/tools目录下的android脚本来管理android应用程序项目。
https://stackoverflow.com/questions/41774343
复制相似问题