Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

0 votes
1 answer
39 views

How to customise downloading UI for on demand instant modules in android

Currently when requesting another instant module using url deep linking, like so: val intent = Intent(Intent.ACTION_VIEW, uri) intent.setPackage(applicationContext.packageName) intent....
ajandroid's user avatar
0 votes
1 answer
868 views

Why can't I call the create method of FakeSplitInstallManagerFactory that only requires Context to be passed?

The new FakeSplitInstallManagerFactory has a create method that takes Context however when I try to use it from my code I only get the method that takes Context and a File which is a directory. If I ...
casolorz's user avatar
  • 9,344
1 vote
1 answer
417 views

Split fragments into separate modules

I have an activity with BottomNavigationView and 2 fragments that change based on that bottom buttons. (The same situation will be with the drawer setup or ViewPager or any other fragment-based ...
TpoM6oH's user avatar
  • 8,525
1 vote
0 answers
5k views

Could not get unknown property 'applicationVariants' for object of type com.android.build.gradle.FeatureExtension

I'm attempting to update my application's modules in order to add an instant app module to my current application. I've been following along with this tutorial: Codelabs sample android-instant-...
hermt2's user avatar
  • 874
2 votes
0 answers
172 views

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 ...
Sirelon's user avatar
  • 6,936
2 votes
1 answer
304 views

In which module should the theme for an instant app be defined?

After modularsing my app, the primary color changed from blue to orange. Hence, activity background, floating buttons, etc. changed. The app theme is defined in the app module and uses @color/...
friedger's user avatar
  • 645