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.

WARNING: API 'variant.getMergeAssets()' is obsolete and has been replaced with 'variant.getMergeAssetsProvider()'.

See original GitHub issue

Hi there,

As soon as I add the apply plugin: 'com.chaquo.python' line, I get this error on gradle built:

WARNING: API 'variant.getMergeAssets()' is obsolete and has been replaced with 'variant.getMergeAssetsProvider()'.
It will be removed at the end of 2019.
For more information, see https://d.android.com/r/tools/task-configuration-avoidance.
To determine what is calling variant.getMergeAssets(), use -Pandroid.debug.obsoleteApi=true on the command line to display a stack trace.
Affected Modules: app

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
mhsmithcommented, Feb 14, 2019

Hopefully. If you find any other problems related to Android Studio 3.3, please add them to this issue.

0reactions
mhsmithcommented, Mar 8, 2019

Warning fixed in Chaquopy 6.0.0.

Read more comments on GitHub >

github_iconTop Results From Across the Web

WARNING: API 'variant.getMergeAssets()' is obsolete and has ...
Just change: string variant.mergeAssets.doLast {. to: variant.mergeAssetsProvider.get().doLast {. It will work.
Read more >
Android studio error : API 'variant.getMergeAssets()' is obsolete
getMergeAssets ()' is obsolete and has been replaced with 'variant.getMergeAssetsProvider()'. i try use cocos2dx 3.17.1 also 3.17.2 the warnings ...
Read more >
cocos2d-build.gradle: API 'variant.getMergeAssets ... - 博客园
Sync时警告:build.gradle: API 'variant.getMergeAssets()' is obsolete and has been replaced with 'variant.getMergeAssetsProvider()'. 解决:. 改变
Read more >
'variant.getMergeAssets()' is obsolete and has been replaced ...
API 'variant.getMergeAssets()' is obsolete and has been replaced with 'variant.getMergeAssetsProvider()'. 网上搜了一下:. Just change:
Read more >
AAB fails to build: android/support/customtabs ... - Issue Tracker
debug.obsoleteApi=true on the command line to display a stack trace. WARNING: API 'variant.getMergeAssets()' is obsolete and has been replaced with ...
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