Locally test module installs directly from AS

Skip to first unread message

Tomáš Procházka

Apr 25, 2020, 8:19:16 PM4/25/20
to adt-dev
Is there any plan to allows this directly from AS:

Currently in the app is possible to tell AS the I want to install apk from bundle, it calls these tasks:

> Task :app:packageDefaultDebugBundle UP-TO-DATE
> Task :app:makeApkFromBundleForDefaultDebug UP-TO-DATE
> Task :app:extractApksForDefaultDebug UP-TO-DATE

But it probably skips --local-testing flag because the attempt to install anything helps with

2020-04-26 02:15:18.470 14325-14325/cz.atomsoft.android.tvprogram.debug E/SMSTVP(D): Error installing module: 
    com.google.android.play.core.splitinstall.SplitInstallException: Split Install Error(-5): Split Install API is not available. (https://developer.android.com/reference/com/google/android/play/core/splitinstall/model/SplitInstallErrorCode.html#API_NOT_AVAILABLE)
        at com.google.android.play.core.splitinstall.ay.e(Unknown Source:36)
        at com.google.android.play.core.internal.bq.a(Unknown Source:98)
        at com.google.android.play.core.internal.j.onTransact(Unknown Source:21)
        at android.os.Binder.execTransact(Binder.java:739)

I tested it only with AS 4 beta 5.

Reply all
Reply to author
0 new messages