Questions tagged [android-instant-apps]

Android Instant Apps are special kind of native mobile apps that can be run instantly on Android device, without prior installation, just by clicking on a web link - or the Try Now button in the Play Store. Use this tag for questions about Android Instant Apps development, debugging and deployment. Consider adding [android] tag as well.

Android Instant Apps were presented during Google I/O 2016 as a way of launching native Android applications without requiring a user to install them. Instant Apps are launched by simply clicking on a web link.

Resources

Android Instant Apps introduction

Frequently Asked Questions

Preparing your app

Code samples

540 questions
148
votes
8 answers

Could not find method kapt() for arguments

I'm facing a problem for over 3 days now and I can't solve. since I started to use Kotlin for Android,I stopped using "annotationProcessor" and started using "kapt", all things were working great with kapt until I started to build an Android Instant…
88
votes
7 answers

AAPT2 compile failed: invalid dimen on Android 3.0 Canary 1

I am playing around with Instant Apps for Android.I installed all the correct packages and tired to create new Application with Instant App support (checked the box for Instant App when crating new application). The problem is that I always run into…
54
votes
9 answers

A dependent feature was defined but no package ID was set. You are probably missing a feature dependency in the base feature

I am following one of the Google Codelabs for making an Instant App. And I was trying to create topeka-ui (A UI feature module for Instant Apps). When I try to run one of the instant app module it says : A dependent feature was defined but no…
erluxman
  • 18,155
  • 20
  • 92
  • 126
25
votes
5 answers

Android Instant App: How to create URL addressable modules?

Google updated their documentation about instant apps recently: Prepare your app Most of the points are clear except 3. Refactor your app, if necessary. They suggest for retail modules like browse, search, item detail, and check out. Question: How…
23
votes
3 answers

How to access and pass parameters to the modules of an Android Instant App

With normal installed apps it's possible to use the technique of Deep Linking in order to not only open a specific application from an URL but also to redirect it to a specific section/function such as a specific Facebook post or specific…
user8037871
22
votes
3 answers

Error: style attribute '@android:attr/windowExitAnimation' not found

I recently upgraded to the gradle-3.0.0-alpha8 after which some styles are not resolved at compile time. Develop envirment: IDE: Android studio 3.0 Bate3 Gradle build tools : 'com.android.tools.build:gradle:3.0.0-beta3' Gradle…
Yu Zhang
  • 1,202
  • 1
  • 11
  • 16
22
votes
2 answers

Building an Android Instant App with Application Component from Dagger

I'm currently experimenting with InstantApps and would like to include dagger into my project. I'm facing an issue setting up an application AppComponent. My application component includes all the feature dagger modules of my app. I basically…
Quentin Colle
  • 246
  • 2
  • 8
20
votes
5 answers

Strange gradle error Expected configuration (...) to contain exactly one file, however, it contains no files

I'm trying to develop simple instant app. I've done all modules and configurations, but when I'm trying to run instant up, gradle console show's me below error: FAILURE: Build failed with an exception. * What went wrong: Execution failed for task…
Skye
  • 1,469
  • 3
  • 14
  • 25
19
votes
3 answers

How do I integrate Crashlytics with Android Instant Apps?

Does Crashlytics work with Google Play Instant and if so, how do you setup your project correctly?
AdamK
  • 21,199
  • 5
  • 42
  • 58
18
votes
4 answers

Instant App - Digital Asset Links Protocol

Whenever I tried to upload my instant app apks to Play store, it gives the following error : Your site 'www.mywebsitename.com' has not been linked through the Digital Assets Link protocol to your app. Please link your site through the Digital…
senaaltun
  • 309
  • 3
  • 11
18
votes
1 answer

PlayConsole error: You must provide a default URL for your instant app APKs

I need to prepare an Alpha testing for an Instant App and It run like a charm on Android Studio but It is failing when I try to roll-out it in the PlayStore, saying: You must provide a default URL for your instant app APKs The app structure is done…
16
votes
1 answer

Instant Apps with NFC

I'm trying to get an instant app to be opened via NFC. I have something like the below in my AndroidManifest.xml
Ryan C
  • 1,003
  • 1
  • 14
  • 26
16
votes
1 answer

How React native and Android Instant Apps will play along? Any thoughts?

Google recently announced android instant app. Which basically is code splitting. Will this work with React native apps, since react native build will generate main js bundle. Any thoughts how one can take best of both the technology, Especially…
15
votes
1 answer

is app indexing is necessary for instant app to show in google search

I have developed an instant app & published it into the play store, also has a website associated with the Instant App. tested the app link with the testing tool from here. The app is opened after clicking the link from other apps (gmail,…
15
votes
3 answers

shrinkResources true can't be used on Instant Apps Feature?

When I try to shrink my Feature APK size, I use shrinkResources true in my feature Build Gradle. However it complaints Error:Resource shrinker cannot be used for libraries. This article ask us to use…
Elye
  • 53,639
  • 54
  • 212
  • 474
1
2 3
35 36