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
4
votes
3 answers

"URL not defined in the manifest" when running Instant App that uses @string for host name

Seeing issue running Instant App in Android Studio when @string value is used for host name (getting "URL not defined in the manifest" error). For example: This is working fine…
John O'Reilly
  • 10,000
  • 4
  • 41
  • 63
4
votes
1 answer

Android Instant Apps and use of App LInks

It looks like right now that Android Instant Apps are supported in Android 5.0 or later. However, App Links (which I understood that Instant Apps depend on) are only supported in 6.0 or later. I've searched online but couldn't find clear answer on…
John O'Reilly
  • 10,000
  • 4
  • 41
  • 63
4
votes
3 answers

Why can't I access camera in Android Instant App?

I am trying to develop a camera instant app, but it always posts a crash when I open the camera by manager.openCamera(cameraId, mStateCallback, null);: 09-10 21:00:55.333 9472-9472/com.pixelslab.stickerpe I/CameraManager: Using legacy camera…
4
votes
3 answers

Is that possible to make in app billing in Android instant apps?

Here's my implementation: private IabHelper mIabHelper; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); mIabHelper = new IabHelper(this, GOOGLE_BASE64_KEY); …
Marcus
  • 6,701
  • 4
  • 19
  • 28
4
votes
3 answers

Fabric initialization could not calculate hash for app icon in case of Android Instant Apps

I am initializing Fabric in Application class as Fabric.with(context, crashlyticsKit); My project is divided into three modules - base feature module, apk-wrapper module and an instant-app module. App Icon is declared as application attribute in…
Sunil Kumar
  • 1,631
  • 2
  • 19
  • 33
4
votes
4 answers

Android Instant app not working in my Beta Pre Release testing through the app link

I have my Instant App on Beta pre release but I am not able launch the Instant App through the app link. Instead it is taking me to the web browser. Any help?
Delta Poc
  • 41
  • 1
4
votes
4 answers

How to store data in android instant app and restore it in installed app

According to Google druging developing instant apps "Best practices" is "Keeping user state after app installation" https://developer.android.com/topic/instant-apps/ux-best-practices.html#keep_user_state_after_app_installation I tried to use…
Stonek
  • 643
  • 9
  • 14
4
votes
3 answers

Sample instant app requires newer SDK

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…
Martynas Jurkus
  • 9,231
  • 13
  • 59
  • 101
4
votes
0 answers

Trouble adding Android Instant App capabilities: Failed to to resolve base-feature project module

I'm trying to convert an existing app into an instant app and have been following the tutorials at: Google codelabs and Building Android Instant App Tutorial - 1 I am getting stuck at step 5 of the codelabs tutorial/ 10 minute mark in the youtube…
4
votes
6 answers

Build error with Android Studio 3.0 Canary 4

I am currently in the process of developing an Instant app, for which I have restructured my monolithic app into feature modules. Everything was up and running till Android Studio canary 3, but after an update to Android Studio Canary 4 my project…
Vishy
  • 548
  • 7
  • 17
4
votes
2 answers

Upload failed: Your Instant App APKs should contain at least one base APK

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 upload it to the PlayStore, saying: Upload failed Your Instant App APKs should contain at least one base APK. The app…
3
votes
0 answers

Run Instant App with mac mini m1 2020 and (Android studio Flamingo 2022.2.1 patch 2) now whit Giraffe 2022.3.1

I'm trying to run an instant app from mac mini m1 2020 and Android studio Flamingo 2022.2.1 patch 2 and Giraffe 2022.3.1, but nothing works. I have a configuration with module of instant.main and checked Deploy as instant app. But on my pc with…
pd200
  • 31
  • 4
3
votes
1 answer

How to make Android Instant App without "try now" button on google play?

I have to add instant app functionality for specific actions, but we have no need for a trial version. Is it possible to remove the "try now" button from Google play? If not, any recommendation for a workaround?
Bob Steve
  • 111
  • 1
  • 5
3
votes
0 answers

Android InstantApp and sharedUserId

I would like to create an instant app for one application currently on the play store. For that, I made dynamic feature modules with all necessary things for instant experience. The major problem is that the field android:sharedUserId is defined on…
Crisic
  • 1,181
  • 1
  • 9
  • 27
3
votes
1 answer

Plugin with id 'com.android.feature' not found. Android

this might be a duplicate question but I'm seriously stuck trying to create an instant app using a new project. Requirements for instant app in build.gradle file: apply plugin: 'com.android.feature' baseFeature = true remove = applicationId…
Arduino
  • 285
  • 1
  • 3
  • 17