question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Document -Adagger.android.experimentalUseStringKeys publicly

See original GitHub issue

The commit https://github.com/google/dagger/commit/3a089646fb70fb5a193a731c4909d6ccaeeaadd3 mentions:

I’ve decided to hold off on documenting this until we have a viable solution externally (when R8 is the standard, and it supports META-INF/proguard files).

The stable version on Android Studio 3.3 now supports proguard files under META-INF for both Proguard and R8. This should be publicly documented now.

Small addition: Maybe do not forget to also mention that enabling this will break Gradle incremental annotation processing support.

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
tasomaniaccommented, Apr 3, 2019

Looks like this is fixed in Android Gradle Plugin 3.5 Alpha 08

0reactions
tasomaniaccommented, Feb 27, 2019

It looks like Android tooling only reads from jar and aar dependencies. Not from generated code.

Here is an issue to follow regarding this: https://issuetracker.google.com/issues/124235144

Read more comments on GitHub >

github_iconTop Results From Across the Web

Using Android injector with SDK-level-dependent components.
I have a subclass of TileService (an android.app.Service that is only available on 24+). I want to use the Android injector and ...
Read more >
Manual dependency injection - Android Developers
All instances provided by this container can be public. In the example, because you only need an instance of UserRepository , you can...
Read more >
Dependency Injection with Dagger 2 - CodePath Cliffnotes
Many Android apps rely on instantiating objects that often require other ... be included as part of the dependency chain by creating a...
Read more >
Using Dagger 2 for dependency injection in Android - Tutorial
vogella.java.dagger2 top level package. 3.2. Define or adjust Maven build file. Adjust your pom.xml ...
Read more >
Dagger & Android
inject(this); super.onAttach(activity); // ... } } @Subcomponent(modules = ...) public interface YourFragmentSubcomponent extends AndroidInjector<YourFragment> ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found