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
2
votes
1 answer

resource android:attr/fontVariationSettings and error: resource android:attr/ttcIndex not found

I got an error as below recently on the Instant App compilation [2018-09-24T04:42:32Z] FAILURE: Build failed with an exception. [2018-09-24T04:42:32Z] [2018-09-24T04:42:32Z] * What went wrong: [2018-09-24T04:42:32Z] Execution failed for task…
Elye
  • 53,639
  • 54
  • 212
  • 474
2
votes
2 answers

How can i delete instant app support on my project in Android Studio

I'm new at Android Development. I see a new feature on Android Studio after update. There was a Instant App Support on there. I thought It is a instant view and i clicked it and now i know what it is. How can i remove that support on my…
Fatih Gul
  • 25
  • 1
  • 1
  • 8
2
votes
0 answers

Android Instant App: Is "Text-To-Speech" not allowed in instant apps?

Instant app is crashing when I try to initialize tts so is it not allowd to use TextToSpeech in instant apps? java.lang.SecurityException: Setting tts_default_synth is not accessible from ephemeral package
Praveena
  • 6,340
  • 2
  • 40
  • 53
2
votes
0 answers

Try now option on playstore is not available and opening the link shows not found

thanks in advance Just trying to make an dummy app with instant app functionality. Installable part just works fine and the instant app module is also getting launched from android studio, but when uploaded to play store try now option is not…
anil
  • 21
  • 2
2
votes
3 answers

Android Instant App not being installed correctly(Behaves like a normal app)

I am trying to launch an instant app to the mobile using the following steps: Generate signed apk of Instant App in Android Studio, which would produce a zip file containing Base apk file and feature apk files. Unzip the generated file. Use command…
NoobAndroidQE
  • 23
  • 1
  • 3
2
votes
0 answers

Android Instant Apps: When clicking on a url link I see instant apps loading screen, but then just opens it in browser?

I have an instant app that was working when instant apps was first released. I dunno what happened along the way, but when I click on a url link it opens up the instant apps loading screen, then just quits and opens the link in the browser instead.…
mco
  • 1,809
  • 15
  • 31
2
votes
0 answers

InstantApps.showInstallPrompt - Item not found (with Retry option)

I've been working on an instant app to go along with my existing application. When I reach a certain point in the instant app, I try and prompt the user to download the full application from the playstore, however, I instead receive a dialog saying…
2
votes
0 answers

instantapp:checkReleaseLibraries Error

Got gradle error when build my instant app project. Features [:feature1, :feature1] all package the same library [com.squareup.retrofit2:adapter-rxjava]. Features [:feature1, :feature1] all package the same library [reviews_lib::release]. and so…
2
votes
3 answers

Instant App Installable App with Different Min Sdk Levels

my android project min sdk level is 16. I want to turn it into instant app but I need to maintain min sdk level but instant app supports min 23. I tried to set different api levels for the installable and instant app in the same project and tried to…
DiRiNoiD
  • 1,281
  • 2
  • 18
  • 24
2
votes
1 answer

Crashlytics Manifest Merge issue with Instant App Architecture

I have a multi-feature instant app setup and when I try to view the merged manifest of the application I see the following: Error: Attribute…
dazza5000
  • 7,075
  • 9
  • 44
  • 89
2
votes
2 answers

Failed to submit instant app on play store - Base APK error

I was trying to submit an apk of mine to the play store instant app section when i get the error - Your Instant App APKs should contain at least one base APK. Now, the app was compiled using phonegap and phonegap provides only one APK which I have…
user4066489
2
votes
2 answers

Instant App crash using WiFi

My instant app crash when i run script “WifiManager.isWifiEnable” Caused by: java.lang.SecurityException: Method class android.net.wifi.IWifiManager$Stub$Proxy.getWifiEnabledState[] not available to instant apps …
2
votes
1 answer

Camera Permission always denied without dialog shown on Google Pixel when running instant app

I am porting an existing application to an instant app that requires a camera permission to run. On Pixel 2 device and Samsung S8 the permission dialogue gets shown and I can request the permission. On the Pixel 1 Device the dialogue does not get…
2
votes
2 answers

Google Play Console: Package name of your Instant App APKs should be the same as your app's package name

I'm trying to upload into develop my Instant App with Google Play Console, but it returns an error: Package name of your Instant App APKs should be the same as your app's package name. I have a feature call base, the apk and the instantApp feature…
2
votes
2 answers

Your Instant App APKs contains an APK that is greater than the maximum size of 4364793 bytes

I am trying to deploy my first instant app, but keep getting this error on the google play console that keeps the 'Deploy' button disabled: Your Instant App APKs contains an APK that is greater than the maximum size of 4364793 bytes while the…
al kaj
  • 119
  • 1
  • 9