简体   繁体   English

如何在不使用Android Studio的情况下为Google Play开发控制台创建即时应用?

[英]How to create an instant app for Google Play Developement console, without using Android Studio?

I want to create an instant app apk for testing the integration of the billing API in the product, through Google Play. 我想创建一个即时应用APK,以通过Google Play测试产品中计费API的集成。

I have not used Android Studio for creating the product. 我尚未使用Android Studio创建产品。 So, in this case, can I build an instant app apk without using Android Studio. 因此,在这种情况下,我可以在不使用Android Studio的情况下构建即时应用apk吗? And, can I debug this apk without Android Studio? 而且,我可以在没有Android Studio的情况下调试该APK吗? By which way? 用什么方式

If it is not possible to generate and test an instant app apk without using Android Studio, how do you do with it? 如果不使用Android Studio无法生成和测试即时应用apk,您将如何处理?

My development configuration: 我的开发配置:

  • Product made in JavaFX 8, with JavaFXports,Gluon with Eclipse 用JavaFX 8制成的产品,带有JavaFXports,带有Eclipse的胶粘剂
  • Billing API for Google Play: Google Play结算API:

     gluonhq.charm.down.plugins.InAppBillingService gluonhq.charm.down.plugins.inappbilling.Product 

Note1: 注意1:
The following article shows how to create this instant file, with Android Studio https://codelabs.developers.google.com/codelabs/android-instant-apps/index.html#3 以下文章显示了如何使用Android Studio https://codelabs.developers.google.com/codelabs/android-instant-apps/index.html#3创建此即时文件

Note2: 笔记2:
About the tests "can I debug this apk without Android Studio? By which way? ", it seems that I understand how to do. 关于测试“我可以在没有Android Studio的情况下调试此apk吗?通过哪种方式?”,看来我知道该怎么做。
In Google console, I add a secondary account that is my tester account. 在Google控制台中,我添加了一个辅助帐户,即我的测试者帐户。 It is defined with another email address. 它是用另一个电子邮件地址定义的。
Then, after creating the instant app (TBD), I publish it, the Google Play Development server warns my secondary account about that. 然后,在创建即时应用程序(TBD)之后,我将其发布,Google Play开发服务器会向我的辅助帐户发出警告。 Note that this app contains some System.out.println for debugging the billing code. 请注意,此应用程序包含一些System.out.println以调试账单代码。
Then, on the tester side,I download the app from the server and I can now test it. 然后,在测试人员那边,我从服务器下载了该应用程序,现在可以对其进行测试了。 By this way, it is now possible to finalize the debug of my product, especially about the billing, by catching the traces provided by my phone that had installed the app. 通过这种方式,现在可以通过捕获安装了该应用程序的手机提供的跟踪信息来完成我产品的调试,尤其是有关账单的调试。

you should be able to build it with the Gluon Plugin for Eclipse . 您应该能够使用Gluon Plugin for Eclipse来构建它。 and there also is the Buildship Plugin ; 还有Buildship插件 ; which even even seems to used - guess you'd merely need to provide the InstantApps SDK, with the SDK Manager and then configure the splits accordingly - and build with Buildship. 甚至似乎都用过-猜猜您只需要提供带有SDK Manager的InstantApps SDK,然后相应地配置拆分-并使用Buildship构建即可。 so far the gluon-samples don't feature an InstantApps example yet (because it is mere the question, if Gluon would also support this); 到目前为止, gluon-samples还没有一个InstantApps示例(因为仅仅是问题,Gluon是否也支持)。 maybe consider, if you even do require these splits, while probably not even having a prototype available (which means, there currently is nothing to split). 也许考虑一下,如果您甚至确实需要这些拆分,而可能甚至没有可用的原型(这意味着当前没有任何拆分)。

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

相关问题 在没有Android Studio的情况下在Google Play控制台上部署移动应用 - deploying the mobile app on Google play console without Android studio Google Play 控制台上缺少 Android 即时应用统计信息 - Missing Android Instant App Statistics on Google Play Console 如何在新的 Google Play Console 中管理 Instant App? - How to manage Instant App in new Google Play Console? 如何在 Google Play 上制作没有“立即尝试”按钮的 Android Instant App? - How to make Android Instant App without “try now” button on google play? 如何在 Google Play 商店或网络上找到 Android 免安装应用? - How to find an android instant app in google play store or on web? 如何在Android Studio中使用NFC实施Google即搜即得应用 - how to implement google instant app with NFC in android studio 将即时应用程序上传到Google Play控制台失败,并显示通用消息 - Uploading instant app to Google Play Console fails with generic message 在 Google Play 控制台上发布 Instant App 时遇到问题 - Facing issue while publishing Instant App on Google Play Console 可以在Google Play控制台中禁用Android Instant Apps吗? - Android Instant Apps can be disabled in the Google Play Console? Android Studio 3 Canary:无法创建即时应用 - Android Studio 3 Canary: Not possible to create Instant App
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM