Android Studio - Access resources from another package in manifest fileHow to send an object from one Android Activity to another using Intents?Download a file with Android, and showing the progress in a ProgressDialogIs there a way to get the source code from an APK file?Remove all unused resources from an android projectWhat is the use of the res/values/public.xml file on Android?What's “tools:context” in Android layout files?Android Studio: Add jar as library?How to manually include external aar package using new Gradle Android Build SystemAndroid XML : Could not resolve resourcesDefine a resource under another package (except the main package)
Is conquering your neighbors to fight a greater enemy a valid strategy?
What's the big deal about the Nazgûl losing their horses?
What is the maximum amount of diamond in one Minecraft game?
SQL Server - TRY/CATCH does not work in certain cases
How can I create a dashed line that slowly changes into a solid line in Illustrator?
What happens if the limit of 4 billion files was exceeded in an ext4 partition?
Taking my Ph.D. advisor out for dinner after graduation
Is it acceptable that I plot a time-series figure with years increasing from right to left?
Should I cheat if the majority does it?
What is it called when the tritone is added to a minor scale?
How did Einstein know the speed of light was constant?
What is the highest level of accuracy in motion control a Victorian society could achieve?
Why did moving the mouse cursor cause Windows 95 to run more quickly?
Do intermediate subdomains need to exist?
Is there a standard definition of the "stall" phenomena?
Will Jimmy fall off his platform?
Was the 45.9°C temperature in France in June 2019 the highest ever recorded in France?
Is there a way to change the aspect ratio of a DNG file?
How to supply water to a coastal desert town with no rain and no freshwater aquifers?
How to reclaim personal item I've lent to the office without burning bridges?
Why do most airliners have underwing engines, while business jets have rear-mounted engines?
Is it bad to suddenly introduce another element to your fantasy world a good ways into the story?
Find max number you can create from an array of numbers
Did William Shakespeare hide things in his writings?
Android Studio - Access resources from another package in manifest file
How to send an object from one Android Activity to another using Intents?Download a file with Android, and showing the progress in a ProgressDialogIs there a way to get the source code from an APK file?Remove all unused resources from an android projectWhat is the use of the res/values/public.xml file on Android?What's “tools:context” in Android layout files?Android Studio: Add jar as library?How to manually include external aar package using new Gradle Android Build SystemAndroid XML : Could not resolve resourcesDefine a resource under another package (except the main package)
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I am implementing an Android
application that has both live and office packages other then the main package. The manifest
file is included inside the main package. The ic_launcher
and app_name
resources are included in both live and office for production and development versions, respectively.
When I try to access ic_launcher
and app_name
from the manifest
file, it fails to read them - as show in this screen shot -.
This is the hierarchy of my app:
The resources I try to access are included under both live and office directories.
Is there anything I should add to be able to access them from manifest
file?
android android-manifest android-resources
add a comment |
I am implementing an Android
application that has both live and office packages other then the main package. The manifest
file is included inside the main package. The ic_launcher
and app_name
resources are included in both live and office for production and development versions, respectively.
When I try to access ic_launcher
and app_name
from the manifest
file, it fails to read them - as show in this screen shot -.
This is the hierarchy of my app:
The resources I try to access are included under both live and office directories.
Is there anything I should add to be able to access them from manifest
file?
android android-manifest android-resources
What are you trying to accomplish with live and office? You might be misusing flavors.
– TheKarlo95
Mar 25 at 21:03
add a comment |
I am implementing an Android
application that has both live and office packages other then the main package. The manifest
file is included inside the main package. The ic_launcher
and app_name
resources are included in both live and office for production and development versions, respectively.
When I try to access ic_launcher
and app_name
from the manifest
file, it fails to read them - as show in this screen shot -.
This is the hierarchy of my app:
The resources I try to access are included under both live and office directories.
Is there anything I should add to be able to access them from manifest
file?
android android-manifest android-resources
I am implementing an Android
application that has both live and office packages other then the main package. The manifest
file is included inside the main package. The ic_launcher
and app_name
resources are included in both live and office for production and development versions, respectively.
When I try to access ic_launcher
and app_name
from the manifest
file, it fails to read them - as show in this screen shot -.
This is the hierarchy of my app:
The resources I try to access are included under both live and office directories.
Is there anything I should add to be able to access them from manifest
file?
android android-manifest android-resources
android android-manifest android-resources
edited Mar 25 at 21:00
Zoe
16.2k9 gold badges63 silver badges95 bronze badges
16.2k9 gold badges63 silver badges95 bronze badges
asked Mar 25 at 19:52
Amani ElsaedAmani Elsaed
5956 silver badges22 bronze badges
5956 silver badges22 bronze badges
What are you trying to accomplish with live and office? You might be misusing flavors.
– TheKarlo95
Mar 25 at 21:03
add a comment |
What are you trying to accomplish with live and office? You might be misusing flavors.
– TheKarlo95
Mar 25 at 21:03
What are you trying to accomplish with live and office? You might be misusing flavors.
– TheKarlo95
Mar 25 at 21:03
What are you trying to accomplish with live and office? You might be misusing flavors.
– TheKarlo95
Mar 25 at 21:03
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55345427%2fandroid-studio-access-resources-from-another-package-in-manifest-file%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.
Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55345427%2fandroid-studio-access-resources-from-another-package-in-manifest-file%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
What are you trying to accomplish with live and office? You might be misusing flavors.
– TheKarlo95
Mar 25 at 21:03