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.

"Invalid resource directory name" Error

See original GitHub issue

Hello,

I was setting a project with multi modules to help solving https://github.com/usefulness/easylauncher-gradle-plugin/issues/77.

I just created a project with AS 4.1, added EasyLauncher and I get this error:

> Task :app:mergeDebugResources FAILED
AGPBI: {"kind":"error","text":"Invalid resource directory name","sources":[{"file":"/Users/afaucogney/AndroidStudioProjects/MyApplication/app/build/generated/easylauncher/res/debug/drawable-v24-ldpi"}],"tool":"Resource and asset merger"}

I tried with 3.3 and 3.5.

Here is the project https://github.com/afaucogney/multimodule-easylauncher

I will then update with multi module configuration

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:11 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
issue-label-bot[bot]commented, Sep 28, 2020

Issue-Label Bot is automatically applying the label bug to this issue, with a confidence of 0.65. Please mark this comment with 👍 or 👎 to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

0reactions
mateuszkwiecinskicommented, Nov 28, 2020

Hey @afaucogney 👋 Sorry for the long waiting. As per my understanding the plugin can’t support your case as it don’t have access to resources owned by a different module than the plugin was applied to. If you want you can create a sample repository that resembles your case and I’ll try to figure something out 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

java - How to solve "invalid resource directory name ...
First of all try to Clean your project. If it works then well and good otherwise move into the bin -> res ->...
Read more >
How can I fix the 'invalid resource directory name' error? - MSDN
I'm currrently working on a porject using Xamarin.Android. I created a 2 files for translate animations of a DialogFragment -> Resources\ ...
Read more >
[Solved]-Eclipse "invalid resource directory name"
FYI I 'm trying to store some audio files, created the folder audio under \res and got the same error. Then after some...
Read more >
r/AndroidQuestions - Reddit
Whad did you modify in this resource? This error means you changed something to an invalid value, Using spaces in file names will...
Read more >
Invalid resource directory name error?
Invalid resource directory name error? ... I searched everywhere but find no solution. Please help me to solve this problem. ... fonts are...
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