A
A
all230819922015-06-21 12:00:39
Android
all23081992, 2015-06-21 12:00:39

How to explicitly specify where to get the resource from?

Hello. I write in android studio. There are 3 modules in the project, the main one (text) and 2 auxiliary ones (demo1, demo2). Faced a problem. You must use the demo1 resource in the manifest and the main module ( test ) markup file. How can I specify from which module to take a resource?
The same resource name is in demo2

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Max, 2015-06-21
@mbelskiy

You need to define a module that will keep resources/code publicly available to other modules and make it an android-library project .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question