All Questions
Tagged with android-instant-apps android-gradle-plugin
31
questions
1
vote
1
answer
460
views
Android Studio 4.1.1 “Run” not compiling code
My problem is similar to below que
Android Studio 3.1 "Run" not compiling code
But I do not see any option to add Instant app provision as mentioned there.
Here is a screenshot of it. Can ...
6
votes
1
answer
381
views
unable to refer app module classes in dynamic feature module when running unit test cases
Our project has dynamic feature module with a dependency on the app module. The classes in the dynamic feature module have a dependency on app module.
We also have unit test cases in the dynamic ...
0
votes
1
answer
485
views
Disable Android 'Instant' app module for a flavor
I have an Android app with paid and free flavors, and have been working on including 'instant' capabilities. I don't want the 'Try now' button to appear for my paid version, so I'd like to disable the ...
2
votes
1
answer
462
views
How to create multiple instant apps in single project?
After reading documentation and watching official Google tutorials on instant apps I've found that it is required to have at least one feature module, "minimal module" (the module with shared code) ...
2
votes
2
answers
208
views
Why there is no such thing as instantAppVariants? How do I loop thr. variants in instant app gradle file?
In application module, we can use applicationVariants.
In feature module, we can use featureVariants.
In library module, we can use libraryVariatns.
Where is instantAppVariants???
UPDATE: Back ...
0
votes
0
answers
68
views
Why there is no task generateXXXSource in instant app module?
For a project include installable, instant, and other modules, I can see there are gradle tasks of :installable:generateGoogleReleaseSources, :<module_name>:generateReleaseSources but I only see ...
158
votes
10
answers
92k
views
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 ...
1
vote
0
answers
352
views
Crashlytics not working with Instant Apps
I am migrating my project to an instant apps structure and I have had to disable Crashlytics to continue my development.
I have setup Crashlytics in the base module and applied all suugestions in ...
1
vote
1
answer
831
views
Cannot choose between the following configurations of project :instant: - kapt - kaptDebug - kaptRelease
I have app with instant module, instant module has only 2 dependencies base module and one feature module. I trying to generate signed apk but i have one problem:
Cannot choose between the following ...
2
votes
1
answer
961
views
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-...
0
votes
0
answers
444
views
Instant App - Multi-Module Project - Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'
My project has multi-modules to support instant apps. After updating Android Studio and Gradle, started getting below warning.
Warning:Configuration 'compile' is obsolete and has been replaced with '...
1
vote
1
answer
170
views
Instant App modularization
I've been working on instant app for a few days. I didn't get it compiled yet.
The project is split into instant, installed, base, export, preview as features.
In export module relies on some ...
8
votes
3
answers
3k
views
Unable to build feature modules in a multi-flavor app
I am using Gradle 4.4 with Gradle-Android plugin 3.1.1 on Android Studio 3.1.1.
I have 2 flavors 'a' and 'b' and I am unable to build my project due to the following error:
Cannot choose between the ...
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-...
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 ...