android-instant-apps

App install failed - new target sandbox 1 is incompatible with previous value of 2

こ雲淡風輕ζ 提交于 2019-12-11 07:31:55
问题 I'm getting this error when trying to install the installed app on a device with the instant app installed. I've set targetSandboxVersion as 2 for both the instant and installed app but still get this error. What could be the issue? I checked the apk manifests, there's the targetSandboxVersion attribute in the application tag for both the apps but only the instant app apk has the targetSandboxVersion attribute in the manifest tag also. Sharing in case it is helpful. 回答1: Got it working. Had

How to list installed apps from instant app?

无人久伴 提交于 2019-12-11 07:18:35
问题 As per documentation, The instant apps are restricted to discover the list of installed apps on the device, unless the installed apps have made themselves discoverable to instant apps. There is also a way to make our app discoverable to instant apps. But when we use getPackageManager() , the code crashes with the error = Unfortunately, TheAppName instant app has stopped. Nothing is printed in Logcat. Following is printed on the Debug console, 02/10 22:57:27: Launching instantapp Side loading

Connecting to a local IP address with Instant apps

不羁岁月 提交于 2019-12-11 07:06:44
问题 I am writing an instant app that will connect to a device on the local IP network. Instant apps have a limitation that they MUST connect to network over HTTPS per FAQ. This is clearly not possible for devices as we won't have an SSL certificate for the local IP address. To avoid it, is it possible to open a direct TCP socket or IP connection to the local device? We did try to open a direct TCP socket and it failed to connect in Instant app (the same code works fine in an installed app). 回答1:

Android Instant App - Complete the Association does not verified

家住魔仙堡 提交于 2019-12-11 06:11:59
问题 Even if I uploaded the assetlinks.json file to my server, I give this error and can not upload my feature APK to Play Store : Any Idea? 回答1: What's happening is as soon as you change your application module to a feature module with baseFeature true it is treated as a library. That's why you are getting the top 3 errors. Just made the feature module application module again and you will start seeing 4 correct checks instead of 1. As far as I know, the solution to this problem is that you

Published an instant app: can't make it to start, how do I troubleshoot?

北城以北 提交于 2019-12-11 06:05:11
问题 I've just published my first instant app - for now it's a very basic Hello World, but I've linked it to my personal website. I've enabled Android App Links on my site, and I've verified that it correctly works: when the 'normal' apk is installed, if I click on my website's link, it does open the app, without asking if I want to open it in Chrome. But when the apk is not installed, if I click on my website's link, the Instant App doesn't start - instead my website opens in Chrome (or a Chrome

Instant App - Constantly getting error : We could not save your changes. Please try again

守給你的承諾、 提交于 2019-12-10 20:12:47
问题 As per the guidelines provided document i have modularized the existing code. Now i am able to build the signed apk of installed app as well as instant app. My installed app got uploaded to playstore without any issue. But while uploading instant app apk it is giving me below error. We could not save your changes. Please try again. It is constantly giving me this error & error is not explainable to.Have anyone faced this? Screenshot FYI - My app has 3 feature main,base & detail. 回答1: With

Sample instant app requires newer SDK

落花浮王杯 提交于 2019-12-10 16:49:24
问题 I'm keep getting the error at the bottom of the question even though I followed official emulator setup guide and sample project setup guide to the letter. Using: - Android Studio 3.0-Alpha7 - Pixel emulator with SDK 23 Provisioning succeeds and was able to enable instant apps in Settings > Google > Instant Apps Side loading instant app failed: Failure when trying to read bundle. Instant App com.instantappsample requires an SDK version which is newer than the one installed on device. Please

Firebase support library dependency conflict for instant apps

孤街浪徒 提交于 2019-12-10 13:11:12
问题 I'm trying to implement instant apps into a project that uses Firebase database. I'm targeting SDK version 27 , so the support libraries are on version 27.0.2 . Firebase database version is 11.8.0 and gms version is 3.1.0 . When I try to sync, I get the following error: Android dependency 'com.android.support:support-v4' has different version for the compile (25.2.0) and runtime (27.0.2) classpath. You should manually set the same version via DependencyResolution I was able to get around the

android architecture components with instant app

倖福魔咒の 提交于 2019-12-10 11:05:28
问题 I want to make my app ready for instant apps. I have created an app module, base module and a feature module. if I run my project in this configuration everything works great. when i implement the following lines inside my base module Gradle file. annotationProcessor "android.arch.lifecycle:compiler:1.0.0" api "android.arch.lifecycle:extensions:1.0.0" the Gradle build succeeds but I lose my default activity and can't run the project. the default activity is inside my base module manifest. if

Android Instant App - Play Console release/deploy error and DAL(digital Asset Link) not linked

北城余情 提交于 2019-12-10 09:36:02
问题 I'm trying to figure out why the play store will not accept my instant app build. I have successfully deployed an Alpha regular app release to testers since it is a prerequisite to release an instant app. I am trying to deploy a development release instant app. What am I doing wrong? I tried to add as much detail as possible. Do I need to use the Digital Asset Link API service at the following link for a production instant app or is that for something else? https://console.developers.google