是否有可能使用人行横道,科尔多瓦的Andr​​oid工作室里面? [英] Is it possible to use crosswalk-cordova inside of Android Studio?

查看:129
本文介绍了是否有可能使用人行横道,科尔多瓦的Andr​​oid工作室里面?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有可能构建Android工作室内部的人行横道,科尔多瓦应用程序吗?

Is it possible to build a crosswalk-cordova app inside of android studio?

看起来你需要使用ANT在这一点上。

It looks like you need to use ANT at this point.

有谁知道这是不是在路线图上,现在机器人工作室完成测试?

Does anyone know if this is on the roadmap now that android studio is out of beta?

我们的团队刚刚建立一个Android应用程序的磨损,所以我们需要使用Android工作室创建构建,我们希望开始使用人行横道。

Our team just built an android wear app so we need to use android studio to create a build and we'd like to start using crosswalk.

推荐答案

我能得到这个工作。你需要重新安排项目结构了一下,使用模块我创建了一个CordovaLib模块和xwalk_core_library模块两个机器人库,我引用CordovaLib从我的主要项目,并设置xwalk_core_library作为一个可靠性的cordovalib。

I was able to get this working. You need to re-arrange the project structure a bit and use "modules" I created a CordovaLib module and a xwalk_core_library module both "Android Libraries" and i referenced CordovaLib from my main project and set xwalk_core_library as a dependability for cordovalib.

请确保创建在软件包名称org.xwalk.core的xwalk_core_library。

Make sure to create the xwalk_core_library under the package name org.xwalk.core.

请参阅截屏项目stucture和xwalk_core_library摇篮文件。

See screen shot for project stucture and the xwalk_core_library gradle file.

把.so文件到jniLibs目录和Android版本正确打包到您的应用程序。

Put the .so files into a jniLibs directory and the android build correctly packages them into your app.

我跟着这篇文章,以帮助建筑。我打算设立单独建立用于x86和ARM。 http://ph0b.com/android-studio-gradle-and- NDK集成/#mygradlefile

I followed this article to help with building. I plan on setting up seperate builds for x86 and arm. http://ph0b.com/android-studio-gradle-and-ndk-integration/#mygradlefile

我有这方面的工作在这个github上项目。让我知道如果你遇到的任何问题。 https://github.com/twilly86/CrossWalkAndroidStudio

I have this working in this github project. Let me know if you run into any issues. https://github.com/twilly86/CrossWalkAndroidStudio

这篇关于是否有可能使用人行横道,科尔多瓦的Andr​​oid工作室里面?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆