您可以启动一个Android应用程序通过Android的工作室的ARC应用程序? [英] Can you launch an android app as an ARC app through Android studio?

查看:201
本文介绍了您可以启动一个Android应用程序通过Android的工作室的ARC应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道是否有启动和/或建立在Android Studio中ARC应用程序,而无需手动使用弧焊机每次的一种方式。

I would like to know if there is a way to launch and/or build an ARC app from Android Studio without having to manually use ARC welder every time.

它可以是pretty繁琐的开发过程中手动做到这一点,尤其是在释放时,你必须做同样的操作〜同一应用程序的15种不同的口味。有没有以任何作品可以解决这个问题就像一个扩展的gradle或东西。

It can be pretty cumbersome to do this manually during development, and especially during a release when you have to do the same operation to ~15 different flavors of the same app. Is there anything in to works that solves this issue like a gradle extension or something.

推荐答案

由于写这篇文章的时候,没有正式的自动化ARC建筑解决方案已被提出。这是电弧焊机或萧条。

As of the time of this writing, no official automated ARC building solution has been offered. It's ARC Welder or bust.

话虽这么说,因为Chrome扩展(CRX)有一个开放的标准,而且由于CRX的内容(如ZIP文件),很容易检查,逆向工程什么弧焊机做,创造一个摇篮插件或事情就不会那么困难与痒挠人。

That being said, since the Chrome extension (CRX) has an open specification, and since the contents of the CRX (as a ZIP file) are easy to examine, reverse-engineering what ARC Welder does and creating a Gradle plugin or something would not be that difficult for somebody with the itch to scratch.

当我检查它,明显的变位是在的icon.png (你启动的图标96x96像素版),将APK本身供应商/铬/ CRX / 的manifest.json 文件中的 arc_metadata 部分。后者是你的电弧焊机的设置去,喜欢的外形和方向。

When I examined it, the obvious variable bits were the icon.png (96x96 px edition of your launcher icon), the APK itself in vendor/chromium/crx/, and the arc_metadata portion of the manifest.json file. The latter is where your ARC Welder settings go, like the form factor and orientation.

当然,任何自制的解决方案将需要跟踪变化弧焊机,以确保它一直产生有效的ARC文件。

Of course, any homebrew solution would need to track changes to ARC Welder to ensure that it kept producing valid ARC files.

这篇关于您可以启动一个Android应用程序通过Android的工作室的ARC应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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