Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x/mobile: Is it support the "res" subdirectory copied into the output? #12430

DoraemonYu opened this issue Sep 1, 2015 · 3 comments

x/mobile: Is it support the "res" subdirectory copied into the output? #12430

DoraemonYu opened this issue Sep 1, 2015 · 3 comments


Copy link

@DoraemonYu DoraemonYu commented Sep 1, 2015

o(∩_∩)o Hello,everyone.
I am a new developer to use gomobile. I hope that I could get the answer here.

I build the example successfully and these can run okay.
However,when I try to change the default application icon,I get the problem.
I create the subdirectory named "res/drawable" ,put the ic_launcher.png into it.Then, modify AndroidManifest.xml :

<application android:label="DebugApp"  
             android:icon="@drawable/ic_launcher" >

After build, I use 7z to unzip the apk file , then found that the "res" is not copied to output.
YES,the problem is Here.

When I get help from "gomobile build -help",I can saw these:
"If the package directory contains an assets subdirectory, its contents are copied into the output."
But,the document above is not mention the "RES" subdirectory.

After look up googing and GoDoc, I really have no idea how to include the "res" subdirectory and generate resources.arsc.
So,is anyone get the answer? Or, will the gomobile project support this in the future ?

Thank you.
Waiting for your reply.

Copy link

@ianlancetaylor ianlancetaylor commented Sep 1, 2015

We use the issue tracker for bug reports and TODO items. Please ask questions on the golang-nuts mailing list. Thanks.

I don't know the answer to your question.

Copy link

@DoraemonYu DoraemonYu commented Sep 2, 2015

o(∩_∩)o Okay. Thank you as well.

Copy link

@DoraemonYu DoraemonYu commented Sep 4, 2015

Hello everyone :)
The topic is move to the golang-nuts,the link is follow :!topic/golang-nuts/gLjPkZm-e5Q
If you are interest in this problem, join in our discussion please.

@golang golang locked and limited conversation to collaborators Sep 4, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.